summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-09-09 19:35:42 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-09-10 15:05:07 +0200
commit9b60eeac516db4be2f3ab70526f2de84e1c9b9d4 (patch)
tree142e9569dff95a064d78c63826a587d79d148482 /basic
parentd50bd55c5d78dc10d40be502f8d6638bcc0ce890 (diff)
janitorial: c++-style cast
Change-Id: I746eff36778e30e36b975e24c70712301c3c71cb
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 5978020c6fde..1921c51c893d 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -322,7 +322,7 @@ sal_Bool SbxValue::Get( SbxValues& rRes ) const
else
{
// If an object or a VARIANT is requested, don't search the real values
- SbxValue* p = (SbxValue*) this;
+ SbxValue* p = const_cast<SbxValue*>(this);
if( rRes.eType != SbxOBJECT && rRes.eType != SbxVARIANT )
p = TheRealValue();
if( p )