summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-27 10:09:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-27 10:09:45 +0100
commitf1c2c09439aed30dec6c1b4f26dc9f70ce4985f8 (patch)
treeaeff642af31a5de3800fcb81753fc644eb6c8f5b
parentd6279f57e0a61aa5ab9b15a631cb3f76bc072245 (diff)
WaE: uninit variable
Change-Id: I39d63b53fa400235d772cd2525695970081db91b
-rw-r--r--sw/source/core/unocore/unodraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 8b141e438b58..8605b97bdf11 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -1273,7 +1273,7 @@ void SwXShape::setPropertyValue(const rtl::OUString& rPropertyName, const uno::A
if(pSvxShape)
{
SdrObject* pObj = pSvxShape->GetSdrObject();
- sal_Int16 nPercent;
+ sal_Int16 nPercent(100);
aValue >>= nPercent;
if ( pEntry->nMemberId == MID_FRMSIZE_REL_WIDTH )
pObj->SetRelativeWidth( nPercent / 100.0 );