diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdhdl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 7058e0c50785..34f514901e57 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -2364,7 +2364,7 @@ void SdrCropViewHdl::CreateB2dIAObject() SdrMarkView* pView = pHdlList ? pHdlList->GetView() : 0; SdrPageView* pPageView = pView ? pView->GetSdrPageView() : 0; - if(pPageView && pView->areMarkHandlesHidden()) + if(!pPageView || (pPageView && pView->areMarkHandlesHidden())) { return; } @@ -2525,7 +2525,7 @@ void SdrCropViewHdl::CreateB2dIAObject() for(sal_uInt32 b(0L); b < pPageView->PageWindowCount(); b++) { // const SdrPageViewWinRec& rPageViewWinRec = rPageViewWinList[b]; - const SdrPageWindow& rPageWindow = *pPageView->GetPageWindow(b); + const SdrPageWindow& rPageWindow = *(pPageView->GetPageWindow(b)); if(rPageWindow.GetPaintWindow().OutputToWindow()) { |