[Libreoffice-commits] core.git: lotuswordpro/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Sat Aug 29 07:11:01 UTC 2020
lotuswordpro/source/filter/xfilter/xftabstyle.hxx | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
New commits:
commit 098bcc6131900eaeb51402fba06f4141bfbc5532
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Aug 28 12:45:20 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Aug 29 09:10:20 2020 +0200
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 at redhat.com>
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
More information about the Libreoffice-commits
mailing list