In Basic IDE, "Replace all" said "Search key replaced times", so without the number. This patch fixes it. (The nFound was treated as a character instead of an integer.)
Uray M. János
From e6266f1374ccb193314dcb8ac882897b2b5150a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?"Uray=20M.=20J=C3=A1nos"?= <uray.ja...@gmail.com> Date: Wed, 25 Jul 2012 16:06:39 +0200 Subject: [PATCH] fixed Replace all message in Basic IDE Change-Id: I3e4fdb07ea5a1d1d47bcf190a5ee96800b44f89b --- basctl/source/basicide/basides1.cxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 48befb7..940bf80 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -147,7 +147,7 @@ void BasicIDEShell::ExecuteCurrent( SfxRequest& rReq ) { // memorize item because of the adjustments... BasicIDEGlobals::GetExtraData()->SetSearchItem( (const SvxSearchItem&)rItem ); - sal_uInt16 nFound = 0; + int nFound = 0; sal_Bool bCanceled = sal_False; if ( ((const SvxSearchItem&)rItem).GetCommand() == SVX_SEARCHCMD_REPLACE_ALL ) { -- 1.7.7
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice