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

David Tardon dtardon at redhat.com
Wed Apr 29 04:10:27 PDT 2015


 sw/source/core/layout/virtoutp.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b6928120bfb32eb3a04529c23e0704d15f76e9cb
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Apr 29 13:09:37 2015 +0200

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

diff --git a/sw/source/core/layout/virtoutp.hxx b/sw/source/core/layout/virtoutp.hxx
index ea44b5b..f855b4e 100644
--- a/sw/source/core/layout/virtoutp.hxx
+++ b/sw/source/core/layout/virtoutp.hxx
@@ -52,7 +52,7 @@ public:
     void SetOrgRect( SwRect &rRect ) { aOrgRect = rRect; }
     const SwRect& GetOrgRect() const { return aOrgRect; }
 
-    bool IsFlushable() const { return 0 != pOut; }
+    bool IsFlushable() const { return bool(pOut); }
     void _Flush();
     void Flush() { if( pOut ) _Flush(); }
 };


More information about the Libreoffice-commits mailing list