diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 13:19:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 18:44:00 +0200 |
commit | 40dde4385cd913ac08292ad3be28bf17de9d296c (patch) | |
tree | 9d7cb5602808e1ff5831fabfa8d3405d416a682b /include/vcl | |
parent | ca5c9591ba38ad83415a2d4ced98bfc74d30b032 (diff) |
loplugin:ostr in vcl
Change-Id: I5b6ee5bda0c5ff69d297f7f8e87d4c3f3d21791c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167470
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/textfilter.hxx | 2 | ||||
-rw-r--r-- | include/vcl/weldutils.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/textfilter.hxx b/include/vcl/textfilter.hxx index 0113b28bcedc..bab09107e835 100644 --- a/include/vcl/textfilter.hxx +++ b/include/vcl/textfilter.hxx @@ -22,7 +22,7 @@ public: virtual OUString filter(const OUString& rText); - TextFilter(OUString aForbiddenChars = OUString(" ")); + TextFilter(OUString aForbiddenChars = u" "_ustr); virtual ~TextFilter(); }; diff --git a/include/vcl/weldutils.hxx b/include/vcl/weldutils.hxx index 222e96a63158..3807c83c478a 100644 --- a/include/vcl/weldutils.hxx +++ b/include/vcl/weldutils.hxx @@ -68,12 +68,12 @@ public: // css::awt::XWindow void SAL_CALL setPosSize(sal_Int32, sal_Int32, sal_Int32, sal_Int32, sal_Int16) override { - throw css::uno::RuntimeException("not implemented"); + throw css::uno::RuntimeException(u"not implemented"_ustr); } css::awt::Rectangle SAL_CALL getPosSize() override { - throw css::uno::RuntimeException("not implemented"); + throw css::uno::RuntimeException(u"not implemented"_ustr); } void SAL_CALL setVisible(sal_Bool bVisible) override { m_pWeldWidget->set_visible(bVisible); } |