summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-10 12:37:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-11 09:26:28 +0200
commit2962ceec4b96758bec7e7a0390d5ec60e3ce708f (patch)
tree54b1f57a5ee59babeef28b2f624024cecef8f4c3 /sc/source/ui/undo
parentSearchForAlreadyLoadedDoc does nothing useful (diff)
downloadcore-2962ceec4b96758bec7e7a0390d5ec60e3ce708f.tar.gz
core-2962ceec4b96758bec7e7a0390d5ec60e3ce708f.zip
remove some unnecessary temporary OUStrings
found with: git grep -nP 'OUString\(\s*\w+\s*\)' | grep -v new | grep -v return Change-Id: I923109b4339210aed2639e423fbc4d5f19233f02 Reviewed-on: https://gerrit.libreoffice.org/37463 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undotab.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index e0da8f95128e..9323e066978f 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -1036,8 +1036,8 @@ ScUndoRemoveLink::ScUndoRemoveLink( ScDocShell* pShell, const OUString& rDocName
}
else
{
- OSL_ENSURE(OUString(aFltName) == rDoc.GetLinkFlt(i) &&
- OUString(aOptions) == rDoc.GetLinkOpt(i),
+ OSL_ENSURE(aFltName == rDoc.GetLinkFlt(i) &&
+ aOptions == rDoc.GetLinkOpt(i),
"different Filter for a Document?");
}
pTabs[nCount] = i;