summaryrefslogtreecommitdiff
path: root/comphelper/inc/comphelper/storagehelper.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-12-06 04:36:21 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-06 04:36:21 +0100
commitf014ea59e9e6e24ffead1961e8b689237b3927f0 (patch)
tree5da8abd126e8b3a972784e7a2b0cd073c36f7a53 /comphelper/inc/comphelper/storagehelper.hxx
parentc81b005921b39c54b33777af126b87e9f4e92860 (diff)
comphelper::LifecycleProxy: make writing work:
The storage implementation forgets any writes unless all storages are committed.
Diffstat (limited to 'comphelper/inc/comphelper/storagehelper.hxx')
-rw-r--r--comphelper/inc/comphelper/storagehelper.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/storagehelper.hxx b/comphelper/inc/comphelper/storagehelper.hxx
index 36ff7957f4bc..8bf26de44885 100644
--- a/comphelper/inc/comphelper/storagehelper.hxx
+++ b/comphelper/inc/comphelper/storagehelper.hxx
@@ -65,6 +65,8 @@ public:
::boost::scoped_ptr<Impl> m_pBadness;
LifecycleProxy();
~LifecycleProxy();
+ // commit the storages: necessary for writes to streams to take effect!
+ void commitStorages();
};
class COMPHELPER_DLLPUBLIC OStorageHelper