diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-12-07 09:50:30 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-12-07 09:50:30 +0000 |
commit | 9efe73cce37cf161822d8f31511e19d856b5cede (patch) | |
tree | 8c368a10f16c726758a58c2ddabb66b6cab97026 /sc/source/ui/vba/vbacomment.hxx | |
parent | bc79cdf8d662b7bd423a640e67e4db371801938d (diff) |
INTEGRATION: CWS npower8 (1.2.4); FILE MERGED
2007/07/18 13:46:45 npower 1.2.4.2: #i77189# sync ooo-build and this module
2007/05/10 11:23:09 npower 1.2.4.1: -m#i77189#
Diffstat (limited to 'sc/source/ui/vba/vbacomment.hxx')
-rw-r--r-- | sc/source/ui/vba/vbacomment.hxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sc/source/ui/vba/vbacomment.hxx b/sc/source/ui/vba/vbacomment.hxx index badcea6f807c..fa335fa78d89 100644 --- a/sc/source/ui/vba/vbacomment.hxx +++ b/sc/source/ui/vba/vbacomment.hxx @@ -4,9 +4,9 @@ * * $RCSfile: vbacomment.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2007-04-25 16:04:48 $ + * last change: $Author: vg $ $Date: 2007-12-07 10:48:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,14 +44,13 @@ #include <com/sun/star/table/XCellRange.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include "vbahelper.hxx" +#include "vbahelperinterface.hxx" -typedef ::cppu::WeakImplHelper1< oo::excel::XComment > ScVbaComment_BASE; +typedef InheritedHelperInterfaceImpl1< oo::excel::XComment > ScVbaComment_BASE; class ScVbaComment : public ScVbaComment_BASE { css::uno::Reference< css::table::XCellRange > mxRange; - css::uno::Reference< css::uno::XComponentContext > m_xContext; private: css::uno::Reference< css::sheet::XSheetAnnotation > SAL_CALL getAnnotation() throw (css::uno::RuntimeException); @@ -59,16 +58,13 @@ private: sal_Int32 SAL_CALL getAnnotationIndex() throw (css::uno::RuntimeException); css::uno::Reference< oo::excel::XComment > SAL_CALL getCommentByIndex( sal_Int32 Index ) throw (css::uno::RuntimeException); public: - ScVbaComment( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::table::XCellRange >& xRange ) throw ( css::lang::IllegalArgumentException ); + ScVbaComment( const css::uno::Reference< oo::vba::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::table::XCellRange >& xRange ) throw ( css::lang::IllegalArgumentException ); virtual ~ScVbaComment() {} // Attributes - virtual css::uno::Reference< oo::excel::XApplication > SAL_CALL getApplication() throw (css::uno::RuntimeException); virtual rtl::OUString SAL_CALL getAuthor() throw (css::uno::RuntimeException); virtual void SAL_CALL setAuthor( const rtl::OUString& _author ) throw (css::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getCreator() throw (css::uno::RuntimeException); - virtual css::uno::Reference< oo::excel::XRange > SAL_CALL getParent() throw (css::uno::RuntimeException); virtual sal_Bool SAL_CALL getVisible() throw (css::uno::RuntimeException); virtual void SAL_CALL setVisible( sal_Bool _visible ) throw (css::uno::RuntimeException); @@ -77,6 +73,9 @@ public: virtual css::uno::Reference< oo::excel::XComment > SAL_CALL Next() throw (css::uno::RuntimeException); virtual css::uno::Reference< oo::excel::XComment > SAL_CALL Previous() throw (css::uno::RuntimeException); virtual rtl::OUString SAL_CALL Text( const css::uno::Any& Text, const css::uno::Any& Start, const css::uno::Any& Overwrite ) throw (css::uno::RuntimeException); + // XHelperInterface + virtual rtl::OUString& getServiceImplName(); + virtual css::uno::Sequence<rtl::OUString> getServiceNames(); }; #endif /* SC_VBA_COMMENT_HXX */ |