diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 16:13:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-10 16:13:34 +0200 |
commit | 7a1fad0d4f6b95c9beafa9c34f34b70bb9a0c9ed (patch) | |
tree | 10280a4d4cde82967bba69ee1fe0f4a9db71bc9c /sw/qa | |
parent | 3bf4ada33f09e155f3350602e7a4b6cec77e40f0 (diff) |
convert ScopedVclPtr to ScopedVclPtrInstance
Change-Id: I22a9d9c313a81ccee885b9c8785d4b008a6f2058
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/tiledrendering/tiledrendering.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/tiledrendering/tiledrendering.cxx b/sw/qa/tiledrendering/tiledrendering.cxx index 2fddd6c33691..af67aee607d8 100644 --- a/sw/qa/tiledrendering/tiledrendering.cxx +++ b/sw/qa/tiledrendering/tiledrendering.cxx @@ -131,7 +131,7 @@ IMPL_LINK ( TiledRenderingDialog, RenderHdl, Button *, EMPTYARG ) // SystemGraphicsData aData; // [setup the aData] // VirtualDevice pDevice(&aData, [color depth]); - ScopedVclPtr< VirtualDevice > pDevice(new VirtualDevice()); + ScopedVclPtrInstance< VirtualDevice > pDevice; // paint to it pViewShell->PaintTile(*pDevice.get(), contextWidth, contextHeight, tilePosX, tilePosY, tileWidth, tileHeight); |