[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Tue Feb 26 06:00:32 PST 2013


 sd/source/ui/unoidl/UnoDocumentSettings.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9fb829abd39cfe789e80dc6fec53292396d07d30
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 26 15:00:05 2013 +0100

    warning C4805: != : unsafe mix of bool and sal_Bool
    
    Change-Id: Ic1b8c2c179f80217fd7096203f2784d5873b6dc2

diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index 7c3ba84..e9d6f65 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -905,7 +905,7 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
 
             case HANDLE_EMBED_FONTS:
             {
-                sal_Bool bNewValue = sal_False;
+                bool bNewValue = false;
                 if ( *pValues >>= bNewValue )
                 {
                     bChanged = ( pDoc->IsUsingEmbededFonts() != bNewValue );


More information about the Libreoffice-commits mailing list