summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-05-24 20:10:58 +0300
committerMichael Stahl <mstahl@redhat.com>2013-05-30 22:51:24 +0200
commit74c64de09c6fd2d476e8601b646e69f502834083 (patch)
tree134bfad0c7a6d4b7055ea1825889e8387071858d /svx/source/svdraw
parent7c44e3469ebac56fdab379df26b1ceaf29a9d959 (diff)
WaE: 'static_cast' : truncation of constant value
Change-Id: Icbb624b1441330406c0930aa6f1f15ffc9b138b8 (cherry picked from commit f55c6464fb9ee3ff8c011e815e0b75162ebea3fd) Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index e0efb3c4a6ce..c151f9f802fa 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -498,7 +498,7 @@ SdrObject::~SdrObject()
mpViewContact = 0L;
}
- mnLayerID = static_cast<SdrLayerID>(0xdead);
+ mnLayerID = 59; // random value
}
void SdrObject::Free( SdrObject*& _rpObject )