From 403a75a275d9be8b3cc192b0653b4af3533f1ecc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 13 Aug 2013 20:41:52 +0100 Subject: XubString->OUString Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa --- sd/source/ui/annotations/annotationwindow.cxx | 2 +- sd/source/ui/view/drviews7.cxx | 2 +- sd/source/ui/view/drviewsf.cxx | 2 +- sd/source/ui/view/outlnvsh.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sd') 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; } -- cgit v1.2.3