summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2000-12-06 12:48:30 +0000
committerThomas Benisch <tbe@openoffice.org>2000-12-06 12:48:30 +0000
commit6c8c5230ac7f21ae1f9052e71f148a06a9af2da3 (patch)
treec9cb379ea4811343ef1f7c4c8a2e5dc002f850ca /basctl
parentcd3aa0771ac828a516450340d23c8228634e9966 (diff)
fixed string problem in SearchAndReplace
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 60887823548d..e395e25817d8 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basides1.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mh $ $Date: 2000-09-29 11:02:36 $
+ * last change: $Author: tbe $ $Date: 2000-12-06 13:48:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -193,7 +193,7 @@ void __EXPORT BasicIDEShell::ExecuteCurrent( SfxRequest& rReq )
IDEResId nId( RID_STR_SEARCHREPLACES );
String aReplStr( nId );
- aReplStr.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "XX" ) ), nFound );
+ aReplStr.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "XX" ) ), String::CreateFromInt32( nFound ) );
InfoBox( pCurWin, aReplStr ).Execute();
}
else