diff options
-rw-r--r-- | include/sfx2/childwin.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/hyperdlg.cxx | 15 |
2 files changed, 2 insertions, 15 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index 81b78f823352..592ab9a8740b 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -205,7 +205,7 @@ public: void SetFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & ); SAL_DLLPRIVATE static void InitializeChildWinFactory_Impl(sal_uInt16, SfxChildWinInfo&); - SAL_DLLPRIVATE void SetVisible_Impl( bool bVis ); + void SetVisible_Impl( bool bVis ); SAL_DLLPRIVATE void SetWorkWindow_Impl( SfxWorkWindow* ); SAL_DLLPRIVATE void Activate_Impl(); SAL_DLLPRIVATE void Deactivate_Impl(); 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 && |