diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-02-06 23:16:23 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-02-06 23:16:23 +0100 |
commit | ba11d549dca2a04a220b59aaf9223ee8f7043da0 (patch) | |
tree | a9f53b990de42784a72798c7e479b603a0880b04 /cui/source/tabpages/transfrm.cxx | |
parent | f6ae27e3f17a1cce5040d8e1a93992879a421fcf (diff) |
Some cppcheck cleaning
Diffstat (limited to 'cui/source/tabpages/transfrm.cxx')
-rw-r--r-- | cui/source/tabpages/transfrm.cxx | 3 |
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; } |