summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/storage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index df6b5d45197e..caa6c2e34d63 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -333,11 +333,11 @@ SotStorage::SotStorage()
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <ucbhelper/content.hxx>
-SotStorage::SotStorage( const OUString & rName, StreamMode nMode, StorageMode nStorageMode )
+SotStorage::SotStorage( const OUString & rName, StreamMode nMode, bool transacted )
INIT_SotStorage()
{
m_aName = rName; // Namen merken
- CreateStorage( true, nMode, nStorageMode );
+ CreateStorage( true, nMode, transacted ? StorageMode::Transacted : StorageMode::Default );
if ( IsOLEStorage() )
m_nVersion = SOFFICE_FILEFORMAT_50;
}