summaryrefslogtreecommitdiff
path: root/forms/source/component
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component')
-rw-r--r--forms/source/component/FormattedFieldWrapper.cxx1
-rw-r--r--forms/source/component/Grid.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/forms/source/component/FormattedFieldWrapper.cxx b/forms/source/component/FormattedFieldWrapper.cxx
index db2af5c23e39..19f5dae5c9c2 100644
--- a/forms/source/component/FormattedFieldWrapper.cxx
+++ b/forms/source/component/FormattedFieldWrapper.cxx
@@ -259,6 +259,7 @@ void SAL_CALL OFormattedFieldWrapper::write(const Reference<XObjectOutputStream>
//------------------------------------------------------------------
void SAL_CALL OFormattedFieldWrapper::read(const Reference<XObjectInputStream>& _rxInStream) throw( IOException, RuntimeException )
{
+ SolarMutexGuard g;
if (m_xAggregate.is())
{ // we alread did a decision if we're an EditModel or a FormattedModel
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index cfa4d1bb9364..29f3b5849339 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -365,6 +365,7 @@ void OGridControlModel::removeSelectionChangeListener(const Reference< XSelectio
//------------------------------------------------------------------------------
Reference<XPropertySet> SAL_CALL OGridControlModel::createColumn(const OUString& ColumnType) throw ( :: com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
+ SolarMutexGuard g;
const Sequence< OUString >& rColumnTypes = frm::getColumnTypes();
return createColumn( ::detail::findPos( ColumnType, rColumnTypes ) );
}
@@ -994,6 +995,7 @@ void OGridControlModel::write(const Reference<XObjectOutputStream>& _rxOutStream
//------------------------------------------------------------------------------
void OGridControlModel::read(const Reference<XObjectInputStream>& _rxInStream) throw ( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
{
+ SolarMutexGuard g;
OControlModel::read(_rxInStream);
Reference<XMarkableStream> xMark(_rxInStream, UNO_QUERY);