diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-13 14:33:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-13 19:02:00 +0200 |
commit | 1aced94715b73cc0de2ab91963a4f2a2102d845a (patch) | |
tree | e87ae3df4d0ec9940bdaaf99ec045981070c250e /include/sfx2 | |
parent | d2572dc9d6c7cda9d6e08e46c42048e12e4f04e0 (diff) |
use more string_view in sfx2
Change-Id: I36db3d26a576adeb4d2427c28320096d5464f565
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132964
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/childwin.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sfxhtml.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index ccfb32235e77..68ad6ff509f9 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -228,7 +228,7 @@ const int nCloseResponseToJustHide = -42; bool GetPosSizeFromString( std::u16string_view rStr, Point& rPos, Size& rSize ); -bool GetSplitSizeFromString( const OUString& rStr, Size& rSize ); +bool GetSplitSizeFromString( std::u16string_view rStr, Size& rSize ); #endif diff --git a/include/sfx2/sfxhtml.hxx b/include/sfx2/sfxhtml.hxx index ff7ee4bfb96e..af22df207b83 100644 --- a/include/sfx2/sfxhtml.hxx +++ b/include/sfx2/sfxhtml.hxx @@ -68,7 +68,7 @@ public: // <TD SDVAL="..." SDNUM="..."> static double GetTableDataOptionsValNum( sal_uInt32& nNumForm, LanguageType& eNumLang, const OUString& aValStr, - const OUString& aNumStr, SvNumberFormatter& rFormatter ); + std::u16string_view aNumStr, SvNumberFormatter& rFormatter ); protected: // Start a file download. This is done asynchronously or synchronously. |