[ooo-build-commit] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Sep 30 02:42:44 PDT 2010
sd/source/ui/framework/factories/BasicViewFactory.cxx | 3 ++-
sd/source/ui/framework/factories/BasicViewFactory.hxx | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit efaec7055412420037271ed49b38a10b0a7a2c42
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Sep 30 10:42:04 2010 +0100
#i102142# Fix the notorious presentation pixmap leak discovered via xresgrind
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx
index d73efd9..c15b9c1 100755
--- a/sd/source/ui/framework/factories/BasicViewFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx
@@ -141,8 +141,9 @@ BasicViewFactory::BasicViewFactory (
mpViewShellContainer(new ViewShellContainer()),
mpBase(NULL),
mpFrameView(NULL),
+ mpWindow(new WorkWindow(NULL,WB_STDWORK)),
mpViewCache(new ViewCache()),
- mxLocalPane(new Pane(Reference<XResourceId>(), new WorkWindow(NULL,WB_STDWORK)))
+ mxLocalPane(new Pane(Reference<XResourceId>(), mpWindow.get()))
{
(void)rxContext;
}
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx
index 34d2e25..7b03d85 100755
--- a/sd/source/ui/framework/factories/BasicViewFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx
@@ -119,6 +119,7 @@ private:
FrameView* mpFrameView;
class ViewCache;
+ ::boost::shared_ptr<Window> mpWindow;
::boost::shared_ptr<ViewCache> mpViewCache;
css::uno::Reference<css::drawing::framework::XPane> mxLocalPane;
More information about the ooo-build-commit
mailing list