summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-13 20:41:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-14 09:13:07 +0100
commit403a75a275d9be8b3cc192b0653b4af3533f1ecc (patch)
tree4cc65298963618b33ccc0e8fdd105462c8bd7d91 /sd
parent8ae46066e6b03e70901bbacf972e6965a43f3c53 (diff)
XubString->OUString
Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx2
-rw-r--r--sd/source/ui/view/drviews7.cxx2
-rw-r--r--sd/source/ui/view/drviewsf.cxx2
-rw-r--r--sd/source/ui/view/outlnvsh.cxx2
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;
}