summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/Trie.hxx4
-rw-r--r--include/editeng/outlobj.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/Trie.hxx b/include/editeng/Trie.hxx
index f5f42f0a88c9..c8963d89401d 100644
--- a/include/editeng/Trie.hxx
+++ b/include/editeng/Trie.hxx
@@ -30,8 +30,8 @@ public:
Trie();
virtual ~Trie();
- void insert(OUString sInputString) const;
- void findSuggestions(OUString sWordPart, std::vector<OUString>& rSuggesstionList) const;
+ void insert(const OUString& sInputString) const;
+ void findSuggestions(const OUString& sWordPart, std::vector<OUString>& rSuggestionList) const;
void getAllEntries(std::vector<OUString>& entries);
};
diff --git a/include/editeng/outlobj.hxx b/include/editeng/outlobj.hxx
index 193241c4060f..4464bf3fe29b 100644
--- a/include/editeng/outlobj.hxx
+++ b/include/editeng/outlobj.hxx
@@ -75,7 +75,7 @@ public:
const OUString& rNewName, SfxStyleFamily eNewFamily);
void ChangeStyleSheetName(SfxStyleFamily eFamily, const OUString& rOldName,
const OUString& rNewName);
- void SetStyleSheets(sal_uInt16 nLevel, const OUString rNewName,
+ void SetStyleSheets(sal_uInt16 nLevel, const OUString& rNewName,
const SfxStyleFamily& rNewFamily);
};