diff options
Diffstat (limited to 'include/sot/storage.hxx')
-rw-r--r-- | include/sot/storage.hxx | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index a97fa80550c7..8c31ee209acc 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -25,7 +25,6 @@ #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/embed/XStorage.hpp> -#include <o3tl/typed_flags_set.hxx> #include <sot/object.hxx> #include <sot/factory.hxx> #include <tools/stream.hxx> @@ -33,18 +32,6 @@ #include <sot/storinfo.hxx> #include <sot/sotdllapi.h> -enum class StorageMode { - Default = 0, - Transacted = 0x04 -}; - -namespace o3tl { - -template<> struct typed_flags<StorageMode>: is_typed_flags<StorageMode, 0x04> -{}; - -} - class SotStorage; enum class SotClipboardFormatId : sal_uLong; @@ -111,7 +98,7 @@ friend class SotStorage; protected: virtual ~SotStorage(); - void CreateStorage( bool bUCBStorage, StreamMode, StorageMode ); + void CreateStorage( bool bUCBStorage, StreamMode, bool transacted ); public: SotStorage( const OUString &, StreamMode = STREAM_STD_READWRITE, |