summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-18 20:13:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-19 10:00:20 +0200
commitd1d5900ca4d15caf3def78e3af8bb0d3fda98cf7 (patch)
tree28fbc6fa595e74441e3a152b1abda09a9dc10ece /filter
parent6359969e230af2569bb68e75ecfd85d43f95e20b (diff)
Use OUString instead of OUStringLiteral
Change-Id: I0d49fa6c70c41b39b85f860ad648889be3613295 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158136 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/t602/t602filter.cxx16
1 files changed, 8 insertions, 8 deletions
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 );