summaryrefslogtreecommitdiff
path: root/patches/vba/vba-allow-forms-resetvalue-binding.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/vba/vba-allow-forms-resetvalue-binding.diff')
-rw-r--r--patches/vba/vba-allow-forms-resetvalue-binding.diff15
1 files changed, 0 insertions, 15 deletions
diff --git a/patches/vba/vba-allow-forms-resetvalue-binding.diff b/patches/vba/vba-allow-forms-resetvalue-binding.diff
deleted file mode 100644
index b9dd5eae5..000000000
--- a/patches/vba/vba-allow-forms-resetvalue-binding.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git forms/source/component/FormComponent.cxx forms/source/component/FormComponent.cxx
-index 2919abd..2b73ec6 100644
---- forms/source/component/FormComponent.cxx
-+++ forms/source/component/FormComponent.cxx
-@@ -2556,8 +2556,8 @@ void SAL_CALL OBoundControlModel::setVal
- OSL_PRECOND( m_bSupportsExternalBinding, "OBoundControlModel::setValueBinding: How did you reach this method?" );
- // the interface for this method should not have been exposed if we do not
- // support binding to external data
--
-- if ( !impl_approveValueBinding_nolock( _rxBinding ) )
-+ // allow reset
-+ if ( _rxBinding.is() && !impl_approveValueBinding_nolock( _rxBinding ) )
- {
- throw IncompatibleTypesException(
- FRM_RES_STRING( RID_STR_INCOMPATIBLE_TYPES ),