diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-08 08:13:16 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-08 08:13:16 +0000 |
commit | f156e38cabd166f7fcac6c656669ef47c2b49eed (patch) | |
tree | 9f1456837590f1449f70da0f337ac7baaa09b221 /framework | |
parent | fb26c82a050212629aa3cb019e930bd4ab265f1c (diff) |
INTEGRATION: CWS fwk14 (1.5.66); FILE MERGED
2005/05/24 09:49:12 cd 1.5.66.1: #i49586# Remove of streams must be finished with commit on owner storage
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uiconfiguration/imagemanager.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/imagemanager.cxx b/framework/source/uiconfiguration/imagemanager.cxx index 0455d9e30d5f..2254e66784ab 100644 --- a/framework/source/uiconfiguration/imagemanager.cxx +++ b/framework/source/uiconfiguration/imagemanager.cxx @@ -2,9 +2,9 @@ * * $RCSfile: imagemanager.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: kz $ $Date: 2005-07-01 13:09:29 $ + * last change: $Author: obo $ $Date: 2005-07-08 09:13:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -478,6 +478,18 @@ sal_Bool ImageManager::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; } } |