summaryrefslogtreecommitdiff
path: root/reportdesign/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:25:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:00 +0100
commit034f2e1a2ace6c05e0a9fde192f4929303754544 (patch)
tree5f3c2432c3379cca7968ad0c22053ba17d7400b5 /reportdesign/inc
parentcd5c0adf811f8b63c312dc48c2790759eb19deeb (diff)
loplugin:deletedspecial
Change-Id: I1e61d3553795ed8e2b7bc6fa3d1c0f881e777b08
Diffstat (limited to 'reportdesign/inc')
-rw-r--r--reportdesign/inc/ModuleHelper.hxx3
-rw-r--r--reportdesign/inc/PropertyForward.hxx4
-rw-r--r--reportdesign/inc/ReportDefinition.hxx4
-rw-r--r--reportdesign/inc/RptModel.hxx4
-rw-r--r--reportdesign/inc/RptObject.hxx4
-rw-r--r--reportdesign/inc/UndoActions.hxx8
-rw-r--r--reportdesign/inc/UndoEnv.hxx4
-rw-r--r--reportdesign/inc/conditionalexpression.hxx5
8 files changed, 17 insertions, 19 deletions
diff --git a/reportdesign/inc/ModuleHelper.hxx b/reportdesign/inc/ModuleHelper.hxx
index e1fb2f7bf0a5..e88971bb45c5 100644
--- a/reportdesign/inc/ModuleHelper.hxx
+++ b/reportdesign/inc/ModuleHelper.hxx
@@ -37,8 +37,7 @@ namespace rptui
friend class OModuleClient;
private:
- OModule();
- // not implemented. OModule is a static class
+ OModule() SAL_DELETED_FUNCTION; //TODO: get rid of this class
protected:
static sal_Int32 s_nClients; /// number of registered clients
diff --git a/reportdesign/inc/PropertyForward.hxx b/reportdesign/inc/PropertyForward.hxx
index f4a0f60597f2..b77d0cd60eea 100644
--- a/reportdesign/inc/PropertyForward.hxx
+++ b/reportdesign/inc/PropertyForward.hxx
@@ -49,8 +49,8 @@ namespace rptui
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> m_xDest;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> m_xDestInfo;
bool m_bInChange;
- OPropertyMediator(OPropertyMediator&);
- void operator =(OPropertyMediator&);
+ OPropertyMediator(OPropertyMediator&) SAL_DELETED_FUNCTION;
+ void operator =(OPropertyMediator&) SAL_DELETED_FUNCTION;
protected:
virtual ~OPropertyMediator();
diff --git a/reportdesign/inc/ReportDefinition.hxx b/reportdesign/inc/ReportDefinition.hxx
index 68bf784b3923..763d2e8332ef 100644
--- a/reportdesign/inc/ReportDefinition.hxx
+++ b/reportdesign/inc/ReportDefinition.hxx
@@ -96,8 +96,8 @@ namespace reportdesign
::boost::shared_ptr<OReportDefinitionImpl> m_pImpl;
private:
- OReportDefinition(const OReportDefinition&);
- OReportDefinition& operator=(const OReportDefinition&);
+ OReportDefinition(const OReportDefinition&) SAL_DELETED_FUNCTION;
+ OReportDefinition& operator=(const OReportDefinition&) SAL_DELETED_FUNCTION;
void setSection( const OUString& _sProperty
,const bool& _bOn
diff --git a/reportdesign/inc/RptModel.hxx b/reportdesign/inc/RptModel.hxx
index c0c35b68e8be..d3a606240033 100644
--- a/reportdesign/inc/RptModel.hxx
+++ b/reportdesign/inc/RptModel.hxx
@@ -49,8 +49,8 @@ private:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoModel() SAL_OVERRIDE;
- OReportModel( const OReportModel& );
- void operator=(const OReportModel& rSrcModel);
+ OReportModel( const OReportModel& ) SAL_DELETED_FUNCTION;
+ void operator=(const OReportModel& rSrcModel) SAL_DELETED_FUNCTION;
public:
TYPEINFO_OVERRIDE();
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx
index bb61305240cb..0c83c5e93a54 100644
--- a/reportdesign/inc/RptObject.hxx
+++ b/reportdesign/inc/RptObject.hxx
@@ -54,8 +54,8 @@ typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexTo
DlgEdHintKind eHintKind;
OUnoObject* pDlgEdObj;
- DlgEdHint(DlgEdHint&);
- void operator =(DlgEdHint&);
+ DlgEdHint(DlgEdHint&) SAL_DELETED_FUNCTION;
+ void operator =(DlgEdHint&) SAL_DELETED_FUNCTION;
public:
DlgEdHint( DlgEdHintKind eHint );
virtual ~DlgEdHint();
diff --git a/reportdesign/inc/UndoActions.hxx b/reportdesign/inc/UndoActions.hxx
index 2079a68b5b8f..14d33bd1d149 100644
--- a/reportdesign/inc/UndoActions.hxx
+++ b/reportdesign/inc/UndoActions.hxx
@@ -62,8 +62,8 @@ namespace rptui
class REPORTDESIGN_DLLPUBLIC OGroupHelper
{
::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup > m_xGroup;
- OGroupHelper(const OGroupHelper&);
- OGroupHelper& operator=(const OGroupHelper&);
+ OGroupHelper(const OGroupHelper&) SAL_DELETED_FUNCTION;
+ OGroupHelper& operator=(const OGroupHelper&) SAL_DELETED_FUNCTION;
public:
OGroupHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup >& _xGroup)
:m_xGroup(_xGroup)
@@ -171,8 +171,8 @@ namespace rptui
class REPORTDESIGN_DLLPUBLIC OUndoContainerAction: public OCommentUndoAction
{
- OUndoContainerAction(OUndoContainerAction&);
- void operator =(OUndoContainerAction&);
+ OUndoContainerAction(OUndoContainerAction&) SAL_DELETED_FUNCTION;
+ void operator =(OUndoContainerAction&) SAL_DELETED_FUNCTION;
protected:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
m_xElement; // object not owned by the action
diff --git a/reportdesign/inc/UndoEnv.hxx b/reportdesign/inc/UndoEnv.hxx
index 9b4f6de8bac6..aa7936180249 100644
--- a/reportdesign/inc/UndoEnv.hxx
+++ b/reportdesign/inc/UndoEnv.hxx
@@ -42,8 +42,8 @@ namespace rptui
{
const ::std::unique_ptr<OXUndoEnvironmentImpl> m_pImpl;
- OXUndoEnvironment(const OXUndoEnvironment&);
- OXUndoEnvironment& operator=(const OXUndoEnvironment&);
+ OXUndoEnvironment(const OXUndoEnvironment&) SAL_DELETED_FUNCTION;
+ OXUndoEnvironment& operator=(const OXUndoEnvironment&) SAL_DELETED_FUNCTION;
protected:
virtual ~OXUndoEnvironment();
diff --git a/reportdesign/inc/conditionalexpression.hxx b/reportdesign/inc/conditionalexpression.hxx
index ae65306d68b7..04270c70d108 100644
--- a/reportdesign/inc/conditionalexpression.hxx
+++ b/reportdesign/inc/conditionalexpression.hxx
@@ -100,9 +100,8 @@ namespace rptui
static size_t getKnownConditionalExpressions( ConditionalExpressions& _out_rCondExp );
private:
- ConditionalExpressionFactory(); // never implemented
- ConditionalExpressionFactory( const ConditionalExpressionFactory& ); // never implemented
- ConditionalExpressionFactory& operator=( const ConditionalExpressionFactory& ); // never implemented
+ ConditionalExpressionFactory( const ConditionalExpressionFactory& ) SAL_DELETED_FUNCTION;
+ ConditionalExpressionFactory& operator=( const ConditionalExpressionFactory& ) SAL_DELETED_FUNCTION;
};
} // namespace rptui