diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-28 12:45:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-29 09:10:20 +0200 |
commit | 098bcc6131900eaeb51402fba06f4141bfbc5532 (patch) | |
tree | d9dd9a8ebac077b12f2270c8af79b5bc874486d9 /lotuswordpro/source | |
parent | 2428b365355d7ec6a1372c58cff1a4f1b13cb14e (diff) |
Directly use OUString(sal_Unicode) ctor
Change-Id: I60869118cf163afb2af3790a4a394fd03adcd868
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101576
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xftabstyle.hxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xftabstyle.hxx b/lotuswordpro/source/filter/xfilter/xftabstyle.hxx index 4b455268e083..6a25ddd3a73d 100644 --- a/lotuswordpro/source/filter/xfilter/xftabstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xftabstyle.hxx @@ -97,20 +97,12 @@ inline void XFTabStyle::SetLength(double len) inline void XFTabStyle::SetDelimiter(sal_Unicode delimiter) { - sal_Unicode chs[2]; - chs[0] = delimiter; - chs[1] = 0; - - m_strDelimiter = OUString(chs); + m_strDelimiter = OUString(delimiter); } inline void XFTabStyle::SetLeaderChar(sal_Unicode leader) { - sal_Unicode chs[2]; - chs[0] = leader; - chs[1] = 0; - - m_strLeader = OUString(chs); + m_strLeader = OUString(leader); } #endif |