diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-05-24 11:38:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-05-24 11:38:12 +0200 |
commit | 683312377a294e9dbe0a96b7b1b489e3d5b4f1f7 (patch) | |
tree | 41de4a50becb801246dc2001eae20702c474e04f /sfx2/source/doc/docfile.cxx | |
parent | returning reference to temporary [-Werror] (diff) | |
download | core-683312377a294e9dbe0a96b7b1b489e3d5b4f1f7.tar.gz core-683312377a294e9dbe0a96b7b1b489e3d5b4f1f7.zip |
Removed unused SfxMedium::bDirect
See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium
ctor overload to find not yet adapted uses of another overload, to be removed
again in due time.
Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
Diffstat (limited to 'sfx2/source/doc/docfile.cxx')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 2daebaee8c3f..4da155678152 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -360,7 +360,6 @@ SfxMedium_Impl::~SfxMedium_Impl() #define IMPL_CTOR(rootVal,URLVal) \ eError( SVSTREAM_OK ), \ \ - bDirect( sal_False ), \ bRoot( rootVal ), \ bSetFilter( sal_False ), \ bTriedStorage( sal_False ), \ @@ -1480,7 +1479,6 @@ sal_Bool SfxMedium::WillDisposeStorageOnClose_Impl() //------------------------------------------------------------------ void SfxMedium::SetOpenMode( StreamMode nStorOpen, - sal_Bool bDirectP, sal_Bool bDontClose ) { if ( nStorOpenMode != nStorOpen ) @@ -1496,7 +1494,6 @@ void SfxMedium::SetOpenMode( StreamMode nStorOpen, } } - bDirect = bDirectP; bSetFilter = sal_False; } @@ -2821,7 +2818,7 @@ void SfxMedium::CompleteReOpen() //------------------------------------------------------------------ SfxMedium::SfxMedium ( - const String &rName, StreamMode nOpenMode, sal_Bool bDirectP, + const String &rName, StreamMode nOpenMode, const SfxFilter *pFlt, SfxItemSet *pInSet ) : IMPL_CTOR( sal_False, 0 ), // bRoot, pURLObj @@ -2831,7 +2828,6 @@ SfxMedium::SfxMedium { aLogicName = rName; nStorOpenMode = nOpenMode; - bDirect = bDirectP; Init_Impl(); } @@ -2887,7 +2883,6 @@ SfxMedium::SfxMedium( const ::com::sun::star::uno::Sequence< ::com::sun::star::b if (!pFileNameItem) throw uno::RuntimeException(); aLogicName = pFileNameItem->GetValue(); nStorOpenMode = bReadOnly ? SFX_STREAM_READONLY : SFX_STREAM_READWRITE; - bDirect = sal_False; Init_Impl(); } |