[PATCH] fixed Replace all message in Basic IDE

Eike Rathke erack at redhat.com
Wed Jul 25 10:28:38 PDT 2012

Hi János,

On Wednesday, 2012-07-25 16:11:24 +0200, János Uray wrote:

> In Basic IDE, "Replace all" said "Search key replaced  times", so without
> the number.

Hmm.. actually it should be a character corresponding to the value of
nFound, not just a blank..

> This patch fixes it. (The nFound was treated as a character instead of an
> integer.)

> --- a/basctl/source/basicide/basides1.cxx
> +++ b/basctl/source/basicide/basides1.cxx
> -                    sal_uInt16 nFound = 0;
> +                    int nFound = 0;

valueOf() is defined for sal_... types, so instead of using int here it
should be sal_Int32.


LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120725/c2091e2f/attachment.pgp>

More information about the LibreOffice mailing list