basic/source/sbx/sbxvalue.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9b60eeac516db4be2f3ab70526f2de84e1c9b9d4
Author: Lionel Elie Mamane <lio...@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 )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to