diff --git a/configmgr/source/api2/confignotifier.cxx b/configmgr/source/api2/confignotifier.cxx index 111e773acfdc..047ad1964333 100644 --- a/configmgr/source/api2/confignotifier.cxx +++ b/configmgr/source/api2/confignotifier.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: confignotifier.cxx,v $ - * $Revision: 1.11 $ + * $Revision: 1.12 $ * * This file is part of OpenOffice.org. * @@ -156,13 +156,6 @@ void Notifier::addForOne(NodeRef const& aNode, uno::Reference< css::beans::XVeto } // --------------------------------------------------------------------------------------------------- -void Notifier::add(NodeRef const& aNode, uno::Reference< css::beans::XPropertiesChangeListener > const& xListener) const -{ - if (xListener.is()) - m_aImpl->add( NodeID(m_pTree->getTree(),aNode), xListener ); -} -// --------------------------------------------------------------------------------------------------- - void Notifier::add(NodeRef const& aNode, uno::Reference< css::beans::XPropertiesChangeListener > const& xListener, uno::Sequence const& aNames) const { if (xListener.is()) @@ -233,11 +226,6 @@ void Notifier::remove(NodeRef const& aNode, uno::Reference< css::beans::XPropert // --------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------- -DisposeGuardImpl::DisposeGuardImpl(NotifierImpl&) throw() -{ -} -// --------------------------------------------------------------------------------------------------- - DisposeGuardImpl::DisposeGuardImpl(Notifier const&) throw() { } @@ -246,37 +234,18 @@ DisposeGuardImpl::~DisposeGuardImpl() throw () { } // --------------------------------------------------------------------------------------------------- -GuardedNotifier::GuardedNotifier(Notifier const& rNotifier) throw() -: m_aNotifier(rNotifier) -, m_aImpl(rNotifier) -{ -} -// --------------------------------------------------------------------------------------------------- GuardedNotifier::GuardedNotifier(NodeAccess& rNode) throw() : m_aNotifier(rNode.getNotifier()) , m_aImpl(m_aNotifier) { } // --------------------------------------------------------------------------------------------------- -GuardedNotifier::GuardedNotifier(TreeElement& rTree) throw() -: m_aNotifier(rTree.getNotifier()) -, m_aImpl(m_aNotifier) -{ -} -// --------------------------------------------------------------------------------------------------- DisposeGuard::DisposeGuard(NodeAccess& rNode) throw(css::lang::DisposedException) : m_aImpl(rNode.getNotifier()) { rNode.checkAlive(); } -// --------------------------------------------------------------------------------------------------- - -DisposeGuard::DisposeGuard(TreeElement& rTree) throw(css::lang::DisposedException) -: m_aImpl(rTree.getNotifier()) -{ - rTree.checkAlive(); -} // --------------------------------------------------------------------------------------------------- } } diff --git a/configmgr/source/backend/binaryreadhandler.cxx b/configmgr/source/backend/binaryreadhandler.cxx index 58aa54b7d290..488ea7aaf8c9 100644 --- a/configmgr/source/backend/binaryreadhandler.cxx +++ b/configmgr/source/backend/binaryreadhandler.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: binaryreadhandler.cxx,v $ - * $Revision: 1.11 $ + * $Revision: 1.12 $ * * This file is part of OpenOffice.org. * @@ -262,12 +262,6 @@ namespace configmgr // ----------------------------------------------------------------------------- - void BinaryReadHandler::readString(rtl::OUString &_aString) - SAL_THROW( (io::IOException, uno::RuntimeException) ) - { - m_BinaryReader.read (_aString); - } - void BinaryReadHandler::readName(rtl::OUString &_aString) SAL_THROW( (io::IOException, uno::RuntimeException) ) { diff --git a/configmgr/source/backend/binarywritehandler.cxx b/configmgr/source/backend/binarywritehandler.cxx index ee4a40e1fc90..f1d9cae24dc5 100644 --- a/configmgr/source/backend/binarywritehandler.cxx +++ b/configmgr/source/backend/binarywritehandler.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: binarywritehandler.cxx,v $ - * $Revision: 1.11 $ + * $Revision: 1.12 $ * * This file is part of OpenOffice.org. * @@ -354,15 +354,6 @@ namespace configmgr } // ----------------------------------------------------------------------------- - void BinaryWriteHandler::writeType(uno::Type const& _aType) - SAL_THROW( (io::IOException, uno::RuntimeException) ) - { - ValueFlags::Type eType = convertTypeToValueType(_aType); - sal_Int8 nValueType = sal_Int8(eType); - m_BinaryWriter.write(nValueType); - } - // ----------------------------------------------------------------------------- - void BinaryWriteHandler::writeValueNode(rtl::OUString const& _aName, node::Attributes const& _aAttributes, uno::Type const& _aType,