summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterScreen.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterScreen.cxx')
-rw-r--r--sdext/source/presenter/PresenterScreen.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx
index fd12a38ae6da..ccda5f897527 100644
--- a/sdext/source/presenter/PresenterScreen.cxx
+++ b/sdext/source/presenter/PresenterScreen.cxx
@@ -764,7 +764,7 @@ void PresenterScreen::ProcessLayout (
rConfiguration.GetConfigurationNode(
xLayoutNode,
OUString(RTL_CONSTASCII_USTRINGPARAM("ParentLayout"))) >>= sParentLayout;
- if (sParentLayout.getLength() > 0)
+ if (!sParentLayout.isEmpty())
{
// Prevent infinite recursion.
if (rsLayoutName != sParentLayout)
@@ -898,7 +898,7 @@ void PresenterScreen::ProcessViewDescription (
rValues[1] >>= aViewDescriptor.msTitle;
rValues[2] >>= aViewDescriptor.msAccessibleTitle;
rValues[3] >>= aViewDescriptor.mbIsOpaque;
- if (aViewDescriptor.msAccessibleTitle.getLength()==0)
+ if (aViewDescriptor.msAccessibleTitle.isEmpty())
aViewDescriptor.msAccessibleTitle = aViewDescriptor.msTitle;
maViewDescriptors[sViewURL] = aViewDescriptor;
}