summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/TabBar.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 09:25:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 10:19:27 +0200
commit6af025501db1f25397bdbf1fdd6b71da4debcac4 (patch)
tree19f627e7ed7da45efa4c5bbf6bad8ed148fd6551 /sfx2/source/sidebar/TabBar.cxx
parent8e39ef66928a3e37c618d3a70a631e71266db274 (diff)
use more OUString::operator== in sfx2..svtools
Change-Id: I859b77319f551eabd19dae54bd69c212221112a8 Reviewed-on: https://gerrit.libreoffice.org/39938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar/TabBar.cxx')
-rw-r--r--sfx2/source/sidebar/TabBar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 3b969727667e..024ce6b17397 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -215,7 +215,7 @@ void TabBar::HighlightDeck (const OUString& rsDeckId)
{
for (ItemContainer::iterator iItem(maItems.begin()); iItem != maItems.end(); ++iItem)
{
- if (iItem->msDeckId.equals(rsDeckId))
+ if (iItem->msDeckId == rsDeckId)
iItem->mpButton->Check();
else
iItem->mpButton->Check(false);