diff options
Diffstat (limited to 'svx/source/unodraw/unopage.cxx')
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 619b7ab08f03..7ef851568cdb 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -75,8 +75,7 @@ SvxDrawPage::SvxDrawPage( SdrPage* pInPage ) throw() // create (hidden) view mpView = new SdrView( mpModel ); - if( mpView ) - mpView->SetDesignMode(true); + mpView->SetDesignMode(true); } SvxDrawPage::~SvxDrawPage() throw() @@ -896,8 +895,7 @@ void SvxDrawPage::ChangeModel( SdrModel* pNewModel ) { delete mpView; mpView = new SdrView( mpModel ); - if( mpView ) - mpView->SetDesignMode(true); + mpView->SetDesignMode(true); } } } |