diff options
Diffstat (limited to 'svx/source/dialog/hyperdlg.cxx')
-rw-r--r-- | svx/source/dialog/hyperdlg.cxx | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/svx/source/dialog/hyperdlg.cxx b/svx/source/dialog/hyperdlg.cxx index 9aeefe8e85a0..40464de3795b 100644 --- a/svx/source/dialog/hyperdlg.cxx +++ b/svx/source/dialog/hyperdlg.cxx @@ -32,19 +32,6 @@ SFX_IMPL_CHILDWINDOW_WITHID(SvxHlinkDlgWrapper, SID_HYPERLINK_DIALOG) - - -struct MyStruct -{ - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame; - SfxChildWinFactory* pFact; - bool bHideNotDelete; - bool bVisible; - bool bHideAtToggle; - SfxModule* pContextModule; - SfxWorkWindow* pWorkWin; -}; - SvxHlinkDlgWrapper::SvxHlinkDlgWrapper( vcl::Window* _pParent, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo ) : @@ -58,7 +45,7 @@ SvxHlinkDlgWrapper::SvxHlinkDlgWrapper( vcl::Window* _pParent, sal_uInt16 nId, mpDlg = pFact->CreateSvxHpLinkDlg( _pParent, pBindings, SID_HYPERLINK_DIALOG ); DBG_ASSERT(mpDlg, "Dialog creation failed!"); pWindow = mpDlg->GetWindow(); - ((MyStruct*)pImp)->bVisible = false; + SetVisible_Impl(false); vcl::Window* pTopWindow = 0; if ( pInfo->aSize.Width() != 0 && pInfo->aSize.Height() != 0 && |