summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-07 10:01:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-07 11:05:05 +0200
commit76c50eddb0484d687425040f152460ea61af993c (patch)
tree14571a876f66b19ca338a674f30bd5619426b1e5
parent66335d3898547410f8ebf9963fb00d24352a56cc (diff)
Remove unused SotStorage ctor nStorageMode param
Change-Id: I6af399ef26d3f3ee97a49592cf97c590c0781eb0
-rw-r--r--include/sot/storage.hxx3
-rw-r--r--sot/source/sdstor/storage.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 1c6e4912d4e3..96ede56ae2ac 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -119,8 +119,7 @@ public:
StreamMode = STREAM_STD_READWRITE,
StorageMode = StorageMode::Default );
SotStorage( bool bUCBStorage, const OUString &,
- StreamMode = STREAM_STD_READWRITE,
- StorageMode = StorageMode::Default );
+ StreamMode = STREAM_STD_READWRITE );
SotStorage( BaseStorage * );
SotStorage( SvStream & rStm );
SotStorage( bool bUCBStorage, SvStream & rStm );
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 4c819a754a21..df6b5d45197e 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -444,11 +444,11 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode, Storage
SignAsRoot( m_pOwnStg->IsRoot() );
}
-SotStorage::SotStorage( bool bUCBStorage, const OUString & rName, StreamMode nMode, StorageMode nStorageMode )
+SotStorage::SotStorage( bool bUCBStorage, const OUString & rName, StreamMode nMode )
INIT_SotStorage()
{
m_aName = rName;
- CreateStorage( bUCBStorage, nMode, nStorageMode );
+ CreateStorage( bUCBStorage, nMode, StorageMode::Default );
if ( IsOLEStorage() )
m_nVersion = SOFFICE_FILEFORMAT_50;
}