summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-30 16:08:23 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-03 00:48:13 +0100
commitdb74fdf5346c4f97256522ee2a3200fcdce1af5a (patch)
tree46f79b6c8d8c37bc3ba3c018bff0919483273373 /sw
parent4f201dc32b58b56e27fa12b6c770ff38c2da7230 (diff)
sfx2::DocumentInserter: remove nFlags ctor param
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dialog/uiregionsw.cxx6
-rw-r--r--sw/source/ui/uiview/uivwimp.cxx2
-rw-r--r--sw/source/ui/utlui/glbltree.cxx3
3 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx
index 6fff884754e4..77647b9e68cb 100644
--- a/sw/source/ui/dialog/uiregionsw.cxx
+++ b/sw/source/ui/dialog/uiregionsw.cxx
@@ -1114,7 +1114,8 @@ IMPL_LINK( SwEditRegionDlg, FileSearchHdl, PushButton *, EMPTYARG )
m_pOldDefDlgParent = Application::GetDefDialogParent();
Application::SetDefDialogParent( this );
delete m_pDocInserter;
- m_pDocInserter = new ::sfx2::DocumentInserter( 0, String::CreateFromAscii("swriter") );
+ m_pDocInserter =
+ new ::sfx2::DocumentInserter( String::CreateFromAscii("swriter") );
m_pDocInserter->StartExecuteModal( LINK( this, SwEditRegionDlg, DlgClosedHdl ) );
return 0;
}
@@ -1864,7 +1865,8 @@ IMPL_LINK( SwInsertSectionTabPage, FileSearchHdl, PushButton *, EMPTYARG )
m_pOldDefDlgParent = Application::GetDefDialogParent();
Application::SetDefDialogParent( this );
delete m_pDocInserter;
- m_pDocInserter = new ::sfx2::DocumentInserter( 0, String::CreateFromAscii("swriter") );
+ m_pDocInserter = new ::sfx2::DocumentInserter(
+ String::CreateFromAscii("swriter") );
m_pDocInserter->StartExecuteModal( LINK( this, SwInsertSectionTabPage, DlgClosedHdl ) );
return 0;
}
diff --git a/sw/source/ui/uiview/uivwimp.cxx b/sw/source/ui/uiview/uivwimp.cxx
index 237a0683a039..5f730ffa991c 100644
--- a/sw/source/ui/uiview/uivwimp.cxx
+++ b/sw/source/ui/uiview/uivwimp.cxx
@@ -244,7 +244,7 @@ void SwView_Impl::AddTransferable(SwTransferable& rTransferable)
void SwView_Impl::StartDocumentInserter( const String& rFactory, const Link& rEndDialogHdl )
{
delete m_pDocInserter;
- m_pDocInserter = new ::sfx2::DocumentInserter( 0, rFactory );
+ m_pDocInserter = new ::sfx2::DocumentInserter( rFactory );
m_pDocInserter->StartExecuteModal( rEndDialogHdl );
}
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx
index f7497cfd15bd..cac16e6fc292 100644
--- a/sw/source/ui/utlui/glbltree.cxx
+++ b/sw/source/ui/utlui/glbltree.cxx
@@ -729,7 +729,8 @@ void SwGlobalTree::InsertRegion( const SwGlblDocContent* pCont, const String* pF
pDefParentWin = Application::GetDefDialogParent();
Application::SetDefDialogParent( this );
delete pDocInserter;
- pDocInserter = new ::sfx2::DocumentInserter( 0, String::CreateFromAscii("swriter"), true );
+ pDocInserter = new ::sfx2::DocumentInserter(
+ String::CreateFromAscii("swriter"), true );
pDocInserter->StartExecuteModal( LINK( this, SwGlobalTree, DialogClosedHdl ) );
}
else if ( pFileName->Len() )