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

Caolán McNamara caolanm at redhat.com
Fri Aug 23 12:30:21 PDT 2013


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

New commits:
commit 085453d0990c1f88e847ce714bf3c02f167de43a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Aug 23 20:23:57 2013 +0100

    can't use 'this' in a static method
    
    Change-Id: Id7366e5aa96fd1df08a0a88c11bd22b69e99b232

diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 77a29f0..b86ca4c 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -4354,7 +4354,7 @@ static void lcl_PaintShadow( const SwRect& rRect, SwRect& rOutRect,
             }
             break;
         default:
-            OSL_ENSURE( !this, "new ShadowLocation() ?" );
+            OSL_ENSURE( false, "new ShadowLocation() ?" );
             break;
     }
 


More information about the Libreoffice-commits mailing list