summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:14:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:14:25 +0100
commitac97f3388dadfe0127ee2b5c97ccadfb9dd64f39 (patch)
tree22bb2161b60a5b5b58d0d926f76cc657cd858010 /sc/source/ui/undo
parentf35f7b4fbcd91c1f0b64ec8f261aec19328f7596 (diff)
sc: Use appropriate OUString functions on string constants
Change-Id: Ib4c0df8d7637bff7d7a45d24482fff4342169fae
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undodat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx
index 980fd7b878a4..9fd47025438c 100644
--- a/sc/source/ui/undo/undodat.cxx
+++ b/sc/source/ui/undo/undodat.cxx
@@ -931,7 +931,7 @@ void ScUndoAutoFilter::DoChange( bool bUndo )
ScDocument& rDoc = pDocShell->GetDocument();
ScDBData* pDBData=NULL;
- if (aDBName.equalsAscii(STR_DB_LOCAL_NONAME))
+ if (aDBName == STR_DB_LOCAL_NONAME)
{
SCTAB nTab = aOriginalRange.aStart.Tab();
pDBData = rDoc.GetAnonymousDBData(nTab);