diff options
Diffstat (limited to 'sw/source/ui/dialog/addrdlg.cxx')
-rw-r--r-- | sw/source/ui/dialog/addrdlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/dialog/addrdlg.cxx b/sw/source/ui/dialog/addrdlg.cxx index d2d43389cafd..fc4e2e37c465 100644 --- a/sw/source/ui/dialog/addrdlg.cxx +++ b/sw/source/ui/dialog/addrdlg.cxx @@ -20,6 +20,7 @@ #include <addrdlg.hxx> #include <svx/svxdlg.hxx> #include <sfx2/pageids.hxx> +#include <vcl/layout.hxx> SwAddrDlg::SwAddrDlg(vcl::Window* pParent, const SfxItemSet& rSet) : SfxSingleTabDialog(pParent, rSet) @@ -29,7 +30,7 @@ SwAddrDlg::SwAddrDlg(vcl::Window* pParent, const SfxItemSet& rSet) ::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SFXPAGE_GENERAL ); if ( fnCreatePage ) { - VclPtr<SfxTabPage> pPage2 = (*fnCreatePage)(get_content_area(), &rSet); + VclPtr<SfxTabPage> pPage2 = (*fnCreatePage)(TabPageParent(get_content_area()), &rSet); SetTabPage(pPage2); } } |