summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo
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/undo
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/undo')
-rw-r--r--sc/source/ui/undo/areasave.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/undo/areasave.cxx b/sc/source/ui/undo/areasave.cxx
index 2a2b906cadc7..a37420e7783a 100644
--- a/sc/source/ui/undo/areasave.cxx
+++ b/sc/source/ui/undo/areasave.cxx
@@ -46,10 +46,10 @@ ScAreaLinkSaver::ScAreaLinkSaver( const ScAreaLinkSaver& rCopy ) :
bool ScAreaLinkSaver::IsEqualSource( const ScAreaLink& rCompare ) const
{
- return ( aFileName.equals(rCompare.GetFile()) &&
- aFilterName.equals(rCompare.GetFilter()) &&
- aOptions.equals(rCompare.GetOptions()) &&
- aSourceArea.equals(rCompare.GetSource()) &&
+ return ( aFileName == rCompare.GetFile() &&
+ aFilterName == rCompare.GetFilter() &&
+ aOptions == rCompare.GetOptions() &&
+ aSourceArea == rCompare.GetSource() &&
nRefresh == rCompare.GetRefreshDelay() );
}