summaryrefslogtreecommitdiff
path: root/sw/source/core/swg/SwXMLBlockExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/swg/SwXMLBlockExport.cxx')
-rw-r--r--sw/source/core/swg/SwXMLBlockExport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/swg/SwXMLBlockExport.cxx b/sw/source/core/swg/SwXMLBlockExport.cxx
index 9239474f68bc..d35b5cf40323 100644
--- a/sw/source/core/swg/SwXMLBlockExport.cxx
+++ b/sw/source/core/swg/SwXMLBlockExport.cxx
@@ -121,13 +121,13 @@ sal_uInt32 SwXMLTextBlockExport::exportDoc(const String &rText)
{
SvXMLElementExport aBody (*this, XML_NAMESPACE_OFFICE, XML_BODY, sal_True, sal_True);
{
- xub_StrLen nPos = 0;
+ sal_Int32 nPos = 0;
do
{
String sTemp ( rText.GetToken( 0, '\015', nPos ) );
SvXMLElementExport aPara (*this, XML_NAMESPACE_TEXT, XML_P, sal_True, sal_False);
GetDocHandler()->characters(sTemp);
- } while (STRING_NOTFOUND != nPos );
+ } while (-1 != nPos );
}
}