diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-04-20 05:15:41 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-04-20 05:15:41 -0700 |
commit | cd7627ffdb130fce22930a8c187bf81f6407b01a (patch) | |
tree | c27dfdba54c2c0024eb9e93c46dab4ba7a73719b /svx/workben | |
parent | 606d16a81fb7edf6416550d4ec9f2f5a35514868 (diff) |
Remove DECLARE_LIST( ViewList, MyView* )
PS: This file isn't compiled. But the list wasn't used anyways so this
should be a safe change.
Diffstat (limited to 'svx/workben')
-rw-r--r-- | svx/workben/edittest.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/svx/workben/edittest.cxx b/svx/workben/edittest.cxx index 9b2f4f2e2aac..3f92f9bedb82 100644 --- a/svx/workben/edittest.cxx +++ b/svx/workben/edittest.cxx @@ -54,7 +54,6 @@ #include <dialdll.hxx> - #define SERVICE_SIMPLEREGISTRY "com.sun.star.registry.SimpleRegistry" #include <comphelper/processfactory.hxx> #include <comphelper/regpathhelper.hxx> @@ -356,7 +355,6 @@ BOOL __EXPORT MyView::QueryDrop( DropEvent& rEvt ) } // --- class EditMainWindow -------------------------------------------- -DECLARE_LIST( ViewList, MyView* ); class EditViewWindow : public Window { @@ -366,7 +364,6 @@ private: Pointer aStdPtr; Pointer aURLPtr; WorkWindow* pTmpWindow; - ViewList aViewList; XubString aTestStr; @@ -1396,15 +1393,6 @@ IMPL_LINK( EditMainWindow, ShowStatus, EditStatus *, pStat ) EditViewWindow::~EditViewWindow() { - // erst die angemeldeten Views zerstoeren - // (melden sich selbst ab) - MyView* pView = aViewList.First(); - while ( pView ) - { - delete pView; - pView = aViewList.Next(); - } - pEditEngine->RemoveView( pEditView ); delete pEditView; // Beim Zerstoeren der Styles am Ende, EditEngine noch nicht kaputt, |