diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-30 04:05:08 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-30 19:32:03 +0100 |
commit | 225e4ac6511699aba57286a7c3bff08c3c438406 (patch) | |
tree | ac74e871c24b8bdc8f4fc0e571f480760007d3ba /sc/inc/attarray.hxx | |
parent | b0255df4bd988a89d41be060c4972d37eb9e3ec8 (diff) |
prevent copy c'tor and operator=
Change-Id: Ibf45ab23a2272043729e7404de89ad514735bf06
Diffstat (limited to 'sc/inc/attarray.hxx')
-rw-r--r-- | sc/inc/attarray.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx index 0f6b4195e452..9fc9677fec81 100644 --- a/sc/inc/attarray.hxx +++ b/sc/inc/attarray.hxx @@ -98,6 +98,11 @@ friend void ScAttrArray_IterGetNumberFormat( sal_uLong& nFormat, void RemoveCellCharAttribs( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr* pPattern, ScEditDataArray* pDataArray ); + // prevent the copy c'tor and operator= + // this is just to prevent accidental use + ScAttrArray(const ScAttrArray&); + ScAttrArray& operator=(const ScAttrArray&); + public: ScAttrArray( SCCOL nNewCol, SCTAB nNewTab, ScDocument* pDoc ); ~ScAttrArray(); |