src/ldDocument.h

changeset 984
a7b6f987d269
parent 983
05ba93066194
child 997
1b49f34e533d
--- a/src/ldDocument.h	Sun Sep 06 03:00:28 2015 +0300
+++ b/src/ldDocument.h	Sun Sep 06 03:10:03 2015 +0300
@@ -83,7 +83,7 @@
 	void redoVertices();
 	void reloadAllSubfiles();
 	void removeFromSelection (LDObject* obj);
-	bool save (QString path = "", int64* sizeptr = null);
+	bool save (QString path = "", int64* sizeptr = nullptr);
 	long savePosition() const;
 	void setDefaultName (QString value);
 	void setFullPath (QString value);
@@ -130,7 +130,7 @@
 LDDocument* OpenDocument (QString path, bool search, bool implicit, LDDocument* fileToOverride = nullptr, bool* aborted = nullptr);
 
 // Opens the given file and returns a pointer to it, potentially looking in /parts and /p
-QFile* OpenLDrawFile (QString relpath, bool subdirs, QString* pathpointer = null);
+QFile* OpenLDrawFile (QString relpath, bool subdirs, QString* pathpointer = nullptr);
 
 // Close all open files, whether user-opened or subfile caches.
 void CloseAllDocuments();
@@ -145,7 +145,7 @@
 // Is it safe to close all files?
 bool IsSafeToCloseAll();
 
-LDObjectList LoadFileContents (QFile* f, int* numWarnings, bool* ok = null);
+LDObjectList LoadFileContents (QFile* f, int* numWarnings, bool* ok = nullptr);
 
 const LDObjectList& selectedObjects();
 void AddRecentFile (QString path);

mercurial