summaryrefslogtreecommitdiff
path: root/sw/source/core/uibase/docvw/PostItMgr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:14:55 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:51 +0200
commit769a6c20c4eb9e081cdc46dd638f67927fc7bc25 (patch)
treeef7c0e04c12897d8b73a2b2e3de3df477f83f37c /sw/source/core/uibase/docvw/PostItMgr.cxx
parent006df8a7f77d79d5ab2d8da053552a0ccc3dcd7a (diff)
sw: prefer passing OUString by reference
Change-Id: Iaa846ec8f19567f0a9f30154d74cc53df93eff16
Diffstat (limited to 'sw/source/core/uibase/docvw/PostItMgr.cxx')
-rw-r--r--sw/source/core/uibase/docvw/PostItMgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/docvw/PostItMgr.cxx b/sw/source/core/uibase/docvw/PostItMgr.cxx
index 82f078c445db..4193ad61c7e3 100644
--- a/sw/source/core/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/core/uibase/docvw/PostItMgr.cxx
@@ -1168,7 +1168,7 @@ void SwPostItMgr::RemoveSidebarWin()
// copy to new vector, otherwise RemoveItem would operate and delete stuff on mvPostItFlds as well
// RemoveItem will clean up the core field and visible postit if necessary
// we cannot just delete everything as before, as postits could move into change tracking
-void SwPostItMgr::Delete(OUString aAuthor)
+void SwPostItMgr::Delete(const OUString& aAuthor)
{
mpWrtShell->StartAllAction();
if ( HasActiveSidebarWin() && (GetActiveSidebarWin()->GetAuthor()==aAuthor) )