From 9b1b3c9fdd6022fd8547af19cce62ce18ed6e383 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 May 2015 10:52:27 +0200 Subject: Reduce enum class StorageMode to bool transacted Change-Id: I04e53d7de9f2f26e9338a82f7d5ae5dab1682712 --- include/sot/storage.hxx | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'include/sot') 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 #include -#include #include #include #include @@ -33,18 +32,6 @@ #include #include -enum class StorageMode { - Default = 0, - Transacted = 0x04 -}; - -namespace o3tl { - -template<> struct typed_flags: is_typed_flags -{}; - -} - 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, -- cgit