summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-07-08 08:13:31 +0000
committerOliver Bolte <obo@openoffice.org>2005-07-08 08:13:31 +0000
commit3b13faaf48e307e98d3462b81fd6e3ea147cdf40 (patch)
tree06c1de3dc4ae8a4d9486f97500863f3c86076d7c /framework
parentf156e38cabd166f7fcac6c656669ef47c2b49eed (diff)
INTEGRATION: CWS fwk14 (1.9.66); FILE MERGED
2005/05/24 09:49:13 cd 1.9.66.1: #i49586# Remove of streams must be finished with commit on owner storage
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uiconfiguration/moduleimagemanager.cxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx
index 6dcae32557be..fdf41e26a609 100644
--- a/framework/source/uiconfiguration/moduleimagemanager.cxx
+++ b/framework/source/uiconfiguration/moduleimagemanager.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: moduleimagemanager.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: kz $ $Date: 2005-03-01 19:39:42 $
+ * last change: $Author: obo $ $Date: 2005-07-08 09:13:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -728,6 +728,18 @@ sal_Bool ModuleImageManager::implts_storeUserImages(
{
}
+ uno::Reference< XTransactedObject > xTransaction;
+
+ // Commit user image storage
+ xTransaction = uno::Reference< XTransactedObject >( xUserImageStorage, UNO_QUERY );
+ if ( xTransaction.is() )
+ xTransaction->commit();
+
+ // Commit user bitmaps storage
+ xTransaction = uno::Reference< XTransactedObject >( xUserBitmapsStorage, UNO_QUERY );
+ if ( xTransaction.is() )
+ xTransaction->commit();
+
return sal_True;
}
}