diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-23 22:17:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-23 22:17:54 +0000 |
commit | 1761e9c96eb2d673d77712c840a51c2679d169f1 (patch) | |
tree | 0688e6703653b8e53405eb1dc4420a8409e82307 | |
parent | Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros. (diff) | |
download | binfilter-1761e9c96eb2d673d77712c840a51c2679d169f1.tar.gz binfilter-1761e9c96eb2d673d77712c840a51c2679d169f1.zip |
remove EraseLeadingAndTrailingChars
-rw-r--r-- | binfilter/bf_svtools/source/config/svt_useroptions.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/binfilter/bf_svtools/source/config/svt_useroptions.cxx b/binfilter/bf_svtools/source/config/svt_useroptions.cxx index 00f870a70..976fa4231 100644 --- a/binfilter/bf_svtools/source/config/svt_useroptions.cxx +++ b/binfilter/bf_svtools/source/config/svt_useroptions.cxx @@ -27,7 +27,7 @@ ************************************************************************/ #include <bf_svtools/useroptions.hxx> - +#include <comphelper/string.hxx> #include <tools/debug.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -179,8 +179,7 @@ void SvtUserOptions_Impl::InitUserPropertyNames() void SvtUserOptions_Impl::InitFullName() { - m_aFullName = GetFirstName(); - m_aFullName.EraseLeadingAndTrailingChars(); + m_aFullName = comphelper::string::strip(GetFirstName(), ' '); if ( m_aFullName.Len() ) m_aFullName += ' '; m_aFullName += GetLastName(); |