diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-26 16:02:50 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-26 17:54:27 +0100 |
commit | f849d96463d967214bc063f6de912a082272c395 (patch) | |
tree | 998470859b5f700db40084e89a257ec8a8b78999 /sd | |
parent | 2a6aa95a7af11eb091dfa9494cd810998b2e324d (diff) |
tdf#91416 - fix some incorrectly allocated VirtualDevices.
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index cfbf7a6f61e3..a89019901a14 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -1432,7 +1432,7 @@ sal_uInt32 FontCollection::GetId( FontCollectionEntry& rEntry ) aFont.SetHeight( 100 ); if ( !pVDev ) - pVDev = new VirtualDevice; + pVDev = VclPtr<VirtualDevice>::Create(); pVDev->SetFont( aFont ); FontMetric aMetric( pVDev->GetFontMetric() ); |