summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ComboBox.cxx2
-rw-r--r--forms/source/component/Currency.cxx2
-rw-r--r--forms/source/component/Date.cxx2
-rw-r--r--forms/source/component/FormattedField.cxx2
-rw-r--r--forms/source/component/ListBox.cxx8
-rw-r--r--forms/source/component/Numeric.cxx2
-rw-r--r--forms/source/component/Pattern.cxx2
-rw-r--r--forms/source/component/Time.cxx2
-rw-r--r--forms/source/misc/InterfaceContainer.cxx2
9 files changed, 12 insertions, 12 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx
index 1e5c327539a0..f49d8bba1dd5 100644
--- a/forms/source/component/ComboBox.cxx
+++ b/forms/source/component/ComboBox.cxx
@@ -746,7 +746,7 @@ bool OComboBoxModel::commitControlValueToDbColumn( bool _bPostReset )
}
}
- m_aLastKnownValue = aNewValue;
+ m_aLastKnownValue = std::move(aNewValue);
}
// add the new value to the list
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index fa106da8483e..2a8f2e20d56f 100644
--- a/forms/source/component/Currency.cxx
+++ b/forms/source/component/Currency.cxx
@@ -197,7 +197,7 @@ bool OCurrencyModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
return false;
}
}
- m_aSaveValue = aControlValue;
+ m_aSaveValue = std::move(aControlValue);
}
return true;
}
diff --git a/forms/source/component/Date.cxx b/forms/source/component/Date.cxx
index a349cd064cd1..6958a2b3b40b 100644
--- a/forms/source/component/Date.cxx
+++ b/forms/source/component/Date.cxx
@@ -250,7 +250,7 @@ bool ODateModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
return false;
}
}
- m_aSaveValue = aControlValue;
+ m_aSaveValue = std::move(aControlValue);
return true;
}
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx
index 520bdffc7799..05ad52cb2561 100644
--- a/forms/source/component/FormattedField.cxx
+++ b/forms/source/component/FormattedField.cxx
@@ -835,7 +835,7 @@ bool OFormattedModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
return false;
}
}
- m_aSaveValue = aControlValue;
+ m_aSaveValue = std::move(aControlValue);
return true;
}
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 3ff86a4eb189..35e63a69e935 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -428,10 +428,10 @@ namespace frm
case PROPERTY_ID_SELECT_VALUE :
{
// Any from connectivity::ORowSetValue
- Any _rCurrentValue = getCurrentSingleValue();
- if (_rCurrentValue != _rValue)
+ Any aCurrentValue = getCurrentSingleValue();
+ if (aCurrentValue != _rValue)
{
- _rOldValue = _rCurrentValue;
+ _rOldValue = std::move(aCurrentValue);
_rConvertedValue = _rValue;
bModified = true;
}
@@ -1943,7 +1943,7 @@ namespace frm
if (bModified)
{
- m_aCurrentSelection = aValue;
+ m_aCurrentSelection = std::move(aValue);
m_aChangeIdle.Start();
}
}
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx
index fd1697c296b0..201bcdbd79f1 100644
--- a/forms/source/component/Numeric.cxx
+++ b/forms/source/component/Numeric.cxx
@@ -146,7 +146,7 @@ bool ONumericModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
return false;
}
}
- m_aSaveValue = aControlValue;
+ m_aSaveValue = std::move(aControlValue);
}
return true;
}
diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx
index acd0d419e18e..e1c3cbfe4bca 100644
--- a/forms/source/component/Pattern.cxx
+++ b/forms/source/component/Pattern.cxx
@@ -152,7 +152,7 @@ bool OPatternModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
return false;
}
- m_aLastKnownValue = aNewValue;
+ m_aLastKnownValue = std::move(aNewValue);
return true;
}
diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx
index b98d0fe24f11..c6c590334fab 100644
--- a/forms/source/component/Time.cxx
+++ b/forms/source/component/Time.cxx
@@ -258,7 +258,7 @@ bool OTimeModel::commitControlValueToDbColumn( bool /*_bPostReset*/ )
return false;
}
}
- m_aSaveValue = aControlValue;
+ m_aSaveValue = std::move(aControlValue);
return true;
}
diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx
index 67ef5bfec6e2..259629dafb0b 100644
--- a/forms/source/misc/InterfaceContainer.cxx
+++ b/forms/source/misc/InterfaceContainer.cxx
@@ -749,7 +749,7 @@ void OInterfaceContainer::approveNewElement( const Reference< XPropertySet >& _r
{
_pElement->xPropertySet = _rxObject;
_pElement->xChild = std::move(xChild);
- _pElement->aElementTypeInterface = aCorrectType;
+ _pElement->aElementTypeInterface = std::move(aCorrectType);
_pElement->xInterface = Reference< XInterface >( _rxObject, UNO_QUERY ); // normalized XInterface
}
}