This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 29f2cdf2a7 Taskpane is long gone...
29f2cdf2a7 is described below
commit 29f2cdf2a7f54a355dd541eeb5a253fb6e2e06df
Author: mseidel <[email protected]>
AuthorDate: Tue Apr 22 11:11:54 2025 +0200
Taskpane is long gone...
(cherry picked from commit 6be06fa9a48bba9e770901da4c890068b4e7083e)
---
main/sw/source/ui/app/swmodule.cxx | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/main/sw/source/ui/app/swmodule.cxx
b/main/sw/source/ui/app/swmodule.cxx
index ae17208d9b..7ccac66acb 100644
--- a/main/sw/source/ui/app/swmodule.cxx
+++ b/main/sw/source/ui/app/swmodule.cxx
@@ -132,7 +132,6 @@
#include <modcfg.hxx>
#include <fontcfg.hxx>
#include <sfx2/sidebar/SidebarChildWindow.hxx>
-#include <sfx2/taskpane.hxx>
#include <sfx2/evntconf.hxx>
#include <sfx2/appuno.hxx>
#include <swatrset.hxx>
@@ -214,7 +213,7 @@ SwModule::SwModule( SfxObjectFactory* pWebFact,
pModuleConfig = new SwModuleOptions;
- //Die brauchen wie sowieso
+ // Die brauchen wir sowieso
pToolbarConfig = new SwToolbarConfigItem( sal_False );
pWebToolbarConfig = new SwToolbarConfigItem( sal_True );
@@ -298,8 +297,8 @@ void SwModule::CreateLngSvcEvtListener()
void SwDLL::RegisterFactories()
{
- //Diese Id's duerfen nicht geaendert werden. Mittels der Id's wird vom
- //Sfx die View (Dokumentansicht wiederherstellen) erzeugt.
+ // Diese Id's duerfen nicht geaendert werden. Mittels der Id's wird vom
+ // Sfx die View (Dokumentansicht wiederherstellen) erzeugt.
if ( SvtModuleOptions().IsWriter() )
SwView::RegisterFactory ( 2 );
@@ -314,7 +313,6 @@ void SwDLL::RegisterFactories()
//************************************************************************
-
void SwDLL::RegisterInterfaces()
{
SwModule* pMod = SW_MOD();
@@ -463,11 +461,8 @@ void SwDLL::RegisterControls()
SvxSmartTagsControl::RegisterControl(SID_OPEN_SMARTTAGMENU, pMod);
::sfx2::sidebar::SidebarChildWindow::RegisterChildWindow(sal_False,
pMod);
- ::sfx2::TaskPaneWrapper::RegisterChildWindow(sal_False, pMod);
}
-
-
/*************************************************************************
|* Modul laden (nur Attrappe für das Linken der DLL)
\************************************************************************/
@@ -477,7 +472,7 @@ void SwDLL::RegisterControls()
* --------------------------------------------------*/
void SwModule::InitAttrPool()
{
- DBG_ASSERT(!pAttrPool, "Pool ist schon da!");
+ DBG_ASSERT(!pAttrPool, "Pool is already there!");
pAttrPool = new SwAttrPool(0);
SetPool(pAttrPool);
}