diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-02 16:04:28 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-02 16:04:28 +0000 |
commit | 0f82b10f5d5ac02361a5041c9f4a68636eeb9a48 (patch) | |
tree | 3caadc96262238c3cba75f112d222f36b2ecf5a6 /framework | |
parent | 0533b406c4fc0a7b2293ef5ac9ac3d0db73c599e (diff) |
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
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uiconfiguration/imagemanager.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/imagemanager.cxx b/framework/source/uiconfiguration/imagemanager.cxx index dce09b6095be..e5815b24233a 100644 --- a/framework/source/uiconfiguration/imagemanager.cxx +++ b/framework/source/uiconfiguration/imagemanager.cxx @@ -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 ); |