r18152 by craig - Change capitalisation of some bool assignments to work with qt5

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 20 21:58:38 UTC 2013


Author: craig
Date: Wed Feb 20 21:58:37 2013
New Revision: 18152

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18152
Log:
Change capitalisation of some bool assignments to work with qt5

Modified:
    trunk/Scribus/scribus/sccolor.h
    trunk/Scribus/scribus/scstreamfilter_flate.cpp

Modified: trunk/Scribus/scribus/sccolor.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18152&path=/trunk/Scribus/scribus/sccolor.h
==============================================================================
--- trunk/Scribus/scribus/sccolor.h (original)
+++ trunk/Scribus/scribus/sccolor.h Wed Feb 20 21:58:37 2013
@@ -162,10 +162,10 @@
 	void setDocument(ScribusDoc* doc);
 
 	/** \brief Add colors from the specified list. Colors are added using shadow copy.*/
-	void addColors(const ColorList& colorList, bool overwrite = TRUE);
+	void addColors(const ColorList& colorList, bool overwrite = true);
 
 	/** \brief Copy colors from the specified list.*/
-	void copyColors(const ColorList& colorList, bool overwrite = TRUE);
+	void copyColors(const ColorList& colorList, bool overwrite = true);
 
 	/** \brief Ensure availability of black and white colors. */
 	void ensureDefaultColors(void);

Modified: trunk/Scribus/scribus/scstreamfilter_flate.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18152&path=/trunk/Scribus/scribus/scstreamfilter_flate.cpp
==============================================================================
--- trunk/Scribus/scribus/scstreamfilter_flate.cpp (original)
+++ trunk/Scribus/scribus/scstreamfilter_flate.cpp Wed Feb 20 21:58:37 2013
@@ -125,11 +125,11 @@
             m_filterData->zlib_stream.avail_out = BUFFER_SIZE;
         }
 
-        finished = TRUE;
+        finished = true;
         if (m_filterData->zlib_stream.avail_in != 0)
-            finished = FALSE;
+            finished = false;
         if (flush && ret != Z_STREAM_END)
-            finished = FALSE;
+            finished = false;
 
     } while (!finished);
 




More information about the scribus-commit mailing list