From ca02d728082a86780d68ede7b9d565128dbc0434 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Nov 2011 21:03:31 +0000 Subject: remove [Byte]String::EraseAllChars --- dbaccess/source/ui/querydesign/QTableWindow.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/querydesign/QTableWindow.cxx b/dbaccess/source/ui/querydesign/QTableWindow.cxx index e20ca59c5494..93b3df5c4f0b 100644 --- a/dbaccess/source/ui/querydesign/QTableWindow.cxx +++ b/dbaccess/source/ui/querydesign/QTableWindow.cxx @@ -47,8 +47,9 @@ #include #include #include "TableFieldInfo.hxx" -#include #include +#include +#include #include "UITools.hxx" @@ -117,7 +118,7 @@ sal_Bool OQueryTableWindow::Init() } - sAliasName = String(sAliasName).EraseAllChars('"'); + sAliasName = comphelper::string::remove(sAliasName, '"'); SetAliasName(sAliasName); // SetAliasName reicht das als WinName weiter, dadurch benutzt es die Basisklasse // reset the title -- cgit