summaryrefslogtreecommitdiff
path: root/sc/inc/cellvalue.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-12-05 15:09:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-12-06 08:58:27 +0000
commit097d12bd738467765ae9aa0f4129cf3153510241 (patch)
tree0c8e67129bf6bed09e8cb3dfc858b96995559a6d /sc/inc/cellvalue.hxx
parente6928ce494339a74e5e5b1ab1d32af4adcef3e11 (diff)
coverity#1421089 seems to be really reporting missing move ctors/assignments
Change-Id: I434eebac395bbb53a0c586a43568f64ec3fb8448
Diffstat (limited to 'sc/inc/cellvalue.hxx')
-rw-r--r--sc/inc/cellvalue.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/cellvalue.hxx b/sc/inc/cellvalue.hxx
index 430212245870..153411c2b63e 100644
--- a/sc/inc/cellvalue.hxx
+++ b/sc/inc/cellvalue.hxx
@@ -44,6 +44,7 @@ struct SC_DLLPUBLIC ScCellValue
ScCellValue( double fValue );
ScCellValue( const svl::SharedString& rString );
ScCellValue( const ScCellValue& r );
+ ScCellValue( ScCellValue&& r );
~ScCellValue();
void clear();
@@ -84,6 +85,7 @@ struct SC_DLLPUBLIC ScCellValue
bool equalsWithoutFormat( const ScCellValue& r ) const;
ScCellValue& operator= ( const ScCellValue& r );
+ ScCellValue& operator= ( ScCellValue&& r );
ScCellValue& operator= ( const ScRefCellValue& r );
void swap( ScCellValue& r );