diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-05-03 12:37:08 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-05-03 12:37:08 +0000 |
commit | 3772516367111380c5cf172c09b8e3ada2015324 (patch) | |
tree | fcf4546e6f0cd12777027e6f628bb02063e9902e /xmloff | |
parent | 8d51ebae5c1ccdc50c7074b032151a0534f7f948 (diff) |
INTEGRATION: CWS binfilter (1.5.144); FILE MERGED
2003/08/19 15:46:32 aw 1.5.144.2: #110680#
Give ServiceManager as const reference and do not keep it as reference locally as member
2003/07/07 15:46:26 aw 1.5.144.1: #110680#
Changed all components to use the ServiceManager they were created with.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/XMLAutoTextEventImport.cxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx index 3ddde0a4b823..34ec775405b5 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextEventImport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLAutoTextEventImport.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hjs $ $Date: 2001-09-12 10:31:04 $ + * last change: $Author: rt $ $Date: 2004-05-03 13:37:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -119,8 +119,10 @@ using ::xmloff::token::XML_AUTO_TEXT_EVENTS; const sal_Char sAPI_AutoText[] = "com.sun.star.text.AutoTextContainer"; -XMLAutoTextEventImport::XMLAutoTextEventImport() throw() : - SvXMLImport() +// #110680# +XMLAutoTextEventImport::XMLAutoTextEventImport( + const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory) throw() +: SvXMLImport(xServiceFactory) { } @@ -196,6 +198,8 @@ Reference< XInterface > SAL_CALL XMLAutoTextEventImport_createInstance( const Reference< XMultiServiceFactory > & rSMgr) throw( Exception ) { - return (cppu::OWeakObject*)new XMLAutoTextEventImport; + // #110680# + // return (cppu::OWeakObject*)new XMLAutoTextEventImport; + return (cppu::OWeakObject*)new XMLAutoTextEventImport(rSMgr); } |