diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-13 23:26:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-13 23:26:48 +0200 |
commit | f5051821bc5da0fa7b3de78d21aee305fce3d46b (patch) | |
tree | 7831807eec592a6471aac59c5f567ea82dd6a23e /desktop/source/deployment/misc/dp_descriptioninfoset.cxx | |
parent | f7ea60218ae96cda55dc39073fac807df64f18de (diff) |
Clean up function declarations and some unused functions
Change-Id: Ie35d71a03d2f89cd72836db21fac8746a9e85b09
Diffstat (limited to 'desktop/source/deployment/misc/dp_descriptioninfoset.cxx')
-rw-r--r-- | desktop/source/deployment/misc/dp_descriptioninfoset.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx index 6b51b98be06d..d22d8c5ef6c3 100644 --- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx +++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx @@ -26,6 +26,7 @@ #include "comphelper/seqstream.hxx" #include "comphelper/makesequence.hxx" #include "comphelper/processfactory.hxx" +#include "boost/noncopyable.hpp" #include "boost/optional.hpp" #include "com/sun/star/configuration/theDefaultProvider.hpp" #include "com/sun/star/container/XNameAccess.hpp" @@ -58,7 +59,9 @@ namespace { using css::uno::Reference; -class EmptyNodeList: public ::cppu::WeakImplHelper1< css::xml::dom::XNodeList > +class EmptyNodeList: + public cppu::WeakImplHelper1<css::xml::dom::XNodeList>, + private boost::noncopyable { public: EmptyNodeList(); @@ -69,10 +72,6 @@ public: virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(::sal_Int32 index) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - -private: - EmptyNodeList(EmptyNodeList &); // not defined - void operator =(EmptyNodeList &); // not defined }; EmptyNodeList::EmptyNodeList() {} |