diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx index f466dffde306..942dcf796dce 100644 --- a/sc/inc/appoptio.hxx +++ b/sc/inc/appoptio.hxx @@ -2,9 +2,9 @@ * * $RCSfile: appoptio.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-22 07:55:02 $ + * last change: $Author: nn $ $Date: 2000-11-02 19:10:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,8 +79,8 @@ #include "global.hxx" #endif -#ifndef SC_VIEWOPTI_HXX -#include "viewopti.hxx" //! move ScLinkConfigItem to separate header! +#ifndef SC_OPTUTIL_HXX +#include "optutil.hxx" #endif diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx index 5a3c0349f0d9..23b68c62b1d4 100644 --- a/sc/inc/docoptio.hxx +++ b/sc/inc/docoptio.hxx @@ -2,9 +2,9 @@ * * $RCSfile: docoptio.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-22 07:55:02 $ + * last change: $Author: nn $ $Date: 2000-11-02 19:10:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -71,8 +71,8 @@ #include #endif -#ifndef SC_VIEWOPTI_HXX -#include "viewopti.hxx" //! move ScLinkConfigItem to separate header! +#ifndef SC_OPTUTIL_HXX +#include "optutil.hxx" #endif diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx index 9d37a3b9a32d..4cd189a3073d 100644 --- a/sc/inc/viewopti.hxx +++ b/sc/inc/viewopti.hxx @@ -2,9 +2,9 @@ * * $RCSfile: viewopti.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: nn $ $Date: 2000-09-22 07:54:25 $ + * last change: $Author: nn $ $Date: 2000-11-02 19:10:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,8 +70,8 @@ #include #endif -#ifndef _UTL_CONFIGITEM_HXX_ -#include +#ifndef SC_OPTUTIL_HXX +#include "optutil.hxx" #endif #ifndef SC_SCGLOB_HXX @@ -207,35 +207,6 @@ private: }; -// ConfigItem for classes that use items from several sub trees -//! move to separate header file - -class ScLinkConfigItem : public utl::ConfigItem -{ - Link aCommitLink; - -public: - ScLinkConfigItem( const rtl::OUString rSubTree ); - void SetCommitLink( const Link& rLink ); - - virtual void Notify( const com::sun::star::uno::Sequence& aPropertyNames ); - virtual void Commit(); - - void SetModified() { ConfigItem::SetModified(); } - com::sun::star::uno::Sequence< com::sun::star::uno::Any> - GetProperties(const com::sun::star::uno::Sequence< rtl::OUString >& rNames) - { return ConfigItem::GetProperties( rNames ); } - sal_Bool PutProperties( const com::sun::star::uno::Sequence< rtl::OUString >& rNames, - const com::sun::star::uno::Sequence< com::sun::star::uno::Any>& rValues) - { return ConfigItem::PutProperties( rNames, rValues ); } - sal_Bool EnableNotification(com::sun::star::uno::Sequence< rtl::OUString >& rNames) - { return ConfigItem::EnableNotification( rNames ); } - - com::sun::star::uno::Sequence< rtl::OUString > GetNodeNames(rtl::OUString& rNode) - { return ConfigItem::GetNodeNames( rNode ); } -}; - - //================================================================== // CfgItem fuer View-Optionen //==================================================================