summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-15 08:37:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-15 08:37:14 +0200
commitf981c42edac92ac03dd04e87baab238b84963de5 (patch)
treeb5a074a76daf3a46fbc1d5bb44312d11fd6863dd /unoxml/source
parent74649d4c397134348cedd1d9da6d2b66b9a4970f (diff)
Clean up function declarations
Change-Id: I1be08414e3c816f01a9712eeb9474acc16838389
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/rdf/CBlankNode.cxx7
-rw-r--r--unoxml/source/rdf/CLiteral.cxx7
-rw-r--r--unoxml/source/rdf/CURI.cxx7
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 <boost/noncopyable.hpp>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -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 <boost/noncopyable.hpp>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -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 <boost/noncopyable.hpp>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -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);