[Libreoffice] [PATCH][EasyHacks] Remove some use of svarray stuff in SwScriptInfo

Caolán McNamara caolanm at redhat.com
Thu Feb 10 03:29:00 PST 2011


On Tue, 2011-02-08 at 14:24 +0000, Nigel Hawkins wrote:
> Hi,
> 
> The attached patch removes one use of SvBytes and SvXub_StrLens from
> SwScriptInfo.

bzzt...

-    while ( nChg < rTxt.Len() || ( !aScriptChg.Count() && !
rTxt.Len() ) )
+    while ( nChg < rTxt.Len() || ( !aScriptChanges.empty() && !
rTxt.Len() ) )

!Count() -> !empty(), should have been empty(), fixed now.

C.



More information about the LibreOffice mailing list