summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/ImagePreparer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/remotecontrol/ImagePreparer.cxx')
-rw-r--r--sd/source/ui/remotecontrol/ImagePreparer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx
index c765ca6a0c9a..ffd019b0c128 100644
--- a/sd/source/ui/remotecontrol/ImagePreparer.cxx
+++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx
@@ -230,7 +230,7 @@ OString ImagePreparer::prepareNotes( sal_uInt32 aSlideNumber )
uno::Reference<lang::XServiceName> xServiceName (
xIndexAccess->getByIndex(nIndex), UNO_QUERY);
if (xServiceName.is()
- && xServiceName->getServiceName().equals(sNotesShapeName))
+ && xServiceName->getServiceName() == sNotesShapeName)
{
uno::Reference<text::XTextRange> xText (xServiceName, UNO_QUERY);
if (xText.is())
@@ -246,7 +246,7 @@ OString ImagePreparer::prepareNotes( sal_uInt32 aSlideNumber )
if (xShapeDescriptor.is())
{
OUString sType (xShapeDescriptor->getShapeType());
- if (sType.equals(sNotesShapeName) || sType.equals(sTextShapeName))
+ if (sType == sNotesShapeName || sType == sTextShapeName)
{
uno::Reference<text::XTextRange> xText (
xIndexAccess->getByIndex(nIndex), UNO_QUERY);