diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-02 01:18:42 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-02 18:46:47 +0200 |
commit | 116b9d6ddf2b61186b29f0370234eec9c1bbe306 (patch) | |
tree | 7f90a12333274086e33c4e0fabfd96a8e54e6b6c /include/svx/ruler.hxx | |
parent | d7ba78e9c7be835a1e2ecdacd25995663e96862f (diff) |
Avoid conversions between OUString and OString in VCL
Standardize on OUString, which is the main internal string class.
Convert from/to OUString only when communicating with respective
external APIs.
Removes about 200 conversions from the code.
Change-Id: I96ecee7c6fd271bb76639220e96d69d2964bed26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149930
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/svx/ruler.hxx')
-rw-r--r-- | include/svx/ruler.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index 58b9e0a5c85b..486515f1822a 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -218,8 +218,8 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener tools::Long GetLeftMin() const; tools::Long GetRightMax() const; - void TabMenuSelect(std::string_view rIdent); - void MenuSelect(std::string_view ident); + void TabMenuSelect(std::u16string_view rIdent); + void MenuSelect(std::u16string_view ident); void PrepareProportional_Impl(RulerType); enum class UpdateType |