Hi,
Please find attached patch that removes the Hyperlink Bar from calc (made
available under LGPLv3+/MPL).
Patch has been rebased with origin/master and compiled before submission.
I've started removing the references to the Hyperlink Bar from the apps. Once
that's done I'll remove the implementation and menu entries in core modules.
After applying this patch the menu entry to activate the bar is still present
but greyed out. This should dissapear once core modules are done.
I'll be making one patch per app/module.
Regards,
Alfonso
From ed73ec23fa974da110ad5827f06dd313f9cb7cad Mon Sep 17 00:00:00 2001
From: Alfonso Eusebio <alfonso_eusebio@yahoo.co.uk>
Date: Tue, 8 Feb 2011 21:30:10 +0000
Subject: [PATCH] Remove obsolete Hyperlink Bar from calc
Removed hyperlink bar references from calc (removing from apps first).
Menu entry appears greyed out until it gets removed from core modules.
---
sc/source/ui/app/scdll.cxx | 1 -
sc/source/ui/app/scmod.cxx | 1 -
sc/source/ui/docshell/docsh.cxx | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index a022978..83f3e96 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -288,7 +288,6 @@ void ScDLL::Init()
SvxSearchDialogWrapper ::RegisterChildWindow(FALSE, pMod);
SvxHlinkDlgWrapper ::RegisterChildWindow(FALSE, pMod);
SvxFontWorkChildWindow ::RegisterChildWindow(FALSE, pMod);
- SvxHyperlinkDlgWrapper ::RegisterChildWindow(FALSE, pMod, SFX_CHILDWIN_FORCEDOCK);
SvxIMapDlgChildWindow ::RegisterChildWindow(FALSE, pMod);
GalleryChildWindow ::RegisterChildWindow(FALSE, pMod);
ScSpellDialogChildWindow ::RegisterChildWindow(FALSE, pMod);
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 99b872d..0b603c7 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -128,7 +128,6 @@ SFX_IMPL_INTERFACE( ScModule, SfxShell, ScResId(RID_APPTITLE) )
SFX_OBJECTBAR_REGISTRATION( SFX_OBJECTBAR_APPLICATION | SFX_VISIBILITY_DESKTOP |
SFX_VISIBILITY_STANDARD | SFX_VISIBILITY_CLIENT | SFX_VISIBILITY_VIEWER,
ScResId(RID_OBJECTBAR_APP) );
SFX_STATUSBAR_REGISTRATION( ScResId(SCCFG_STATUSBAR) ); // nur ID wichtig
- SFX_CHILDWINDOW_REGISTRATION( SvxHyperlinkDlgWrapper::GetChildWindowId() );
}
//------------------------------------------------------------------
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 674905e..bcfe9d1 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -191,7 +191,6 @@ static const sal_Char pFilterRtf[] = "Rich Text Format (StarCalc)";
SFX_IMPL_INTERFACE(ScDocShell,SfxObjectShell, ScResId(SCSTR_DOCSHELL))
{
- SFX_CHILDWINDOW_REGISTRATION( SID_HYPERLINK_INSERT );
}
// GlobalName der aktuellen Version:
--
1.7.1
Context
- [Libreoffice] [PATCH] Remove obsolete Hyperlink Bar from calc · Alfonso Eusebio
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.