summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations/annotationtag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/annotations/annotationtag.cxx')
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index 4e1cd4504791..f4b0d66a5563 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -200,7 +200,7 @@ void AnnotationHdl::CreateB2dIAObject()
SdrMarkView* pView = pHdlList->GetView();
- if(!(pView && !pView->areMarkHandlesHidden()))
+ if(!pView || pView->areMarkHandlesHidden())
return;
SdrPageView* pPageView = pView->GetSdrPageView();