summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@me.com>2019-05-16 11:33:38 +0200
committerArmin Le Grand <Armin.Le.Grand@me.com>2019-05-18 01:29:25 +0200
commit10d8682e4cf77361e0ebf68a4ea1b565f05e91a9 (patch)
tree04159e0b5992ceda41c745afb2d8a9b913f172d2 /sc/inc
parent1cbf0ee54519bf81d934609352e8a1a641d8a534 (diff)
Adapt AutoFormatHelper to std::unique_ptr
Change-Id: I3087a7e95e73dbcda798ca62705f7941a6466ccb Reviewed-on: https://gerrit.libreoffice.org/72401 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/autoform.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx
index 5a6676f15500..8fad143b8400 100644
--- a/sc/inc/autoform.hxx
+++ b/sc/inc/autoform.hxx
@@ -112,6 +112,9 @@ public:
ScAutoFormatDataField( const ScAutoFormatDataField& rCopy );
~ScAutoFormatDataField();
+ // block assignment operator
+ ScAutoFormatDataField& operator=(const ScAutoFormatDataField& rRef) = delete;
+
// number format
const ScNumFormatAbbrev& GetNumFormat() const { return aNumFormat; }