summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/index/cnttab.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-24 11:38:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-24 11:38:12 +0200
commit683312377a294e9dbe0a96b7b1b489e3d5b4f1f7 (patch)
tree41de4a50becb801246dc2001eae20702c474e04f /sw/source/ui/index/cnttab.cxx
parentreturning reference to temporary [-Werror] (diff)
downloadcore-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 'sw/source/ui/index/cnttab.cxx')
-rw-r--r--sw/source/ui/index/cnttab.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 84a6eec0843f..619889fefe73 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -4205,7 +4205,7 @@ SwAutoMarkDlg_Impl::SwAutoMarkDlg_Impl(Window* pParent, const String& rAutoMarkU
aEntriesBB.RowInserted(0, 1, sal_True);
else
{
- SfxMedium aMed( sAutoMarkURL, STREAM_STD_READ, sal_False );
+ SfxMedium aMed( sAutoMarkURL, STREAM_STD_READ );
if( aMed.GetInStream() && !aMed.GetInStream()->GetError() )
aEntriesBB.ReadEntries( *aMed.GetInStream() );
else
@@ -4227,8 +4227,7 @@ IMPL_LINK_NOARG(SwAutoMarkDlg_Impl, OkHdl)
{
SfxMedium aMed( sAutoMarkURL,
bCreateMode ? STREAM_WRITE
- : STREAM_WRITE| STREAM_TRUNC,
- sal_False );
+ : STREAM_WRITE| STREAM_TRUNC );
SvStream* pStrm = aMed.GetOutStream();
pStrm->SetStreamCharSet( RTL_TEXTENCODING_MS_1253 );
if( !pStrm->GetError() )