Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Kayo Hamid wrote:
Hello, I asked at #libreoffice-dev if we have to see some special
condition to change sal_Bool to bool and so on, unanswered.

@@ -69,10 +69,10 @@ using namespace ::com::sun::star;
 struct ImplColorListData
 {
     Color       aColor;
-    sal_Bool        bColor;
+    bool        bColor;
 
-                ImplColorListData() : aColor( COL_BLACK ) { bColor = sal_False; }
-                ImplColorListData( const Color& rColor ) : aColor( rColor ) { bColor = sal_True; 
}
+                ImplColorListData() : aColor( COL_BLACK ) { bColor = false; }
+                ImplColorListData( const Color& rColor ) : aColor( rColor ) { bColor = true; }
 };
 
Hi Kayo,

the above change is clearly useful - an internal bool, not
used/exposed elsewhere.

-    EnableUserDraw( sal_True );
+    EnableUserDraw( true );

etc. - not sure if we really want to manually hunt all those down -
I suggest to go for one of the other easy hacks (this one is not
listed there FWICT), until we have a clear plan here.

Cheers,

-- Thorsten

Attachment: pgpwWkA5U0eJI.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.