summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-15 17:25:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-16 09:47:01 +0200
commita71e7b108c7041ebc7cb99d1d2d53358140d8e30 (patch)
tree4758f424372639963904659c7ffcd92b26fe61b0 /sfx2
parentf7dfe57060294da05c092f8389a8841140de22c8 (diff)
-Werror,-Wnon-literal-null-conversion (Clang towards 3.2)
Two cases that 683312377a294e9dbe0a96b7b1b489e3d5b4f1f7 "Removed unused SfxMedium::bDirect" did not catch. Change-Id: I33b60bd27b97ac086d0927a6877d055561dde1f6
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/view/orgmgr.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index e85dd87852dd..2cf3f958b2d1 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -1547,7 +1547,7 @@ SfxObjectShellRef DocTempl_EntryData_Impl::CreateObjectShell()
{
mbIsOwner = sal_True;
SfxMedium *pMed=new SfxMedium(
- aTargetURL,(STREAM_STD_READWRITE | STREAM_SHARE_DENYALL), sal_False, 0 );
+ aTargetURL,(STREAM_STD_READWRITE | STREAM_SHARE_DENYALL) );
const SfxFilter* pFilter = NULL;
pMed->UseInteractionHandler(sal_True);
if( pSfxApp->GetFilterMatcher().GuessFilter(
diff --git a/sfx2/source/view/orgmgr.cxx b/sfx2/source/view/orgmgr.cxx
index db9937f64483..e224d55b2242 100644
--- a/sfx2/source/view/orgmgr.cxx
+++ b/sfx2/source/view/orgmgr.cxx
@@ -270,7 +270,7 @@ SfxObjectShellRef SfxOrganizeMgr::CreateObjectShell( sal_uInt16 nIdx )
{
pEntry->bOwner = sal_True;
SfxMedium* pMed = new SfxMedium(
- aFilePath, ( STREAM_READ | STREAM_SHARE_DENYWRITE ), sal_False, 0 );
+ aFilePath, ( STREAM_READ | STREAM_SHARE_DENYWRITE ) );
const SfxFilter* pFilter = NULL;
pMed->UseInteractionHandler(sal_True);
if (