summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/childwin.hxx2
-rw-r--r--svx/source/dialog/hyperdlg.cxx15
2 files changed, 2 insertions, 15 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index 4fe4c008ee6a..c1b88906fe81 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -217,7 +217,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 &&