diff options
author | Thomas Benisch <tbe@openoffice.org> | 2000-12-06 12:48:30 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2000-12-06 12:48:30 +0000 |
commit | 6c8c5230ac7f21ae1f9052e71f148a06a9af2da3 (patch) | |
tree | c9cb379ea4811343ef1f7c4c8a2e5dc002f850ca /basctl | |
parent | cd3aa0771ac828a516450340d23c8228634e9966 (diff) |
fixed string problem in SearchAndReplace
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 6 |
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 |