summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-04-05 13:37:15 +0000
committerjp <jp@openoffice.org>2001-04-05 13:37:15 +0000
commit1f9c49e1301f7eb1f0f4b2d04e8fc76d73d2e763 (patch)
tree7f4fc388013786f73ab4649927b217d8ceef6f4d /sw
parent7c2dffa3b4af89c0d6a2adc6a1ff1e93a2044fc7 (diff)
Bug #82744#: SvxForbiddenCharactertable create with correct parameters
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docnew.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 841110bc8d0f..669bc97869fe 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docnew.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: jp $ $Date: 2001-03-30 13:16:29 $
+ * last change: $Author: jp $ $Date: 2001-04-05 14:37:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -856,8 +856,12 @@ void SwDoc::SetForbiddenCharacters( USHORT nLang,
const com::sun::star::i18n::ForbiddenCharacters& rFChars )
{
if( !xForbiddenCharsTable.isValid() )
- xForbiddenCharsTable = new SvxForbiddenCharactersTable(
- ::comphelper::getProcessServiceFactory() );
+ {
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::lang::XMultiServiceFactory > xMSF =
+ ::comphelper::getProcessServiceFactory();
+ xForbiddenCharsTable = new SvxForbiddenCharactersTable( xMSF );
+ }
xForbiddenCharsTable->SetForbiddenCharacters( nLang, rFChars );
if( pDrawModel )
{