diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-21 16:08:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-22 13:29:40 +0200 |
commit | ca1027e7d3a47402a016dba26d12db93b097a856 (patch) | |
tree | 666c4045bd72c8ed63a674438fcbcc41df6e3235 /include/unotools | |
parent | 08a72cbb06776e83475e70e0ee5d6c0ca572944e (diff) |
use more string_view in unotools
Change-Id: If32767647d3fba22a8e4a2b10fc57f47efca01d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133270
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/datetime.hxx | 2 | ||||
-rw-r--r-- | include/unotools/fontdefs.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/datetime.hxx b/include/unotools/datetime.hxx index afb06bc652a1..368ffcb393f9 100644 --- a/include/unotools/datetime.hxx +++ b/include/unotools/datetime.hxx @@ -48,7 +48,7 @@ namespace utl UNOTOOLS_DLLPUBLIC void typeConvert(const css::util::DateTime& _rDateTime, DateTime& _rOut); UNOTOOLS_DLLPUBLIC OUString toISO8601(const css::util::DateTime& _rDateTime); - UNOTOOLS_DLLPUBLIC bool ISO8601parseDateTime(const OUString &i_rIn, css::util::DateTime& o_rDateTime); + UNOTOOLS_DLLPUBLIC bool ISO8601parseDateTime(std::u16string_view i_rIn, css::util::DateTime& o_rDateTime); UNOTOOLS_DLLPUBLIC bool ISO8601parseDate(std::u16string_view i_rIn, css::util::Date& o_rDate); UNOTOOLS_DLLPUBLIC bool ISO8601parseTime(std::u16string_view i_rIn, css::util::Time& o_Time); diff --git a/include/unotools/fontdefs.hxx b/include/unotools/fontdefs.hxx index f5ff03efc837..7f145eba309e 100644 --- a/include/unotools/fontdefs.hxx +++ b/include/unotools/fontdefs.hxx @@ -84,7 +84,7 @@ enum class DefaultFontType CTL_DISPLAY = 4004, }; -UNOTOOLS_DLLPUBLIC OUString GetNextFontToken( const OUString& rTokenStr, sal_Int32& rIndex ); +UNOTOOLS_DLLPUBLIC std::u16string_view GetNextFontToken( const OUString& rTokenStr, sal_Int32& rIndex ); UNOTOOLS_DLLPUBLIC OUString GetEnglishSearchFontName( std::u16string_view rName ); /** Strip any "script font suffix" from the font name |