[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Dec 17 13:34:28 PST 2010


 sw/source/filter/xml/xmlimp.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0e7b22a4218a579da85d6036c73a4b680531f10d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 17 20:42:51 2010 +0000

    WaE: C4805: Unsafe mix of bool and BOOL

diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index bf62950..c7757c9 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -760,7 +760,7 @@ void SwXMLImport::startDocument( void )
     // SJ: #i49801# locking the modell to disable repaints
     SdrModel* pDrawModel = pDoc->GetDrawModel();
     if ( pDrawModel )
-        pDrawModel->setLock( sal_True );
+        pDrawModel->setLock(true);
 
     if( !GetGraphicResolver().is() )
     {
@@ -962,7 +962,7 @@ void SwXMLImport::endDocument( void )
     {
         SdrModel* pDrawModel = pDoc->GetDrawModel();
         if ( pDrawModel )
-            pDrawModel->setLock( sal_False );
+            pDrawModel->setLock(false);
     }
 
     // #i90243#


More information about the Libreoffice-commits mailing list