diff options
Diffstat (limited to 'sd/source/ui/view/drviewsf.cxx')
-rw-r--r-- | sd/source/ui/view/drviewsf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx index 5bb62d27e801..f18f17598464 100644 --- a/sd/source/ui/view/drviewsf.cxx +++ b/sd/source/ui/view/drviewsf.cxx @@ -779,7 +779,7 @@ sal_Bool DrawViewShell::HasSelection(sal_Bool bText) const { OutlinerView* pOlView = mpDrawView->GetTextEditOutlinerView(); - if (pOlView && pOlView->GetSelected().Len() != 0) + if (pOlView && !pOlView->GetSelected().isEmpty()) { bReturn = sal_True; } |