diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/drviews7.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/drviewsf.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index 876853171cc0..ff0ac65c9cdc 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -253,7 +253,7 @@ Selection AnnotationTextWindow::GetSurroundingTextSelection() const if( mpOutlinerView ) { if( mpOutlinerView->HasSelection() ) - return Selection( 0, mpOutlinerView->GetSelected().Len() ); + return Selection( 0, mpOutlinerView->GetSelected().getLength() ); else { ESelection aSelection = mpOutlinerView->GetEditView().GetSelection(); diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx index fee4ded222e9..f91881d6c64c 100644 --- a/sd/source/ui/view/drviews7.cxx +++ b/sd/source/ui/view/drviews7.cxx @@ -943,7 +943,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet ) if (pOlView) { - if ( pOlView->GetSelected().Len() == 0 ) + if (pOlView->GetSelected().isEmpty()) { rSet.DisableItem( SID_CUT ); rSet.DisableItem( SID_COPY ); 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; } diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index cf375fad7180..1c5a50d07e1e 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -1504,7 +1504,7 @@ sal_Bool OutlineViewShell::HasSelection(sal_Bool bText) const { OutlinerView* pOutlinerView = pOlView->GetViewByWindow( GetActiveWindow() ); - if (pOutlinerView && pOutlinerView->GetSelected().Len() != 0) + if (pOutlinerView && !pOutlinerView->GetSelected().isEmpty()) { bReturn = sal_True; } |