From f981c42edac92ac03dd04e87baab238b84963de5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 15 Apr 2014 08:37:14 +0200 Subject: Clean up function declarations Change-Id: I1be08414e3c816f01a9712eeb9474acc16838389 --- unoxml/source/rdf/CBlankNode.cxx | 7 +++---- unoxml/source/rdf/CLiteral.cxx | 7 +++---- unoxml/source/rdf/CURI.cxx | 7 +++---- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index 1d1e7b644ee4..2c16ee4fcd02 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -19,6 +19,7 @@ #include "CNodes.hxx" +#include #include #include #include @@ -35,7 +36,8 @@ class CBlankNode: public ::cppu::WeakImplHelper3< css::lang::XServiceInfo, css::lang::XInitialization, - css::rdf::XBlankNode> + css::rdf::XBlankNode>, + private boost::noncopyable { public: explicit CBlankNode(css::uno::Reference< css::uno::XComponentContext > const & context); @@ -53,9 +55,6 @@ public: virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - CBlankNode(const CBlankNode &); // not defined - CBlankNode& operator=(const CBlankNode &); // not defined - css::uno::Reference< css::uno::XComponentContext > m_xContext; OUString m_NodeID; diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index 6d69facdb9f8..5fd0befed7cd 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -19,6 +19,7 @@ #include "CNodes.hxx" +#include #include #include #include @@ -37,7 +38,8 @@ class CLiteral: public ::cppu::WeakImplHelper3< css::lang::XServiceInfo, css::lang::XInitialization, - css::rdf::XLiteral> + css::rdf::XLiteral>, + private boost::noncopyable { public: explicit CLiteral(css::uno::Reference< css::uno::XComponentContext > const & context); @@ -60,9 +62,6 @@ public: virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - CLiteral(const CLiteral &); // not defined - CLiteral& operator=(const CLiteral &); // not defined - css::uno::Reference< css::uno::XComponentContext > m_xContext; OUString m_Value; diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index 6ddd1c6c6f81..228af1c63f13 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -19,6 +19,7 @@ #include "CNodes.hxx" +#include #include #include #include @@ -36,7 +37,8 @@ class CURI: public ::cppu::WeakImplHelper3< css::lang::XServiceInfo, css::lang::XInitialization, - css::rdf::XURI> + css::rdf::XURI>, + private boost::noncopyable { public: explicit CURI(css::uno::Reference< css::uno::XComponentContext > const & context); @@ -58,9 +60,6 @@ public: virtual OUString SAL_CALL getNamespace() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - CURI(const CURI &); // not defined - CURI& operator=(const CURI &); // not defined - /// handle css.rdf.URIs void SAL_CALL initFromConstant(const sal_Int16 i_Constant); -- cgit