diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-26 16:10:13 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-04-26 16:44:10 +0000 |
commit | 2bb6221b39192d23ff0ceac3619461949edb5204 (patch) | |
tree | 8d2008d45de39277da718acea314369e3d319bb0 /sc/inc/hints.hxx | |
parent | 32cec4ca8bf1e09dd33aa461984e8e8ae34f4a7c (diff) |
C++11: disable ctors instead of not implementing them (sc)
replace the old declare and don't implement pattern
with C++11 delete keyword
Change-Id: I96c71d512d8dab4ad7c806c2e871604163fc49c1
Reviewed-on: https://gerrit.libreoffice.org/24399
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sc/inc/hints.hxx')
-rw-r--r-- | sc/inc/hints.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx index f219973ae622..9999326e7738 100644 --- a/sc/inc/hints.hxx +++ b/sc/inc/hints.hxx @@ -30,9 +30,8 @@ class ScPaintHint : public SfxHint sal_uInt16 nParts; bool bPrint; // flag indicating whether print/preview if affected - ScPaintHint(); // disabled - public: + ScPaintHint() = delete; ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint = PAINT_ALL ); virtual ~ScPaintHint(); |