summaryrefslogtreecommitdiff
path: root/include/connectivity/FValue.hxx
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/connectivity/FValue.hxx
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/connectivity/FValue.hxx')
-rw-r--r--include/connectivity/FValue.hxx11
1 files changed, 11 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)