summaryrefslogtreecommitdiff
path: root/sw/inc/unodraw.hxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-05-21 11:40:40 +0000
committerOliver Specht <os@openoffice.org>2001-05-21 11:40:40 +0000
commitb1299d18f728c38c6bb4441e3dd517215600ddf5 (patch)
treef658b2a2913b220849cf6ddff25f6b5e0f19c0c0 /sw/inc/unodraw.hxx
parentd0f40bf6bf78f13de980aa4a775fc68e18fcbeaf (diff)
#79947# optimization: XFormsSupplier implemented at SwXDrawPage
Diffstat (limited to 'sw/inc/unodraw.hxx')
-rw-r--r--sw/inc/unodraw.hxx17
1 files changed, 12 insertions, 5 deletions
diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx
index ffa5f7a310e7..4929492e759e 100644
--- a/sw/inc/unodraw.hxx
+++ b/sw/inc/unodraw.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unodraw.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: os $ $Date: 2001-04-04 12:29:22 $
+ * last change: $Author: os $ $Date: 2001-05-21 12:38:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -82,8 +82,11 @@
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSTATE_HPP_
#include <com/sun/star/beans/XPropertyState.hpp>
#endif
-#ifndef _CPPUHELPER_IMPLBASE3_HXX_
-#include <cppuhelper/implbase3.hxx> // helper for implementations
+#ifndef _COM_SUN_STAR_FORM_XFORMSSUPPLIER_HPP_
+#include <com/sun/star/form/XFormsSupplier.hpp>
+#endif
+#ifndef _CPPUHELPER_IMPLBASE4_HXX_
+#include <cppuhelper/implbase4.hxx> // helper for implementations
#endif
#ifndef _CPPUHELPER_IMPLBASE5_HXX_
#include <cppuhelper/implbase5.hxx> // helper for implementations
@@ -130,8 +133,9 @@ public:
/* -----------------09.12.98 08:57-------------------
*
* --------------------------------------------------*/
-typedef cppu::WeakAggImplHelper3
+typedef cppu::WeakAggImplHelper4
<
+ ::com::sun::star::form::XFormsSupplier,
::com::sun::star::drawing::XDrawPage,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::drawing::XShapeGrouper
@@ -165,6 +169,9 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapeGroup > SAL_CALL group(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > & xShapes) throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL ungroup(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapeGroup > & aGroup) throw( ::com::sun::star::uno::RuntimeException );
+ //XFormsSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > SAL_CALL getForms( ) throw (::com::sun::star::uno::RuntimeException);
+
//XServiceInfo
virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );