summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-07 08:40:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-07 11:05:05 +0200
commit9e90401a2168e7db8a3f967f0d5011d2f52039eb (patch)
treead398a0a9f2b1cf3cac2685c251ebd103cfcd00c /sot
parent7df89ec7a2ccfc9b448ea33d0a9d4412062dee67 (diff)
Remove unused SotStorageStream ctor nStorageMode param
Change-Id: I5f114f4ca92d991d17ad871d11a78a5306191f9c
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/storage.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 7f204e6ac30d..8a540237d9ab 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -75,12 +75,7 @@ SvLockBytesRef MakeLockBytes_Impl( const OUString & rName, StreamMode nMode )
return xLB;
}
-SotStorageStream::SotStorageStream( const OUString & rName, StreamMode nMode,
- StorageMode
- #ifdef DBG_UTIL
- nStorageMode
- #endif
- )
+SotStorageStream::SotStorageStream( const OUString & rName, StreamMode nMode )
: SvStream( MakeLockBytes_Impl( rName, nMode ) )
, pOwnStm( NULL )
{
@@ -88,8 +83,6 @@ SotStorageStream::SotStorageStream( const OUString & rName, StreamMode nMode,
bIsWritable = true;
else
bIsWritable = false;
-
- DBG_ASSERT( nStorageMode == StorageMode::Default, "StorageModes ignored" );
}
SotStorageStream::SotStorageStream( BaseStorageStream * pStm )