summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-05 13:47:32 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-05 13:47:32 +0000
commit5c2ffa702a0e5aedccfd99dff1cf0fe813a8c2a8 (patch)
tree450ad860e725ca8359b417b94de41d16fd255731 /sc/source
parent61cd8e3df4314b450fe6915d598daff17209cac5 (diff)
INTEGRATION: CWS pj75 (1.17.2); FILE MERGED
2007/03/04 16:16:44 pjanik 1.17.2.1: #i75099#: Prevent warnings on Mac OS X/gcc-4.0.1.
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index 701cf5e3cd6f..a082b9b9a9a5 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: shapeuno.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: vg $ $Date: 2007-02-27 13:47:02 $
+ * last change: $Author: obo $ $Date: 2007-03-05 14:47:32 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -483,7 +483,7 @@ void SAL_CALL ScShapeObj::setPropertyValue(
}
else if ( aNameString.EqualsAscii( SC_UNONAME_HORIPOS ) )
{
- sal_Int32 nPos;
+ sal_Int32 nPos = 0;
if (aValue >>= nPos)
{
SdrObject *pObj = GetSdrObject();
@@ -579,7 +579,7 @@ void SAL_CALL ScShapeObj::setPropertyValue(
}
else if ( aNameString.EqualsAscii( SC_UNONAME_VERTPOS ) )
{
- sal_Int32 nPos;
+ sal_Int32 nPos = 0;
if (aValue >>= nPos)
{
SdrObject *pObj = GetSdrObject();