[Libreoffice-commits] core.git: basic/source
Lionel Elie Mamane
lionel at mamane.lu
Tue Sep 10 06:08:53 PDT 2013
basic/source/sbx/sbxvalue.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9b60eeac516db4be2f3ab70526f2de84e1c9b9d4
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Mon Sep 9 19:35:42 2013 +0200
janitorial: c++-style cast
Change-Id: I746eff36778e30e36b975e24c70712301c3c71cb
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 5978020..1921c51 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 )
More information about the Libreoffice-commits
mailing list