diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/condformat/condformathelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/condformathelper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx index 130785249469..3ae4f301a1a5 100644 --- a/sc/source/ui/condformat/condformathelper.cxx +++ b/sc/source/ui/condformat/condformathelper.cxx @@ -191,7 +191,7 @@ OUString ScCondFormatHelper::GetExpression(const ScConditionalFormat& rFormat, c } OUString ScCondFormatHelper::GetExpression( ScCondFormatEntryType eType, sal_Int32 nIndex, - const OUString& aStr1, const OUString& aStr2 ) + std::u16string_view aStr1, std::u16string_view aStr2 ) { OUStringBuffer aBuffer(getTextForType(eType)); aBuffer.append(" "); diff --git a/sc/source/ui/inc/condformathelper.hxx b/sc/source/ui/inc/condformathelper.hxx index 79de9c7d6d7b..8191c9f18726 100644 --- a/sc/source/ui/inc/condformathelper.hxx +++ b/sc/source/ui/inc/condformathelper.hxx @@ -31,7 +31,7 @@ public: static SC_DLLPUBLIC OUString GetExpression(const ScConditionalFormat& rFormat, const ScAddress& rPos); static SC_DLLPUBLIC OUString GetExpression( ScCondFormatEntryType eType, sal_Int32 nIndex, - const OUString& aStr1 = OUString(), const OUString& aStr2 = OUString() ); + std::u16string_view aStr1 = std::u16string_view(), std::u16string_view aStr2 = std::u16string_view() ); }; #endif |