summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTheme.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 09:24:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 10:12:31 +0200
commitd7e06e46acc2ee17101cef63e59b9f5efcbfab14 (patch)
tree7f2ee4381babadafaaaf94e1ca210e1d98e5aa14 /sdext/source/presenter/PresenterTheme.cxx
parente47fda7d4759f4ac911c882881dba1eee539726c (diff)
use more OUString::operator== in scaddins..sdext
Change-Id: I8bc5c925f940283bc54698bbcba77efcca883273 Reviewed-on: https://gerrit.libreoffice.org/39937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/presenter/PresenterTheme.cxx')
-rw-r--r--sdext/source/presenter/PresenterTheme.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx
index 4bdd60676853..9fdd24a0bb18 100644
--- a/sdext/source/presenter/PresenterTheme.cxx
+++ b/sdext/source/presenter/PresenterTheme.cxx
@@ -863,7 +863,7 @@ void PaneStyleContainer::ProcessPaneStyle(
// Find parent style.
::std::vector<SharedPaneStyle>::const_iterator iStyle;
for (iStyle=mStyles.begin(); iStyle!=mStyles.end(); ++iStyle)
- if ((*iStyle)->msStyleName.equals(sParentStyleName))
+ if ((*iStyle)->msStyleName == sParentStyleName)
{
pStyle->mpParentStyle = *iStyle;
break;
@@ -987,7 +987,7 @@ void ViewStyleContainer::ProcessViewStyle(
// Find parent style.
::std::vector<SharedViewStyle>::const_iterator iStyle;
for (iStyle=mStyles.begin(); iStyle!=mStyles.end(); ++iStyle)
- if ((*iStyle)->msStyleName.equals(sParentStyleName))
+ if ((*iStyle)->msStyleName == sParentStyleName)
{
pStyle->mpParentStyle = *iStyle;
pStyle->mpFont = (*iStyle)->mpFont;