summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-25 11:53:50 +0200
committerNoel Grandin <noel@peralex.com>2016-08-25 12:05:59 +0200
commit9fda8f5ad61c11d72718a50a175b23cb43bfa9ab (patch)
treef57fed299093905446f53b03bac6db40d169be4f /include
parenta95ef3313387b8d30c5b60c397bb839afd7d60dc (diff)
fix move operator= and add move constructors
followup to: 19828cc0 "cid#1371315 Missing move assignment operator" and 0e748707 "cid#1371320 Missing move assignment operator" Change-Id: Id2479fef41cf8d98eef9246f3a86e6c9289c3d58
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/FValue.hxx11
-rw-r--r--include/drawinglayer/attribute/strokeattribute.hxx1
2 files changed, 12 insertions, 0 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx
index 3964f3a1be3f..aeac0c105371 100644
--- a/include/connectivity/FValue.hxx
+++ b/include/connectivity/FValue.hxx
@@ -98,6 +98,17 @@ namespace connectivity
operator=(_rRH);
}
+ ORowSetValue(ORowSetValue&& _rRH)
+ :m_eTypeKind(css::sdbc::DataType::VARCHAR)
+ ,m_bNull(true)
+ ,m_bBound(true)
+ ,m_bModified(false)
+ ,m_bSigned(true)
+ {
+ m_aValue.m_pString = nullptr;
+ operator=(_rRH);
+ }
+
ORowSetValue(const OUString& _rRH)
:m_eTypeKind(css::sdbc::DataType::VARCHAR)
,m_bNull(true)
diff --git a/include/drawinglayer/attribute/strokeattribute.hxx b/include/drawinglayer/attribute/strokeattribute.hxx
index 4ca39552d9ec..5404158b661c 100644
--- a/include/drawinglayer/attribute/strokeattribute.hxx
+++ b/include/drawinglayer/attribute/strokeattribute.hxx
@@ -51,6 +51,7 @@ namespace drawinglayer
double fFullDotDashLen = 0.0);
StrokeAttribute();
StrokeAttribute(const StrokeAttribute& rCandidate);
+ StrokeAttribute(StrokeAttribute&& rCandidate);
StrokeAttribute& operator=(const StrokeAttribute& rCandidate);
StrokeAttribute& operator=(StrokeAttribute&& rCandidate);
~StrokeAttribute();