impress195: #i102142# Stop leaking windows.

This commit is contained in:
Andre Fischer
2010-07-14 13:48:47 +02:00
parent c21a1d8c48
commit a800b0d9fd
2 changed files with 3 additions and 1 deletions

View File

@@ -142,7 +142,8 @@ BasicViewFactory::BasicViewFactory (
mpBase(NULL), mpBase(NULL),
mpFrameView(NULL), mpFrameView(NULL),
mpViewCache(new ViewCache()), mpViewCache(new ViewCache()),
mxLocalPane(new Pane(Reference<XResourceId>(), new WorkWindow(NULL,WB_STDWORK))) mpWindow(new WorkWindow(NULL,WB_STDWORK)),
mxLocalPane(new Pane(Reference<XResourceId>(), mpWindow.get()))
{ {
(void)rxContext; (void)rxContext;
} }

View File

@@ -119,6 +119,7 @@ private:
FrameView* mpFrameView; FrameView* mpFrameView;
class ViewCache; class ViewCache;
::boost::shared_ptr<Window> mpWindow;
::boost::shared_ptr<ViewCache> mpViewCache; ::boost::shared_ptr<ViewCache> mpViewCache;
css::uno::Reference<css::drawing::framework::XPane> mxLocalPane; css::uno::Reference<css::drawing::framework::XPane> mxLocalPane;