summaryrefslogtreecommitdiff
path: root/framework/source/helper/oframes.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:25 +0200
commita1a5588b1b440836a6655ab0af5f854f3f5eb5ed (patch)
treebf96e680ee4b939a0a584d96140b2bf50e1776b6 /framework/source/helper/oframes.cxx
parent648cf9a56dcb11d2674c48e77672cc124aad1bce (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I4a72a60d621c65e63310ef70b991f9c86f00494d
Diffstat (limited to 'framework/source/helper/oframes.cxx')
-rw-r--r--framework/source/helper/oframes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/helper/oframes.cxx b/framework/source/helper/oframes.cxx
index e39ce2a322bf..18f92f83a3e5 100644
--- a/framework/source/helper/oframes.cxx
+++ b/framework/source/helper/oframes.cxx
@@ -232,7 +232,7 @@ Any SAL_CALL OFrames::getByIndex( sal_Int32 nIndex ) throw( IndexOutOfBoundsExce
sal_uInt32 nCount = m_pFrameContainer->getCount();
if ( nIndex < 0 || ( sal::static_int_cast< sal_uInt32 >( nIndex ) >= nCount ))
throw IndexOutOfBoundsException("OFrames::getByIndex - Index out of bounds",
- (OWeakObject *)this );
+ static_cast<OWeakObject *>(this) );
// Set default return value.
Any aReturnValue;