From 1617eef124e01ca3b3286e0ad5985c34dde7fadb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 21 Nov 2016 13:05:56 +0200 Subject: loplugin:countusersofdefaultparams in include/sot..svl Change-Id: Idb022a4a6fb950f1b259abbba57daed9401732d9 Reviewed-on: https://gerrit.libreoffice.org/31038 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sot/source/sdstor/storage.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sot') diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 36dca8f6bedf..ac672efd1b1f 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -333,7 +333,7 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode ) { // UCBStorage always works directly on the UCB content, so discard the stream first DELETEZ( m_pStorStm ); - m_pOwnStg = new UCBStorage( m_aName, nMode, true ); + m_pOwnStg = new UCBStorage( m_aName, nMode, true, true/*bIsRoot*/ ); } } else @@ -345,7 +345,7 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode ) } else if ( bForceUCBStorage ) { - m_pOwnStg = new UCBStorage( m_aName, nMode, true ); + m_pOwnStg = new UCBStorage( m_aName, nMode, true, true/*bIsRoot*/ ); SetError( ERRCODE_IO_NOTSUPPORTED ); } else @@ -358,7 +358,7 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode ) { // temporary storage if ( bForceUCBStorage ) - m_pOwnStg = new UCBStorage( m_aName, nMode, true ); + m_pOwnStg = new UCBStorage( m_aName, nMode, true, true/*bIsRoot*/ ); else m_pOwnStg = new Storage( m_aName, nMode, true ); m_aName = m_pOwnStg->GetName(); -- cgit