diff options
Diffstat (limited to 'sc/inc/global.hxx')
-rw-r--r-- | sc/inc/global.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index f6b4e83842e7..6e0836fe8342 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -36,6 +36,7 @@ #undef bool #include <memory> +#include <string_view> namespace com::sun::star::uno { template <typename > class Reference; } @@ -568,8 +569,8 @@ public: static bool ShouldOpenURL(); SC_DLLPUBLIC static OUString GetAbsDocName( const OUString& rFileName, const SfxObjectShell* pShell ); - SC_DLLPUBLIC static OUString GetDocTabName( const OUString& rFileName, - const OUString& rTabName ); + SC_DLLPUBLIC static OUString GetDocTabName( std::u16string_view rFileName, + std::u16string_view rTabName ); SC_DLLPUBLIC static sal_uInt32 GetStandardFormat( SvNumberFormatter&, sal_uInt32 nFormat, SvNumFormatType nType ); SC_DLLPUBLIC static sal_uInt16 GetStandardRowHeight(); |