summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 12:44:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 09:10:59 +0200
commitd8e5a0db64fa022b54bddc42b1b1db0c1ddfe2d1 (patch)
treea35f8e42f3caa97132e2dc38042c393ef8fb59f4 /sc/source/ui/app
parentloplugin:useuniqueptr (diff)
downloadcore-d8e5a0db64fa022b54bddc42b1b1db0c1ddfe2d1.tar.gz
core-d8e5a0db64fa022b54bddc42b1b1db0c1ddfe2d1.zip
use more OUString::operator== in sc
Change-Id: I1a7691fe59e5e93c15bd812f03366da814f9f3db Reviewed-on: https://gerrit.libreoffice.org/39900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/inputhdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 4bf371ca1305..d8ea6d85540b 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -3630,9 +3630,9 @@ void ScInputHandler::NotifyChange( const ScInputHdlState* pState,
else if ( bHadObject )
bTxtMod = true;
else if ( bTextValid )
- bTxtMod = ( !aString.equals(aCurrentText) );
+ bTxtMod = ( aString != aCurrentText );
else
- bTxtMod = ( !aString.equals(GetEditText(mpEditEngine.get())) );
+ bTxtMod = ( aString != GetEditText(mpEditEngine.get()) );
if ( bTxtMod || bForce )
{