diff options
Diffstat (limited to 'sw/inc/format.hxx')
-rw-r--r-- | sw/inc/format.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index d04799bcf7fd..8a64b121e76c 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -109,7 +109,7 @@ public: bool IsDefault() const { return DerivedFrom() == nullptr; } const OUString& GetName() const { return m_aFormatName; } - bool HasName(const OUString &rName) const { return m_aFormatName == rName; } + bool HasName(std::u16string_view rName) const { return m_aFormatName == rName; } virtual void SetName( const OUString& rNewName, bool bBroadcast=false ); /// For querying the attribute array. |