summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-03 22:59:37 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-11-03 22:59:37 +0100
commit7c19dd02d9241e06ecfeeb9ba4ab2971cba7ef43 (patch)
treef9c9ec8beae00705f09443903c79e061a0f73b72 /svx
parentc7349a21fff996ddee5977941a5e73669dc77bb2 (diff)
cppcheck: reduce scope in ctredlin.cxx
Change-Id: I7bdbea6bfadf0f2ce5e3ecb4803929797ebf7af2
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/ctredlin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index 254dad624d08..fe3bd4d9892a 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -358,13 +358,12 @@ SvTreeListEntry* SvxRedlinTable::CreateEntry() const
void SvxRedlinTable::InitEntry(SvTreeListEntry* pEntry, const OUString& rStr,
const Image& rColl, const Image& rExp, SvLBoxButtonKind eButtonKind)
{
- SvLBoxButton* pButton;
SvLBoxString* pString;
SvLBoxContextBmp* pContextBmp;
if( nTreeFlags & TREEFLAG_CHKBTN )
{
- pButton= new SvLBoxButton( pEntry,eButtonKind,0,pCheckButtonData );
+ SvLBoxButton* pButton= new SvLBoxButton( pEntry,eButtonKind,0,pCheckButtonData );
pEntry->AddItem( pButton );
}