summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/transfrm.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-06 23:16:23 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-06 23:16:23 +0100
commitba11d549dca2a04a220b59aaf9223ee8f7043da0 (patch)
treea9f53b990de42784a72798c7e479b603a0880b04 /cui/source/tabpages/transfrm.cxx
parentf6ae27e3f17a1cce5040d8e1a93992879a421fcf (diff)
Some cppcheck cleaning
Diffstat (limited to 'cui/source/tabpages/transfrm.cxx')
-rw-r--r--cui/source/tabpages/transfrm.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 2c6b73bc2985..a929df3e2cfc 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -558,7 +558,6 @@ void SvxSlantTabPage::Construct()
BOOL SvxSlantTabPage::FillItemSet(SfxItemSet& rAttrs)
{
BOOL bModified = FALSE;
- INT32 nValue = 0L;
String aStr = aMtrRadius.GetText();
if( aStr != aMtrRadius.GetSavedValue() )
@@ -575,7 +574,7 @@ BOOL SvxSlantTabPage::FillItemSet(SfxItemSet& rAttrs)
if( aStr != aMtrAngle.GetSavedValue() )
{
- nValue = static_cast<INT32>(aMtrAngle.GetValue());
+ INT32 nValue = static_cast<INT32>(aMtrAngle.GetValue());
rAttrs.Put( SfxInt32Item( SID_ATTR_TRANSFORM_SHEAR, nValue ) );
bModified = TRUE;
}