Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgprK9pKAs0l6.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.