filter/source/t602/t602filter.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
New commits: commit d1d5900ca4d15caf3def78e3af8bb0d3fda98cf7 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Oct 18 20:13:18 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Oct 19 10:00:20 2023 +0200 Use OUString instead of OUStringLiteral Change-Id: I0d49fa6c70c41b39b85f860ad648889be3613295 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158136 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index ae1b53f2ad95..d97bc3d5e5de 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -872,7 +872,7 @@ bool T602ImportFilterDialog::OptionsDlg() any <<= _val;\ _prop->setPropertyValue(_nam, any); #define propString_(_prop,_nam,_val) \ - any <<= OUString(_val);\ + any <<= _val;\ _prop->setPropertyValue(_nam, any); #define propStringFromResId_(_prop,_nam,_val) \ any <<= FilterResId(_val);\ @@ -898,13 +898,13 @@ bool T602ImportFilterDialog::OptionsDlg() propInt_(xPSetDialog,"Height",90); propStringFromResId_(xPSetDialog,"Title", T602FILTER_STR_IMPORT_DIALOG_TITLE); - static constexpr OUStringLiteral T602DLG_OK_BUTTON = u"ok_button"; - static constexpr OUStringLiteral T602DLG_CANCEL_BUTTON = u"cancel_button"; - static constexpr OUStringLiteral T602DLG_CODE_LB = u"code_lb"; - static constexpr OUStringLiteral T602DLG_AZBUKA_CB = u"azbuka_cb"; - static constexpr OUStringLiteral T602DLG_COMMENT_CB = u"comment_cb"; - static constexpr OUStringLiteral T602DLG_REFORMAT_CB = u"reformat_cb"; - static constexpr OUStringLiteral T602DLG_CODE_TXT = u"code_txt"; + static constexpr OUString T602DLG_OK_BUTTON = u"ok_button"_ustr; + static constexpr OUString T602DLG_CANCEL_BUTTON = u"cancel_button"_ustr; + static constexpr OUString T602DLG_CODE_LB = u"code_lb"_ustr; + static constexpr OUString T602DLG_AZBUKA_CB = u"azbuka_cb"_ustr; + static constexpr OUString T602DLG_COMMENT_CB = u"comment_cb"_ustr; + static constexpr OUString T602DLG_REFORMAT_CB = u"reformat_cb"_ustr; + static constexpr OUString T602DLG_CODE_TXT = u"code_txt"_ustr; Reference < XInterface > TextModel = Inst_("com.sun.star.awt.UnoControlFixedTextModel"); Reference < XPropertySet > xPSetText( TextModel, UNO_QUERY );