diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 09:25:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 10:19:27 +0200 |
commit | 6af025501db1f25397bdbf1fdd6b71da4debcac4 (patch) | |
tree | 19f627e7ed7da45efa4c5bbf6bad8ed148fd6551 /sfx2/source/doc/objcont.cxx | |
parent | 8e39ef66928a3e37c618d3a70a631e71266db274 (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/doc/objcont.cxx')
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 9b83ffe426af..ff4534e11159 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -190,11 +190,11 @@ void SfxObjectShell::UpdateDocInfoForSave() if ( !IsUseUserData() ) { // remove all data pointing to the current user - if (xDocProps->getAuthor().equals(aUserName)) { + if (xDocProps->getAuthor() == aUserName) { xDocProps->setAuthor( OUString() ); } xDocProps->setModifiedBy( OUString() ); - if (xDocProps->getPrintedBy().equals(aUserName)) { + if (xDocProps->getPrintedBy() == aUserName) { xDocProps->setPrintedBy( OUString() ); } } |