summaryrefslogtreecommitdiff
path: root/sc/inc/chartlis.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/chartlis.hxx')
-rw-r--r--sc/inc/chartlis.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx
index f6baf78bc124..c5a882b40a4a 100644
--- a/sc/inc/chartlis.hxx
+++ b/sc/inc/chartlis.hxx
@@ -27,6 +27,7 @@
#include <memory>
#include <map>
+#include <string_view>
#include <unordered_map>
#include <unordered_set>
#include <vector>
@@ -169,7 +170,7 @@ public:
* Create a unique name that's not taken by any existing chart listener
* objects. The name consists of a prefix given followed by a number.
*/
- OUString getUniqueName(const OUString& rPrefix) const;
+ OUString getUniqueName(std::u16string_view rPrefix) const;
void ChangeListening( const OUString& rName,
const ScRangeListRef& rRangeListRef );