From c5625c7f1ad2a2ba7158c79ee5055a261d057225 Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsra...@gmail.com>
Date: Sun, 18 Dec 2011 19:29:26 -0430
Subject: [PATCH 32/36] Replace deprecated PTR_CAST macro for dynamic_cast.

---
 sd/source/ui/slideshow/slideshowimpl.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index f2a7c92..fa92d2e 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1673,7 +1673,7 @@ void SlideshowImpl::click( const Reference< XShape >& xShape, const ::com::sun::
     {
         // todo, better do it async?
         SdrObject* pObj = GetSdrObjectFromXShape( xShape );
-        SdrOle2Obj* pOleObject = PTR_CAST(SdrOle2Obj, pObj);
+        SdrOle2Obj* pOleObject = dynamic_cast<SdrOle2Obj*>(pObj);
         if (pOleObject && mpViewShell )
             mpViewShell->ActivateObject(pOleObject, pEvent->mnVerb);
     }
-- 
1.7.3.4

From da3ba6a8c2694a94d414c458cabb5d02509b3ff9 Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsra...@gmail.com>
Date: Sun, 18 Dec 2011 19:33:51 -0430
Subject: [PATCH 33/36] Replace deprecated PTR_CAST macro for dynamic_cast.

---
 sd/source/ui/view/Outliner.cxx      |    8 ++++----
 sd/source/ui/view/ViewShellBase.cxx |    2 +-
 sd/source/ui/view/drviews7.cxx      |    2 +-
 sd/source/ui/view/drviewsc.cxx      |    4 ++--
 sd/source/ui/view/drviewse.cxx      |    2 +-
 sd/source/ui/view/frmview.cxx       |    2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index d76b008..3b3b99c 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -276,7 +276,7 @@ void Outliner::PrepareSpelling (void)
 {
     mbPrepareSpellingPending = false;
 
-    ViewShellBase* pBase = PTR_CAST(ViewShellBase,SfxViewShell::Current());
+    ViewShellBase* pBase = dynamic_cast<ViewShellBase*>(SfxViewShell::Current());
     if (pBase != NULL)
         SetViewShell (pBase->GetMainViewShell());
     SetRefDevice( SD_MOD()->GetRefDevice( *mpDrawDocument->GetDocSh() ) );
@@ -329,7 +329,7 @@ void Outliner::EndSpelling (void)
     ::boost::shared_ptr<ViewShell> pViewShell (mpWeakViewShell.lock());
     ::boost::shared_ptr<ViewShell> pOldViewShell (pViewShell);
 
-    ViewShellBase* pBase = PTR_CAST(ViewShellBase,SfxViewShell::Current());
+    ViewShellBase* pBase = dynamic_cast<ViewShellBase*>(SfxViewShell::Current());
     if (pBase != NULL)
         pViewShell = pBase->GetMainViewShell();
     else
@@ -487,7 +487,7 @@ bool Outliner::StartSearchAndReplace (const SvxSearchItem* pSearchItem)
     mpDrawDocument->GetDocSh()->SetWaitCursor( sal_True );
     if (mbPrepareSpellingPending)
         PrepareSpelling();
-    ViewShellBase* pBase = PTR_CAST(ViewShellBase,SfxViewShell::Current());
+    ViewShellBase* pBase = dynamic_cast<ViewShellBase*>(SfxViewShell::Current());
     // Determine whether we have to abort the search.  This is necessary
     // when the main view shell does not support searching.
     bool bAbort = false;
@@ -1621,7 +1621,7 @@ void Outliner::BeginConversion (void)
 {
     SetRefDevice( SD_MOD()->GetRefDevice( *mpDrawDocument->GetDocSh() ) );
 
-    ViewShellBase* pBase = PTR_CAST(ViewShellBase, SfxViewShell::Current());
+    ViewShellBase* pBase = dynamic_cast<ViewShellBase*>(SfxViewShell::Current());
     if (pBase != NULL)
         SetViewShell (pBase->GetMainViewShell());
 
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 500e607..a0ba964 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -813,7 +813,7 @@ void ViewShellBase::ReadUserDataSequence (
             case ViewShell::ST_HANDOUT:
             {
                 ::rtl::OUString sViewURL;
-                switch (PTR_CAST(DrawViewShell, pShell)->GetPageKind())
+                switch (dynamic_cast<DrawViewShell*>(pShell)->GetPageKind())
                 {
                     default:
                     case PK_STANDARD:
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index 97b2e6f..71825b3 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -1492,7 +1492,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
         }
         else
         {
-            SdrUnoObj* pUnoCtrl = PTR_CAST(SdrUnoObj, mpDrawView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj());
+            SdrUnoObj* pUnoCtrl = dynamic_cast<SdrUnoObj*>(mpDrawView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj());
 
             if ( pUnoCtrl && FmFormInventor == pUnoCtrl->GetObjInventor() )
             {
diff --git a/sd/source/ui/view/drviewsc.cxx b/sd/source/ui/view/drviewsc.cxx
index 5218c50..6646bb3 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -357,8 +357,8 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
                 {
                     SdrMark*     pM=rMarkList.GetMark(nm);
                     SdrObject*   pObj=pM->GetMarkedSdrObj();
-                    SdrGrafObj*  pGraf=PTR_CAST(SdrGrafObj,pObj);
-                    SdrOle2Obj*  pOle2=PTR_CAST(SdrOle2Obj,pObj);
+                    SdrGrafObj*  pGraf=dynamic_cast<SdrGrafObj*>(pObj);
+                    SdrOle2Obj*  pOle2=dynamic_cast<SdrOle2Obj*>(pObj);
                     if (pGraf!=NULL && pGraf->HasGDIMetaFile())
                         nCount += pGraf->GetGraphic().GetGDIMetaFile().GetActionSize();
                     if(pOle2!=NULL && pOle2->GetGraphic())
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index c98e6dc..d121611 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -286,7 +286,7 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
             if(pDescriptorItem)
             {
                 // get the form view
-                FmFormView* pFormView = PTR_CAST(FmFormView, mpDrawView);
+                FmFormView* pFormView = dynamic_cast<FmFormView*>(mpDrawView);
                 SdrPageView* pPageView = pFormView ? pFormView->GetSdrPageView() : NULL;
 
                 if(pPageView)
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 9cf26a6..58e29e0 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -104,7 +104,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
                 // Count the FrameViews and remember the type of the main
                 // view shell.
                 pSfxViewSh = pSfxViewFrame->GetViewShell();
-                pBase = PTR_CAST(ViewShellBase, pSfxViewSh );
+                pBase = dynamic_cast<ViewShellBase*>(pSfxViewSh);
 
                 if (pBase != NULL)
                 {
-- 
1.7.3.4

From 1219998385d5b4f9582cd99027058cfe77e01974 Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsra...@gmail.com>
Date: Mon, 19 Dec 2011 07:56:19 -0430
Subject: [PATCH 34/36] Replace deprecated ISA macro for dynamic_cast.

---
 sd/source/ui/func/fuhhconv.cxx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sd/source/ui/func/fuhhconv.cxx b/sd/source/ui/func/fuhhconv.cxx
index 9a95db3..320b7f7 100644
--- a/sd/source/ui/func/fuhhconv.cxx
+++ b/sd/source/ui/func/fuhhconv.cxx
@@ -78,12 +78,12 @@ FuHangulHanjaConversion::FuHangulHanjaConversion (
     pSdOutliner(NULL),
     bOwnOutliner(sal_False)
 {
-    if ( mpViewShell->ISA(DrawViewShell) )
+    if ( dynamic_cast<DrawViewShell*>(mpViewShell) != NULL )
     {
         bOwnOutliner = sal_True;
         pSdOutliner = new Outliner( mpDoc, OUTLINERMODE_TEXTOBJECT );
     }
-    else if ( mpViewShell->ISA(OutlineViewShell) )
+    else if ( dynamic_cast<OutlineViewShell*>(mpViewShell) != NULL )
     {
         bOwnOutliner = sal_False;
         pSdOutliner = mpDoc->GetOutliner();
@@ -135,7 +135,7 @@ void FuHangulHanjaConversion::StartConversion( sal_Int16 nSourceLanguage, sal_In
 
     if( mpViewShell )
     {
-        if ( pSdOutliner && mpViewShell->ISA(DrawViewShell) && !bOwnOutliner )
+        if ( pSdOutliner && dynamic_cast<DrawViewShell*>(mpViewShell) != NULL && !bOwnOutliner )
         {
             pSdOutliner->EndConversion();
 
@@ -143,7 +143,7 @@ void FuHangulHanjaConversion::StartConversion( sal_Int16 nSourceLanguage, sal_In
             pSdOutliner = new Outliner( mpDoc, OUTLINERMODE_TEXTOBJECT );
             pSdOutliner->BeginConversion();
         }
-        else if ( pSdOutliner && mpViewShell->ISA(OutlineViewShell) && bOwnOutliner )
+        else if ( pSdOutliner && dynamic_cast<OutlineViewShell*>(mpViewShell) != NULL && bOwnOutliner )
         {
             pSdOutliner->EndConversion();
             delete pSdOutliner;
-- 
1.7.3.4

From fcdadb3e3c5980ec624b7b1df1bc858457abdbbf Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsra...@gmail.com>
Date: Mon, 19 Dec 2011 08:03:41 -0430
Subject: [PATCH 35/36] Replace deprecated PTR_CAST macro for dynamic_cast.

---
 sd/source/ui/func/undolayer.cxx |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sd/source/ui/func/undolayer.cxx b/sd/source/ui/func/undolayer.cxx
index 02484ae..e66a536 100644
--- a/sd/source/ui/func/undolayer.cxx
+++ b/sd/source/ui/func/undolayer.cxx
@@ -64,8 +64,7 @@ void SdLayerModifyUndoAction::Undo()
     ::sd::DrawDocShell* mpDocSh = mpDoc->GetDocSh();
     if( mpDocSh )
     {
-        ::sd::DrawViewShell* pDrViewSh =
-              PTR_CAST(::sd::DrawViewShell, mpDocSh->GetViewShell() );
+        ::sd::DrawViewShell* pDrViewSh = dynamic_cast<sd::DrawViewShell*>(mpDocSh->GetViewShell());
         if( pDrViewSh )
         {
             pDrViewSh->ModifyLayer( mpLayer, maOldLayerName, maOldLayerTitle, maOldLayerDesc, mbOldIsVisible, mbOldIsLocked, mbOldIsPrintable );
@@ -78,8 +77,7 @@ void SdLayerModifyUndoAction::Redo()
     ::sd::DrawDocShell* mpDocSh = mpDoc->GetDocSh();
     if( mpDocSh )
     {
-        ::sd::DrawViewShell* pDrViewSh =
-              PTR_CAST(::sd::DrawViewShell, mpDocSh->GetViewShell() );
+        ::sd::DrawViewShell* pDrViewSh = dynamic_cast<sd::DrawViewShell*>(mpDocSh->GetViewShell());
         if( pDrViewSh )
         {
             pDrViewSh->ModifyLayer( mpLayer, maNewLayerName, maNewLayerTitle, maNewLayerDesc, mbNewIsVisible, mbNewIsLocked, mbNewIsPrintable );
-- 
1.7.3.4

From 7477cc57b76a721b125dbc383c9e7a88e8df4ad0 Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsra...@gmail.com>
Date: Mon, 19 Dec 2011 08:42:20 -0430
Subject: [PATCH 36/36] Remove usage of tools/rtti.hxx macros.

---
 sd/inc/drawdoc.hxx                                 |    1 -
 sd/inc/sdmod.hxx                                   |    1 -
 sd/source/core/drawdoc.cxx                         |    1 -
 sd/source/ui/app/sdmod.cxx                         |    2 --
 sd/source/ui/dlg/PaneShells.cxx                    |    6 ------
 sd/source/ui/dlg/unchss.cxx                        |    1 -
 sd/source/ui/docshell/docshell.cxx                 |    1 -
 sd/source/ui/docshell/grdocsh.cxx                  |    1 -
 sd/source/ui/inc/BezierObjectBar.hxx               |    1 -
 sd/source/ui/inc/DrawDocShell.hxx                  |    1 -
 sd/source/ui/inc/DrawViewShell.hxx                 |    1 -
 sd/source/ui/inc/GraphicDocShell.hxx               |    1 -
 sd/source/ui/inc/GraphicObjectBar.hxx              |    1 -
 sd/source/ui/inc/GraphicViewShell.hxx              |    1 -
 sd/source/ui/inc/GraphicViewShellBase.hxx          |    1 -
 sd/source/ui/inc/ImpressViewShellBase.hxx          |    1 -
 sd/source/ui/inc/MediaObjectBar.hxx                |    1 -
 sd/source/ui/inc/OutlineViewShellBase.hxx          |    1 -
 sd/source/ui/inc/PaneShells.hxx                    |    3 ---
 sd/source/ui/inc/PresentationViewShell.hxx         |    1 -
 sd/source/ui/inc/PresentationViewShellBase.hxx     |    1 -
 sd/source/ui/inc/SlideSorterViewShell.hxx          |    1 -
 sd/source/ui/inc/SlideSorterViewShellBase.hxx      |    1 -
 sd/source/ui/inc/TextObjectBar.hxx                 |    1 -
 sd/source/ui/inc/ViewShell.hxx                     |    1 -
 sd/source/ui/inc/ViewShellHint.hxx                 |    1 -
 sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx   |    1 -
 sd/source/ui/inc/unchss.hxx                        |    1 -
 sd/source/ui/inc/unmodpg.hxx                       |    1 -
 .../controller/SlsHideSlideFunction.cxx            |    2 --
 .../controller/SlsHideSlideFunction.hxx            |    1 -
 .../ui/slidesorter/inc/view/SlideSorterView.hxx    |    1 -
 .../ui/slidesorter/shell/SlideSorterViewShell.cxx  |    1 -
 sd/source/ui/slidesorter/view/SlideSorterView.cxx  |    1 -
 sd/source/ui/table/tableobjectbar.cxx              |    1 -
 sd/source/ui/table/tableobjectbar.hxx              |    1 -
 sd/source/ui/toolpanel/LayoutMenu.cxx              |    1 -
 sd/source/ui/toolpanel/LayoutMenu.hxx              |    1 -
 sd/source/ui/toolpanel/ToolPanelViewShell.cxx      |    1 -
 .../ui/toolpanel/controls/MasterPagesSelector.cxx  |    1 -
 .../ui/toolpanel/controls/MasterPagesSelector.hxx  |    1 -
 sd/source/ui/view/GraphicObjectBar.cxx             |    1 -
 sd/source/ui/view/GraphicViewShellBase.cxx         |    1 -
 sd/source/ui/view/ImpressViewShellBase.cxx         |    1 -
 sd/source/ui/view/MediaObjectBar.cxx               |    1 -
 sd/source/ui/view/OutlineViewShellBase.cxx         |    1 -
 sd/source/ui/view/PresentationViewShellBase.cxx    |    1 -
 sd/source/ui/view/SlideSorterViewShellBase.cxx     |    1 -
 sd/source/ui/view/ViewShellHint.cxx                |    1 -
 sd/source/ui/view/drbezob.cxx                      |    1 -
 sd/source/ui/view/drtxtob.cxx                      |    1 -
 sd/source/ui/view/drvwshrg.cxx                     |    2 --
 sd/source/ui/view/presvish.cxx                     |    1 -
 sd/source/ui/view/unmodpg.cxx                      |    1 -
 sd/source/ui/view/viewshel.cxx                     |    1 -
 55 files changed, 0 insertions(+), 65 deletions(-)

diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 7e087f5..3174f39 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -218,7 +218,6 @@ public:
 
     class InsertBookmarkAsPage_PageFunctorBase;
 
-                        TYPEINFO();
 
                         SdDrawDocument(DocumentType eType, SfxObjectShell* pDocSh);
                         ~SdDrawDocument();
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index f133e93..2fed6ce 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -101,7 +101,6 @@ class SdModule : public SfxModule, public SfxListener
 {
 public:
 
-                            TYPEINFO();
                             SFX_DECL_INTERFACE(SD_IF_SDAPP)
                             DECL_LINK( CalcFieldValueHdl, EditFieldInfo* );
 
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index a7d3a94..8952a43 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -101,7 +101,6 @@ using namespace ::com::sun::star::linguistic2;
 
 //////////////////////////////////////////////////////////////////////////////
 
-TYPEINIT1( SdDrawDocument, FmFormModel );
 
 SdDrawDocument* SdDrawDocument::pDocLockedInsertingLinks = NULL;
 
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx
index 767b419..aac1316 100644
--- a/sd/source/ui/app/sdmod.cxx
+++ b/sd/source/ui/app/sdmod.cxx
@@ -66,8 +66,6 @@
 #include "cfgids.hxx"
 #include "tools/SdGlobalResourceContainer.hxx"
 
-TYPEINIT1( SdModule, SfxModule );
-
 #define SdModule
 #include "sdslots.hxx"
 
diff --git a/sd/source/ui/dlg/PaneShells.cxx b/sd/source/ui/dlg/PaneShells.cxx
index 91efb14..1334eca 100644
--- a/sd/source/ui/dlg/PaneShells.cxx
+++ b/sd/source/ui/dlg/PaneShells.cxx
@@ -53,8 +53,6 @@ SFX_IMPL_INTERFACE(LeftImpressPaneShell, SfxShell, SdResId(STR_LEFT_IMPRESS_PANE
         ::sd::LeftPaneImpressChildWindow::GetChildWindowId());
 }
 
-TYPEINIT1(LeftImpressPaneShell, SfxShell);
-
 
 
 LeftImpressPaneShell::LeftImpressPaneShell (void)
@@ -89,8 +87,6 @@ SFX_IMPL_INTERFACE(LeftDrawPaneShell, SfxShell, SdResId(STR_LEFT_DRAW_PANE_SHELL
         ::sd::LeftPaneDrawChildWindow::GetChildWindowId());
 }
 
-TYPEINIT1(LeftDrawPaneShell, SfxShell);
-
 
 
 LeftDrawPaneShell::LeftDrawPaneShell (void)
@@ -124,8 +120,6 @@ SFX_IMPL_INTERFACE( ToolPanelPaneShell, SfxShell, SdResId( STR_TOOL_PANEL_SHELL
     SFX_CHILDWINDOW_REGISTRATION( ::sd::ToolPanelChildWindow::GetChildWindowId() );
 }
 
-TYPEINIT1( ToolPanelPaneShell, SfxShell );
-
 ToolPanelPaneShell::ToolPanelPaneShell()
     :SfxShell()
 {
diff --git a/sd/source/ui/dlg/unchss.cxx b/sd/source/ui/dlg/unchss.cxx
index fba5c61..50f7146 100644
--- a/sd/source/ui/dlg/unchss.cxx
+++ b/sd/source/ui/dlg/unchss.cxx
@@ -43,7 +43,6 @@
 #include "glob.hrc"
 
 
-TYPEINIT1(StyleSheetUndoAction, SdUndoAction);
 
 
 
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index 89debf6..e8ab323 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -100,7 +100,6 @@ GraphicFilter* GetGrfFilter();
 |* SFX-Slotmaps und -Definitionen
 |*
 \************************************************************************/
-TYPEINIT1( DrawDocShell, SfxObjectShell );
 
 SFX_IMPL_OBJECTFACTORY(
     DrawDocShell,
diff --git a/sd/source/ui/docshell/grdocsh.cxx b/sd/source/ui/docshell/grdocsh.cxx
index ed9ecc8..1a7276e 100644
--- a/sd/source/ui/docshell/grdocsh.cxx
+++ b/sd/source/ui/docshell/grdocsh.cxx
@@ -51,7 +51,6 @@ using namespace sd;
 
 namespace sd
 {
-TYPEINIT1(GraphicDocShell, DrawDocShell);
 
 SFX_IMPL_INTERFACE(GraphicDocShell, SfxObjectShell, SdResId(0))
 {
diff --git a/sd/source/ui/inc/BezierObjectBar.hxx b/sd/source/ui/inc/BezierObjectBar.hxx
index 764508c..ef38a29 100644
--- a/sd/source/ui/inc/BezierObjectBar.hxx
+++ b/sd/source/ui/inc/BezierObjectBar.hxx
@@ -42,7 +42,6 @@ class BezierObjectBar
     : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDDRAWBEZIEROBJECTBAR)
 
     BezierObjectBar (ViewShell* pSdViewShell, View* pSdView);
diff --git a/sd/source/ui/inc/DrawDocShell.hxx b/sd/source/ui/inc/DrawDocShell.hxx
index 0083f53..75f09b5 100644
--- a/sd/source/ui/inc/DrawDocShell.hxx
+++ b/sd/source/ui/inc/DrawDocShell.hxx
@@ -64,7 +64,6 @@ class ViewShell;
 class SD_DLLPUBLIC DrawDocShell : public SfxObjectShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDDRAWDOCSHELL)
     SFX_DECL_OBJECTFACTORY();
 
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 57b3238..d8bd4b8 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -76,7 +76,6 @@ class DrawViewShell
 public:
     static const int SLOTARRAY_COUNT = 24;
 
-    TYPEINFO();
 
     SFX_DECL_INTERFACE(SD_IF_SDDRAWVIEWSHELL)
 
diff --git a/sd/source/ui/inc/GraphicDocShell.hxx b/sd/source/ui/inc/GraphicDocShell.hxx
index ec511a5..8e9cb0e 100644
--- a/sd/source/ui/inc/GraphicDocShell.hxx
+++ b/sd/source/ui/inc/GraphicDocShell.hxx
@@ -48,7 +48,6 @@ class GraphicDocShell
     : public DrawDocShell
 {
 public:
-    TYPEINFO();
 
     SFX_DECL_INTERFACE(SD_IF_SDGRAPHICDOCSHELL)
     SFX_DECL_OBJECTFACTORY();
diff --git a/sd/source/ui/inc/GraphicObjectBar.hxx b/sd/source/ui/inc/GraphicObjectBar.hxx
index 83f5ac9..bd4214e 100644
--- a/sd/source/ui/inc/GraphicObjectBar.hxx
+++ b/sd/source/ui/inc/GraphicObjectBar.hxx
@@ -43,7 +43,6 @@ class GraphicObjectBar
     : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE( SD_IF_SDDRAWGRAFOBJECTBAR )
 
     GraphicObjectBar (ViewShell* pSdViewShell, ::sd::View* pSdView);
diff --git a/sd/source/ui/inc/GraphicViewShell.hxx b/sd/source/ui/inc/GraphicViewShell.hxx
index eda0fbf..c94b2ee 100644
--- a/sd/source/ui/inc/GraphicViewShell.hxx
+++ b/sd/source/ui/inc/GraphicViewShell.hxx
@@ -48,7 +48,6 @@ class GraphicViewShell
     : public DrawViewShell
 {
 public:
-    TYPEINFO();
 
     SFX_DECL_VIEWFACTORY(GraphicViewShell);
     SFX_DECL_INTERFACE(SD_IF_SDGRAPHICVIEWSHELL)
diff --git a/sd/source/ui/inc/GraphicViewShellBase.hxx b/sd/source/ui/inc/GraphicViewShellBase.hxx
index c7f6417..695b6d6 100644
--- a/sd/source/ui/inc/GraphicViewShellBase.hxx
+++ b/sd/source/ui/inc/GraphicViewShellBase.hxx
@@ -41,7 +41,6 @@ class GraphicViewShellBase
     : public ViewShellBase
 {
 public:
-    TYPEINFO();
     SFX_DECL_VIEWFACTORY(GraphicViewShellBase);
 
     /** This constructor is used by the view factory of the SFX
diff --git a/sd/source/ui/inc/ImpressViewShellBase.hxx b/sd/source/ui/inc/ImpressViewShellBase.hxx
index 852e95a..b4afe14 100644
--- a/sd/source/ui/inc/ImpressViewShellBase.hxx
+++ b/sd/source/ui/inc/ImpressViewShellBase.hxx
@@ -41,7 +41,6 @@ class ImpressViewShellBase
     : public ViewShellBase
 {
 public:
-    TYPEINFO();
     SFX_DECL_VIEWFACTORY(ImpressViewShellBase);
 
     /** This constructor is used by the view factory of the SFX
diff --git a/sd/source/ui/inc/MediaObjectBar.hxx b/sd/source/ui/inc/MediaObjectBar.hxx
index b384918..b7ecea5 100644
--- a/sd/source/ui/inc/MediaObjectBar.hxx
+++ b/sd/source/ui/inc/MediaObjectBar.hxx
@@ -43,7 +43,6 @@ class MediaObjectBar
     : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE( SD_IF_SDDRAWMEDIAOBJECTBAR )
 
     MediaObjectBar (ViewShell* pSdViewShell, ::sd::View* pSdView);
diff --git a/sd/source/ui/inc/OutlineViewShellBase.hxx b/sd/source/ui/inc/OutlineViewShellBase.hxx
index 2f82dd2..dae8813 100644
--- a/sd/source/ui/inc/OutlineViewShellBase.hxx
+++ b/sd/source/ui/inc/OutlineViewShellBase.hxx
@@ -41,7 +41,6 @@ class OutlineViewShellBase
     : public ImpressViewShellBase
 {
 public:
-    TYPEINFO();
     SFX_DECL_VIEWFACTORY(OutlineViewShellBase);
 
     /** This constructor is used by the view factory of the SFX
diff --git a/sd/source/ui/inc/PaneShells.hxx b/sd/source/ui/inc/PaneShells.hxx
index 28e5162..a2d13ba 100644
--- a/sd/source/ui/inc/PaneShells.hxx
+++ b/sd/source/ui/inc/PaneShells.hxx
@@ -46,7 +46,6 @@ class LeftImpressPaneShell
     : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDLEFTIMPRESSPANESHELL)
 
     LeftImpressPaneShell (void);
@@ -63,7 +62,6 @@ class LeftDrawPaneShell
     : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDLEFTDRAWPANESHELL)
 
     LeftDrawPaneShell (void);
@@ -79,7 +77,6 @@ public:
 class ToolPanelPaneShell : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE( SD_IF_SDTOOLPANELPANESHELL )
 
     ToolPanelPaneShell();
diff --git a/sd/source/ui/inc/PresentationViewShell.hxx b/sd/source/ui/inc/PresentationViewShell.hxx
index ae30449..934f6a1 100644
--- a/sd/source/ui/inc/PresentationViewShell.hxx
+++ b/sd/source/ui/inc/PresentationViewShell.hxx
@@ -41,7 +41,6 @@ namespace sd {
 class PresentationViewShell : public DrawViewShell
 {
 public:
-    TYPEINFO();
 
     SFX_DECL_VIEWFACTORY(PresViewShell);
     SFX_DECL_INTERFACE( SD_IF_SDPRESVIEWSHELL )
diff --git a/sd/source/ui/inc/PresentationViewShellBase.hxx b/sd/source/ui/inc/PresentationViewShellBase.hxx
index 8ecde3d..85ec8f1 100644
--- a/sd/source/ui/inc/PresentationViewShellBase.hxx
+++ b/sd/source/ui/inc/PresentationViewShellBase.hxx
@@ -41,7 +41,6 @@ class PresentationViewShellBase
     : public ViewShellBase
 {
 public:
-    TYPEINFO();
     SFX_DECL_VIEWFACTORY(PresentationViewShellBase);
 
     /** This constructor is used by the view factory of the SFX
diff --git a/sd/source/ui/inc/SlideSorterViewShell.hxx b/sd/source/ui/inc/SlideSorterViewShell.hxx
index f8e0bdb..49f69c2 100644
--- a/sd/source/ui/inc/SlideSorterViewShell.hxx
+++ b/sd/source/ui/inc/SlideSorterViewShell.hxx
@@ -51,7 +51,6 @@ class SlideSorterViewShell
     friend class controller::SlotManager;
 
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDSLIDESORTERVIEWSHELL)
 
     static ::boost::shared_ptr<SlideSorterViewShell> Create(
diff --git a/sd/source/ui/inc/SlideSorterViewShellBase.hxx b/sd/source/ui/inc/SlideSorterViewShellBase.hxx
index 07f5235..4c82e30 100644
--- a/sd/source/ui/inc/SlideSorterViewShellBase.hxx
+++ b/sd/source/ui/inc/SlideSorterViewShellBase.hxx
@@ -41,7 +41,6 @@ class SlideSorterViewShellBase
     : public ImpressViewShellBase
 {
 public:
-    TYPEINFO();
     SFX_DECL_VIEWFACTORY(SlideSorterViewShellBase);
 
     /** This constructor is used by the view factory of the SFX
diff --git a/sd/source/ui/inc/TextObjectBar.hxx b/sd/source/ui/inc/TextObjectBar.hxx
index 30ee374..2b2ee59 100644
--- a/sd/source/ui/inc/TextObjectBar.hxx
+++ b/sd/source/ui/inc/TextObjectBar.hxx
@@ -46,7 +46,6 @@ class TextObjectBar
     : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDDRAWTEXTOBJECTBAR)
 
     TextObjectBar (
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 8a4a55a..a2d0154 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -133,7 +133,6 @@ public:
         = DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL
         | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT;
 
-    TYPEINFO();
 
     ViewShell (
         SfxViewFrame *pFrame,
diff --git a/sd/source/ui/inc/ViewShellHint.hxx b/sd/source/ui/inc/ViewShellHint.hxx
index b83be38..621ad5c 100644
--- a/sd/source/ui/inc/ViewShellHint.hxx
+++ b/sd/source/ui/inc/ViewShellHint.hxx
@@ -54,7 +54,6 @@ public:
         HINT_COMPLEX_MODEL_CHANGE_END
     };
 
-    TYPEINFO();
 
     ViewShellHint (HintId nHintId);
 
diff --git a/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx b/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
index 8a0faf9..c7f7214 100644
--- a/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
+++ b/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
@@ -69,7 +69,6 @@ class ToolPanelViewShell
     : public ViewShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDTOOLPANELSHELL)
 
     ToolPanelViewShell (
diff --git a/sd/source/ui/inc/unchss.hxx b/sd/source/ui/inc/unchss.hxx
index 4810877..2e9b9dd 100644
--- a/sd/source/ui/inc/unchss.hxx
+++ b/sd/source/ui/inc/unchss.hxx
@@ -44,7 +44,6 @@ class StyleSheetUndoAction : public SdUndoAction
     String          aComment;
 
 public:
-    TYPEINFO();
     StyleSheetUndoAction(SdDrawDocument* pTheDoc,
                          SfxStyleSheet*  pTheStyleSheet,
                          const SfxItemSet* pTheNewItemSet);
diff --git a/sd/source/ui/inc/unmodpg.hxx b/sd/source/ui/inc/unmodpg.hxx
index 83fc603..fc158cb 100644
--- a/sd/source/ui/inc/unmodpg.hxx
+++ b/sd/source/ui/inc/unmodpg.hxx
@@ -50,7 +50,6 @@ class ModifyPageUndoAction : public SdUndoAction
     String          maComment;
 
 public:
-    TYPEINFO();
     ModifyPageUndoAction(
         SdDrawDocument*         pTheDoc,
         SdPage*                 pThePage,
diff --git a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
index 4a50508..817fd7e 100644
--- a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
@@ -46,8 +46,6 @@
 
 namespace sd { namespace slidesorter { namespace controller {
 
-TYPEINIT1(HideSlideFunction, SlideFunction);
-
 HideSlideFunction::HideSlideFunction (
     SlideSorter& rSlideSorter,
     SfxRequest& rRequest)
diff --git a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
index 6bdf37e..f02eaee 100644
--- a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
@@ -44,7 +44,6 @@ class HideSlideFunction
     : public SlideFunction
 {
 public:
-    TYPEINFO();
 
     virtual ~HideSlideFunction (void);
 
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index 4229665..79b8feb 100644
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -77,7 +77,6 @@ class SlideSorterView
       public ::boost::noncopyable
 {
 public:
-    TYPEINFO ();
 
     /** Create a new view for the slide sorter.
         @param rViewShell
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
index 4ef5cf6..1275bb5 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
@@ -91,7 +91,6 @@ SFX_IMPL_INTERFACE(SlideSorterViewShell, SfxShell, SdResId(STR_SLIDESORTERVIEWSH
 
 
 
-TYPEINIT1(SlideSorterViewShell, ViewShell);
 
 
 
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
index b55e00d..2bddb351 100644
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -143,7 +143,6 @@ private:
 
 
 
-TYPEINIT1(SlideSorterView, ::sd::View);
 
 SlideSorterView::SlideSorterView (SlideSorter& rSlideSorter)
     : ::sd::View (
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx
index a8d8a4d..b55b4ec 100644
--- a/sd/source/ui/table/tableobjectbar.cxx
+++ b/sd/source/ui/table/tableobjectbar.cxx
@@ -83,7 +83,6 @@ void RegisterInterfaces(SfxModule* pMod)
 // - TableObjectBar -
 // ------------------
 
-TYPEINIT1( TableObjectBar, SfxShell );
 
 // -----------------------------------------------------------------------------
 
diff --git a/sd/source/ui/table/tableobjectbar.hxx b/sd/source/ui/table/tableobjectbar.hxx
index 82e7741..da6d541 100644
--- a/sd/source/ui/table/tableobjectbar.hxx
+++ b/sd/source/ui/table/tableobjectbar.hxx
@@ -45,7 +45,6 @@ namespace sd { namespace ui { namespace table {
 class TableObjectBar  : public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE( SD_IF_SDDRAWTABLEOBJECTBAR )
 
     TableObjectBar( ::sd::ViewShell* pSdViewShell, ::sd::View* pSdView);
diff --git a/sd/source/ui/toolpanel/LayoutMenu.cxx b/sd/source/ui/toolpanel/LayoutMenu.cxx
index 68bf0f3..36d5ba3 100644
--- a/sd/source/ui/toolpanel/LayoutMenu.cxx
+++ b/sd/source/ui/toolpanel/LayoutMenu.cxx
@@ -116,7 +116,6 @@ SFX_IMPL_INTERFACE(LayoutMenu, SfxShell,
     SFX_POPUPMENU_REGISTRATION(SdResId(RID_TASKPANE_LAYOUTMENU_POPUP));
 }
 
-TYPEINIT1(LayoutMenu, SfxShell);
 
 struct snewfoil_value_info
 {
diff --git a/sd/source/ui/toolpanel/LayoutMenu.hxx b/sd/source/ui/toolpanel/LayoutMenu.hxx
index 1b1af8c..a6ed98b 100644
--- a/sd/source/ui/toolpanel/LayoutMenu.hxx
+++ b/sd/source/ui/toolpanel/LayoutMenu.hxx
@@ -70,7 +70,6 @@ class LayoutMenu
       public DropTargetHelper
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDLAYOUTMENU)
 
     /** Create a new layout menu.  Depending on the given flag it
diff --git a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
index 7f01523..39cafdd 100644
--- a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
@@ -363,7 +363,6 @@ SFX_IMPL_INTERFACE(ToolPanelViewShell, SfxShell, SdResId(STR_TASKPANEVIEWSHELL))
 }
 
 // ---------------------------------------------------------------------------------------------------------------------
-TYPEINIT1(ToolPanelViewShell, ViewShell);
 
 // ---------------------------------------------------------------------------------------------------------------------
 ToolPanelViewShell_Impl::InitialPanel ToolPanelViewShell_Impl::impl_determineInitialPanel()
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
index e2c4b58..801d7d0 100644
--- a/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
@@ -88,7 +88,6 @@ SFX_IMPL_INTERFACE(MasterPagesSelector, SfxShell,
     SFX_POPUPMENU_REGISTRATION( SdResId(RID_TASKPANE_MASTERPAGESSELECTOR_POPUP) );
 }
 
-TYPEINIT1(MasterPagesSelector, SfxShell);
 
 
 
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx b/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
index 24a78cd..17ec985 100644
--- a/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
@@ -65,7 +65,6 @@ class MasterPagesSelector
       public SfxShell
 {
 public:
-    TYPEINFO();
     SFX_DECL_INTERFACE(SD_IF_SDMASTERPAGESSELECTOR)
 
     MasterPagesSelector (
diff --git a/sd/source/ui/view/GraphicObjectBar.cxx b/sd/source/ui/view/GraphicObjectBar.cxx
index be428c6..efc3f3a 100644
--- a/sd/source/ui/view/GraphicObjectBar.cxx
+++ b/sd/source/ui/view/GraphicObjectBar.cxx
@@ -75,7 +75,6 @@ SFX_IMPL_INTERFACE( GraphicObjectBar, SfxShell, SdResId( STR_GRAFOBJECTBARSHELL
 
 // -----------------------------------------------------------------------------
 
-TYPEINIT1( GraphicObjectBar, SfxShell );
 
 // -----------------------------------------------------------------------------
 
diff --git a/sd/source/ui/view/GraphicViewShellBase.cxx b/sd/source/ui/view/GraphicViewShellBase.cxx
index 0db7a04..d15882b 100644
--- a/sd/source/ui/view/GraphicViewShellBase.cxx
+++ b/sd/source/ui/view/GraphicViewShellBase.cxx
@@ -39,7 +39,6 @@
 
 namespace sd {
 
-TYPEINIT1(GraphicViewShellBase, ViewShellBase);
 
 // We have to expand the SFX_IMPL_VIEWFACTORY macro to call LateInit() after a
 // new GraphicViewShellBase object has been constructed.
diff --git a/sd/source/ui/view/ImpressViewShellBase.cxx b/sd/source/ui/view/ImpressViewShellBase.cxx
index 030e32b..677b33c 100644
--- a/sd/source/ui/view/ImpressViewShellBase.cxx
+++ b/sd/source/ui/view/ImpressViewShellBase.cxx
@@ -40,7 +40,6 @@
 
 namespace sd {
 
-TYPEINIT1(ImpressViewShellBase, ViewShellBase);
 
 // We have to expand the SFX_IMPL_VIEWFACTORY macro to call LateInit() after a
 // new ImpressViewShellBase object has been constructed.
diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx
index 28de99b..0bab497 100644
--- a/sd/source/ui/view/MediaObjectBar.cxx
+++ b/sd/source/ui/view/MediaObjectBar.cxx
@@ -61,7 +61,6 @@ namespace sd {
 // - MediaObjectBar -
 // ------------------
 
-TYPEINIT1( MediaObjectBar, SfxShell );
 
 // -----------------------------------------------------------------------------
 
diff --git a/sd/source/ui/view/OutlineViewShellBase.cxx b/sd/source/ui/view/OutlineViewShellBase.cxx
index 4783b45..aa0351a 100644
--- a/sd/source/ui/view/OutlineViewShellBase.cxx
+++ b/sd/source/ui/view/OutlineViewShellBase.cxx
@@ -37,7 +37,6 @@ namespace sd {
 
 class DrawDocShell;
 
-TYPEINIT1(OutlineViewShellBase, ViewShellBase);
 
 // We have to expand the SFX_IMPL_VIEWFACTORY macro to call LateInit() after a
 // new OutlineViewShellBase object has been constructed.
diff --git a/sd/source/ui/view/PresentationViewShellBase.cxx b/sd/source/ui/view/PresentationViewShellBase.cxx
index 2216f05..8de94e9 100644
--- a/sd/source/ui/view/PresentationViewShellBase.cxx
+++ b/sd/source/ui/view/PresentationViewShellBase.cxx
@@ -46,7 +46,6 @@ namespace sd {
 
 class DrawDocShell;
 
-TYPEINIT1(PresentationViewShellBase, ViewShellBase);
 
 // We have to expand the SFX_IMPL_VIEWFACTORY macro to call LateInit() after a
 // new PresentationViewShellBase object has been constructed.
diff --git a/sd/source/ui/view/SlideSorterViewShellBase.cxx b/sd/source/ui/view/SlideSorterViewShellBase.cxx
index a52b4d4..d34350c 100644
--- a/sd/source/ui/view/SlideSorterViewShellBase.cxx
+++ b/sd/source/ui/view/SlideSorterViewShellBase.cxx
@@ -37,7 +37,6 @@ namespace sd {
 
 class DrawDocShell;
 
-TYPEINIT1(SlideSorterViewShellBase, ViewShellBase);
 
 // We have to expand the SFX_IMPL_VIEWFACTORY macro to call LateInit() after a
 // new SlideSorterViewShellBase object has been constructed.
diff --git a/sd/source/ui/view/ViewShellHint.cxx b/sd/source/ui/view/ViewShellHint.cxx
index 998c6bb..e24006f 100644
--- a/sd/source/ui/view/ViewShellHint.cxx
+++ b/sd/source/ui/view/ViewShellHint.cxx
@@ -31,7 +31,6 @@
 
 namespace sd {
 
-TYPEINIT1(ViewShellHint, SfxHint);
 
 ViewShellHint::ViewShellHint (HintId eHintId)
     : SfxHint(),
diff --git a/sd/source/ui/view/drbezob.cxx b/sd/source/ui/view/drbezob.cxx
index 2954d7d..ed6b799 100644
--- a/sd/source/ui/view/drbezob.cxx
+++ b/sd/source/ui/view/drbezob.cxx
@@ -79,7 +79,6 @@ SFX_IMPL_INTERFACE(BezierObjectBar, ::SfxShell, SdResId(STR_BEZIEROBJECTBARSHELL
 {
 }
 
-TYPEINIT1(BezierObjectBar, ::SfxShell);
 
 /*************************************************************************
 |*
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index 3b49d88..79e4416 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -98,7 +98,6 @@ SFX_IMPL_INTERFACE( TextObjectBar, SfxShell, SdResId(STR_TEXTOBJECTBARSHELL) )
 {
 }
 
-TYPEINIT1( TextObjectBar, SfxShell );
 
 /*************************************************************************
 |*
diff --git a/sd/source/ui/view/drvwshrg.cxx b/sd/source/ui/view/drvwshrg.cxx
index 6f21afe..de3bd5b 100644
--- a/sd/source/ui/view/drvwshrg.cxx
+++ b/sd/source/ui/view/drvwshrg.cxx
@@ -91,7 +91,6 @@ SFX_IMPL_INTERFACE(DrawViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL))
 }
 
 
-TYPEINIT1( DrawViewShell, ViewShell );
 
 
 // SdGraphicViewShell
@@ -115,7 +114,6 @@ SFX_IMPL_INTERFACE(GraphicViewShell, SfxShell, SdResId(STR_DRAWVIEWSHELL)) //SOH
     SFX_CHILDWINDOW_REGISTRATION( ::avmedia::MediaPlayer::GetChildWindowId() );
 }
 
-TYPEINIT1( GraphicViewShell, DrawViewShell );
 
 
 } // end of namespace sd
diff --git a/sd/source/ui/view/presvish.cxx b/sd/source/ui/view/presvish.cxx
index 724e2da..40948f7 100644
--- a/sd/source/ui/view/presvish.cxx
+++ b/sd/source/ui/view/presvish.cxx
@@ -94,7 +94,6 @@ SFX_IMPL_INTERFACE( PresentationViewShell, DrawViewShell, SdResId( STR_PRESVIEWS
 }
 
 
-TYPEINIT1( PresentationViewShell, DrawViewShell );
 
 PresentationViewShell::PresentationViewShell( SfxViewFrame* pFrame, ViewShellBase& rViewShellBase, ::Window* pParentWindow, FrameView* pFrameView)
 : DrawViewShell( pFrame, rViewShellBase, pParentWindow, PK_STANDARD, pFrameView)
diff --git a/sd/source/ui/view/unmodpg.cxx b/sd/source/ui/view/unmodpg.cxx
index 615f09c..ec613df 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -45,7 +45,6 @@
 #include "drawdoc.hxx"
 
 
-TYPEINIT1(ModifyPageUndoAction, SdUndoAction);
 
 
 /*************************************************************************
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index b87c666..a741dfc 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -153,7 +153,6 @@ SfxViewFrame* ViewShell::GetViewFrame (void) const
 |* SFX-Slotmap und Standardinterface deklarieren
 |*
 \************************************************************************/
-TYPEINIT1(ViewShell, SfxShell);
 
 
 ViewShell::ViewShell( SfxViewFrame*, ::Window* pParentWindow, ViewShellBase& rViewShellBase, bool bAllowCenter)
-- 
1.7.3.4

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to