diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2008-01-30 08:45:06 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2008-01-30 08:45:06 +0000 |
commit | 2e6d128db4c8c116cc9e69597c9e7730219271ef (patch) | |
tree | 1447d94e9ab5369cf7fc8475ae4911ec08e965bb /swext/mediawiki | |
parent | 95692662c16f0aff363aacfc474d1e8130aefcce (diff) |
Fix error messages with arguments
Diffstat (limited to 'swext/mediawiki')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/Helper.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java index 48df63f8230f..6a91b93eef7e 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java +++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java @@ -4,9 +4,9 @@ * * $RCSfile: Helper.java,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: mav $ $Date: 2008-01-30 09:24:49 $ + * last change: $Author: mav $ $Date: 2008-01-30 09:45:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -899,7 +899,7 @@ public class Helper { sError = GetLocalizedString( xContext, nErrorID ); if ( sError != null && sArg != null ) - sError.replaceAll( "$ARG1", sArg ); + sError = sError.replaceAll( "\\$ARG1", sArg ); sTitle = GetLocalizedString( xContext, nTitleID ); } |