impress195: #i102142# Stop leaking windows.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user