diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-26 10:44:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-28 09:55:02 +0000 |
commit | 48221d6a2bf4c327b6cadcdc65169997f7d7408d (patch) | |
tree | c55de0fd2abb2e2729540d98a02f87dd38b7a526 /dbaccess | |
parent | afb548ba6962c74ae99350bad0bd2c72c9ddd998 (diff) |
ByteString::GetToken->comphelper::string::getToken
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index 4841162afcc3..6408f4a8fa86 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -33,8 +33,10 @@ #include "RtfReader.hxx" #include "HtmlReader.hxx" #include "dbustrings.hrc" -#include <connectivity/dbtools.hxx> +#include <comphelper/componentcontext.hxx> +#include <comphelper/string.hxx> #include <comphelper/types.hxx> +#include <connectivity/dbtools.hxx> #include <com/sun/star/sdbc/XConnection.hpp> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp> @@ -61,7 +63,6 @@ #include <svtools/htmlcfg.hxx> #include <connectivity/formattedcolumnvalue.hxx> #include <unotools/syslocale.hxx> -#include <comphelper/componentcontext.hxx> #include <rtl/logfile.hxx> using namespace dbaui; @@ -426,7 +427,7 @@ sal_Bool ORTFImportExport::Write() (*m_pStream) << "\\f"; m_pStream->WriteNumber(static_cast<sal_Int32>(j)); (*m_pStream) << "\\fcharset0\\fnil "; - (*m_pStream) << aFonts.GetToken(j).GetBuffer(); + (*m_pStream) << comphelper::string::getToken(aFonts, j, ';').getStr(); (*m_pStream) << ';'; } (*m_pStream) << '}' ; |