summaryrefslogtreecommitdiff
path: root/sw/inc/unofield.hxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-03-23 12:37:54 +0000
committerOliver Specht <os@openoffice.org>2001-03-23 12:37:54 +0000
commitc6922c25d1cc6fbb54035e1f71a381c335ab701e (patch)
tree3ea94a0f4b4d10f723ca890881080a9b69fba6bf /sw/inc/unofield.hxx
parent422d89f0ba62aa0921cfedad9a336475c355e395 (diff)
XUpdatable implemented
Diffstat (limited to 'sw/inc/unofield.hxx')
-rw-r--r--sw/inc/unofield.hxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/sw/inc/unofield.hxx b/sw/inc/unofield.hxx
index 66403c417e41..2cba21c91fed 100644
--- a/sw/inc/unofield.hxx
+++ b/sw/inc/unofield.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unofield.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: dvo $ $Date: 2001-03-08 14:14:55 $
+ * last change: $Author: os $ $Date: 2001-03-23 13:37:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,6 +67,9 @@
#ifndef _COM_SUN_STAR_UTIL_XREFRESHABLE_HPP_
#include <com/sun/star/util/XRefreshable.hpp>
#endif
+#ifndef _COM_SUN_STAR_UTIL_XUPDATABLE_HPP_
+#include <com/sun/star/util/XUpdatable.hpp>
+#endif
#ifndef _CALBCK_HXX //autogen
#include <calbck.hxx>
#endif
@@ -162,12 +165,13 @@ public:
*
* --------------------------------------------------*/
struct SwFieldProperties_Impl;
-class SwXTextField : public cppu::WeakImplHelper4
+class SwXTextField : public cppu::WeakImplHelper5
<
::com::sun::star::text::XDependentTextField,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::beans::XPropertySet,
- ::com::sun::star::lang::XUnoTunnel
+ ::com::sun::star::lang::XUnoTunnel,
+ ::com::sun::star::util::XUpdatable
>,
public SwClient
{
@@ -225,6 +229,9 @@ public:
virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
+ //XUpdatable
+ virtual void SAL_CALL update( ) throw (::com::sun::star::uno::RuntimeException);
+
//SwClient
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);