summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-23 20:23:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-23 20:29:44 +0100
commit085453d0990c1f88e847ce714bf3c02f167de43a (patch)
tree0d405d9aeebe6d443aad01b735db20dfbe74cc1c /sw
parent16b20502b2fdc0df576c21920529430d170268a8 (diff)
can't use 'this' in a static method
Change-Id: Id7366e5aa96fd1df08a0a88c11bd22b69e99b232
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/paintfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 77a29f0eac16..b86ca4cfd155 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;
}