[Libreoffice-commits] core.git: svx/source

Tor Lillqvist tlillqvist at suse.com
Fri May 24 10:15:43 PDT 2013


 svx/source/svdraw/svdobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f55c6464fb9ee3ff8c011e815e0b75162ebea3fd
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Fri May 24 20:10:58 2013 +0300

    WaE: 'static_cast' : truncation of constant value
    
    Change-Id: Icbb624b1441330406c0930aa6f1f15ffc9b138b8

diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 0577860..11032ad 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -499,7 +499,7 @@ SdrObject::~SdrObject()
         mpViewContact = 0L;
     }
 
-    mnLayerID = static_cast<SdrLayerID>(0xdead);
+    mnLayerID = 59; // random value
 }
 
 void SdrObject::Free( SdrObject*& _rpObject )


More information about the Libreoffice-commits mailing list