diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-18 21:03:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-19 21:11:02 +0000 |
commit | ca02d728082a86780d68ede7b9d565128dbc0434 (patch) | |
tree | 8c0a857ad73f89d592295f99e5f72a0c96e55e57 /sc/source/ui/docshell/docsh8.cxx | |
parent | e4ff699291ddab16d70aa9b11c717e34dfbe5414 (diff) |
remove [Byte]String::EraseAllChars
Diffstat (limited to 'sc/source/ui/docshell/docsh8.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh8.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index 733e06918437..bb9805263c03 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -37,10 +37,11 @@ #include <tools/urlobj.hxx> #include <svl/converter.hxx> #include <svl/zforlist.hxx> +#include <comphelper/processfactory.hxx> +#include <comphelper/string.hxx> #include <comphelper/types.hxx> #include <ucbhelper/content.hxx> #include <unotools/sharedunocomponent.hxx> -#include <comphelper/processfactory.hxx> #include <svx/txenctab.hxx> #include <svx/dbcharsethelper.hxx> @@ -539,7 +540,7 @@ void lcl_GetColumnTypes( ScDocShell& rDocShell, if ( nToken > 1 ) { aFieldName = aString.GetToken( 0, ',' ); - aString.EraseAllChars( ' ' ); + aString = comphelper::string::remove(aString, ' '); switch ( aString.GetToken( 1, ',' ).GetChar(0) ) { case 'L' : |