svx/source/dialog/ctredlin.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 7c19dd02d9241e06ecfeeb9ba4ab2971cba7ef43 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Nov 3 22:59:37 2013 +0100 cppcheck: reduce scope in ctredlin.cxx Change-Id: I7bdbea6bfadf0f2ce5e3ecb4803929797ebf7af2 diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 254dad6..fe3bd4d 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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits