summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews6.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-24 16:40:38 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-24 16:40:58 +0100
commit4df49447134a08b58a579f5bb65c6e1055b855bd (patch)
treeb66d2c6fa14d8123fffd892f7cb7a93b8a88ce64 /sd/source/ui/view/drviews6.cxx
parentd605a49f84e0b8ae25ff7dd42399d3a31747b057 (diff)
Some cppcheck cleaning in sd
Change-Id: I48b86bf206808e1d19343622b640c80b61b40a48
Diffstat (limited to 'sd/source/ui/view/drviews6.cxx')
-rw-r--r--sd/source/ui/view/drviews6.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx
index 9871c3d5d537..001d5d674a53 100644
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -400,12 +400,11 @@ void DrawViewShell::GetBmpMaskState( SfxItemSet& rSet )
const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
const SdrObject* pObj = NULL;
sal_uInt16 nId = SvxBmpMaskChildWindow::GetChildWindowId();
- SvxBmpMask* pDlg = NULL;
sal_Bool bEnable = sal_False;
if ( GetViewFrame()->HasChildWindow( nId ) )
{
- pDlg = (SvxBmpMask*) ( GetViewFrame()->GetChildWindow( nId )->GetWindow() );
+ SvxBmpMask* pDlg = (SvxBmpMask*) ( GetViewFrame()->GetChildWindow( nId )->GetWindow() );
if ( pDlg->NeedsColorList() )
pDlg->SetColorList( GetDoc()->GetColorList() );