summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/swhtml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/swhtml.cxx')
-rw-r--r--sw/source/filter/html/swhtml.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 48113a6a02cb..9d8d8db2f6a3 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -3771,8 +3771,8 @@ void SwHTMLParser::NewFontAttr( int nToken )
}
sal_Bool bFound = sal_False;
- xub_StrLen nStrPos = 0;
- while( nStrPos!=STRING_NOTFOUND )
+ sal_Int32 nStrPos = 0;
+ while( nStrPos!= -1 )
{
String aFName = aFace.GetToken( 0, ',', nStrPos );
aFName = comphelper::string::strip(aFName, ' ');