summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-05 12:11:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 12:11:54 +0000
commit99b6172fb2ac2f2a3ea8df11ecbf63b5406b5705 (patch)
treeb308836f4053b197a96dea47787e2cd995f0d3a3 /cui/source/tabpages
parent39fc2df3c1d8e8bc8b689e2d21c193bc4886bf8c (diff)
cppcheck: the scope of this variable can be reduced
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/tparea.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 5ba3c1b9511e..c101406b643c 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -779,7 +779,6 @@ void SvxAreaTabPage::Construct()
void SvxAreaTabPage::ActivatePage( const SfxItemSet& rSet )
{
- USHORT _nPos = 0;
USHORT nCount;
SFX_ITEMSET_ARG (&rSet,pPageTypeItem,SfxUInt16Item,SID_PAGE_TYPE,sal_False);
SFX_ITEMSET_ARG (&rSet,pPosItem,SfxUInt16Item,SID_TABPAGE_POS,sal_False);
@@ -793,6 +792,7 @@ void SvxAreaTabPage::ActivatePage( const SfxItemSet& rSet )
if( pColorTab )
{
+ USHORT _nPos = 0;
// Bitmapliste
if( *pnBitmapListState )
{