summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/xfilter/xftextcontent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xftextcontent.cxx')
-rw-r--r--lotuswordpro/source/filter/xfilter/xftextcontent.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xftextcontent.cxx b/lotuswordpro/source/filter/xfilter/xftextcontent.cxx
index 1492b09415f7..61a1dccff68a 100644
--- a/lotuswordpro/source/filter/xfilter/xftextcontent.cxx
+++ b/lotuswordpro/source/filter/xfilter/xftextcontent.cxx
@@ -78,7 +78,6 @@ void XFTextContent::SetText(const OUString& text)
void XFTextContent::ToXml(IXFStream *pStrm)
{
// pStrm->Characters(m_strText);
- OUString sSpaceToken(" ");
OUString sSubString;
sal_Int32 nIndex = 0;
sal_Int32 nSize = m_strText.getLength();
@@ -86,7 +85,7 @@ void XFTextContent::ToXml(IXFStream *pStrm)
for (i=0; i<nSize;)
{
sSubString = m_strText.copy(i,nSize-i);
- nIndex = sSubString.indexOf(sSpaceToken);
+ nIndex = sSubString.indexOf(" ");
if (nIndex == -1)
{
pStrm->Characters(sSubString);