From 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 Mon Sep 17 00:00:00 2001 From: elixir Date: Thu, 7 Mar 2013 19:35:49 +0530 Subject: fdo#38838: Converting String/UniString to OUString Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba Tested-by: Fridrich Strba --- dbaccess/source/ui/misc/HtmlReader.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx index 8071cd81a163..3cb6690fcb32 100644 --- a/dbaccess/source/ui/misc/HtmlReader.cxx +++ b/dbaccess/source/ui/misc/HtmlReader.cxx @@ -386,8 +386,8 @@ void OHTMLReader::TableFontOn(FontDescriptor& _rFont,sal_Int32 &_rTextColor) { const String& rFace = rOption.GetString(); String aFontName; - xub_StrLen nPos = 0; - while( nPos != STRING_NOTFOUND ) + sal_Int32 nPos = 0; + while( nPos != -1 ) { // list fo fonts, VCL: semicolon as separator, HTML: comma String aFName = rFace.GetToken( 0, ',', nPos ); -- cgit