summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2010-12-26 05:41:56 -0800
committerJoseph Powers <jpowers27@cox.net>2010-12-26 05:41:56 -0800
commit50f7251569ada82a5ba5cebccc0bbac9d46725ad (patch)
tree73637bc625318d1c405bbf8874aeddea299ec360 /svx
parent8c3bb4bc63edc9b434294e55cb1089f7bbafb6b1 (diff)
Fix a compile time warning: un-initialized variable.
Diffstat (limited to 'svx')
-rw-r--r--svx/source/items/rotmodit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/items/rotmodit.cxx b/svx/source/items/rotmodit.cxx
index 17bfc8b976..4e54a19d57 100644
--- a/svx/source/items/rotmodit.cxx
+++ b/svx/source/items/rotmodit.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -150,7 +150,7 @@ bool SvxRotateModeItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
bool SvxRotateModeItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/ )
{
- sal_Int32 nUno;
+ sal_Int32 nUno(0);
if(!(rVal >>= nUno))
{
nUno = table::CellVertJustify2::STANDARD;