summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/css1atr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/css1atr.cxx')
-rw-r--r--sw/source/filter/html/css1atr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 8dca8b746394..561fc483cd45 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -1170,8 +1170,8 @@ void SwHTMLWriter::PrepareFontList( const SvxFontItem& rFontItem,
sal_Bool bContainsKeyword = sal_False;
if( rName.Len() )
{
- xub_StrLen nStrPos = 0;
- while( nStrPos != STRING_NOTFOUND )
+ sal_Int32 nStrPos = 0;
+ while( nStrPos != -1 )
{
String aName = rName.GetToken( 0, ';', nStrPos );
aName = comphelper::string::strip(aName, ' ');