From 2e6d128db4c8c116cc9e69597c9e7730219271ef Mon Sep 17 00:00:00 2001 From: Mikhail Voitenko Date: Wed, 30 Jan 2008 08:45:06 +0000 Subject: Fix error messages with arguments --- swext/mediawiki/src/com/sun/star/wiki/Helper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'swext/mediawiki') 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 ); } -- cgit