[Libreoffice-commits] .: binfilter/bf_svtools
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Nov 23 15:17:23 PST 2011
binfilter/bf_svtools/source/config/svt_useroptions.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 1761e9c96eb2d673d77712c840a51c2679d169f1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Nov 23 22:17:54 2011 +0000
remove EraseLeadingAndTrailingChars
diff --git a/binfilter/bf_svtools/source/config/svt_useroptions.cxx b/binfilter/bf_svtools/source/config/svt_useroptions.cxx
index 00f870a..976fa42 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();
More information about the Libreoffice-commits
mailing list