summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewshel.cxx')
-rw-r--r--sd/source/ui/view/viewshel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 3ac055930198..9ef01355849c 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -877,7 +877,7 @@ void ViewShell::Resize()
// Make sure that the new size is not degenerate.
const Size aSize (mpParentWindow->GetSizePixel());
- if (aSize.Width()==0 || aSize.Height()==0)
+ if (aSize.IsEmpty())
return;
// Remember the new position and size.