diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-08 08:13:31 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-08 08:13:31 +0000 |
commit | 564460cb5080e7bb5942689eb41b46387014d38f (patch) | |
tree | c101841623a6e8a1328bdc398bcad7fede551543 /framework/source/uiconfiguration/moduleimagemanager.cxx | |
parent | 2bba5a732cce60442c05651cc51473fad01c54cf (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/source/uiconfiguration/moduleimagemanager.cxx')
-rw-r--r-- | framework/source/uiconfiguration/moduleimagemanager.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx index d2c27bedb6..7251b7c937 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; } } |