summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ChartDropTargetHelper.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-24 18:59:09 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-24 21:27:04 +0000
commit59dc694c9f858f0c892818ba6370665b352de6a8 (patch)
treed1a0e88b9fbbcdb35a218b39f93808c531522ccd /chart2/source/controller/main/ChartDropTargetHelper.hxx
parentremove comment about old compiler issue (diff)
downloadcore-59dc694c9f858f0c892818ba6370665b352de6a8.tar.gz
core-59dc694c9f858f0c892818ba6370665b352de6a8.zip
C++11: disable ctors instead of not implementing them (chart2)
replace the old declare and don't implement pattern with C++11 delete keyword Change-Id: I10b14cece4ecaddc5f96ee098b5fa36a8782a0fc Reviewed-on: https://gerrit.libreoffice.org/24340 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2/source/controller/main/ChartDropTargetHelper.hxx')
-rw-r--r--chart2/source/controller/main/ChartDropTargetHelper.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartDropTargetHelper.hxx b/chart2/source/controller/main/ChartDropTargetHelper.hxx
index ebb52745adbe..41dc2b6cdfd3 100644
--- a/chart2/source/controller/main/ChartDropTargetHelper.hxx
+++ b/chart2/source/controller/main/ChartDropTargetHelper.hxx
@@ -33,6 +33,7 @@ namespace chart
class ChartDropTargetHelper : public DropTargetHelper
{
public:
+ ChartDropTargetHelper() = delete;
explicit ChartDropTargetHelper(
const css::uno::Reference< css::datatransfer::dnd::XDropTarget >& rxDropTarget,
const css::uno::Reference< css::chart2::XChartDocument > & xChartDocument );
@@ -44,9 +45,6 @@ protected:
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) override;
private:
- // not available
- ChartDropTargetHelper();
-
bool satisfiesPrerequisites() const;
css::uno::Reference< css::chart2::XChartDocument > m_xChartDocument;