INTEGRATION: CWS fwk69 (1.14.10); FILE MERGED

2007/07/23 06:46:54 cd 1.14.10.1: #i79686# Service must be created by using service manager
This commit is contained in:
Jens-Heiner Rechtien 2007-08-02 16:04:28 +00:00
parent 0533b406c4
commit 0f82b10f5d

View file

@ -4,9 +4,9 @@
*
* $RCSfile: imagemanager.cxx,v $
*
* $Revision: 1.14 $
* $Revision: 1.15 $
*
* last change: $Author: rt $ $Date: 2007-07-06 12:23:04 $
* last change: $Author: hr $ $Date: 2007-08-02 17:04:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -189,6 +189,14 @@ DEFINE_XTYPEPROVIDER_6 ( ImageManager
::com::sun::star::ui::XUIConfigurationPersistence
)
DEFINE_XSERVICEINFO_MULTISERVICE ( ImageManager ,
::cppu::OWeakObject ,
SERVICENAME_IMAGEMANAGER ,
IMPLEMENTATIONNAME_IMAGEMANAGER
)
DEFINE_INIT_SERVICE ( ImageManager, {} )
static sal_Bool implts_checkAndScaleGraphic( uno::Reference< XGraphic >& rOutGraphic, const uno::Reference< XGraphic >& rInGraphic, sal_Int16 nImageType )
{
static Size aNormSize( IMAGE_SIZE_NORMAL, IMAGE_SIZE_NORMAL );