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

David Tardon dtardon at redhat.com
Wed Apr 29 03:35:33 PDT 2015


 sw/source/core/doc/DocumentDeviceManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f5ec1f2e457616c0d5207874a0270523ec62e178
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Apr 29 12:34:50 2015 +0200

    error C2666: 'operator ==' : 2 overloads have similar conversions
    
    Change-Id: I747f44caba86bbe7cfea24ed54379083196e6877

diff --git a/sw/source/core/doc/DocumentDeviceManager.cxx b/sw/source/core/doc/DocumentDeviceManager.cxx
index 6da2747..6dd362a 100644
--- a/sw/source/core/doc/DocumentDeviceManager.cxx
+++ b/sw/source/core/doc/DocumentDeviceManager.cxx
@@ -186,7 +186,7 @@ const JobSetup* DocumentDeviceManager::getJobsetup() const
 
 void DocumentDeviceManager::setJobsetup(/*[in]*/ const JobSetup &rJobSetup )
 {
-    bool bCheckPageDescs = 0 == mpPrt;
+    bool bCheckPageDescs = !mpPrt;
     bool bDataChanged = false;
 
     if ( mpPrt )


More information about the Libreoffice-commits mailing list