summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_devicehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/directx/dx_devicehelper.cxx')
-rw-r--r--canvas/source/directx/dx_devicehelper.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_devicehelper.cxx b/canvas/source/directx/dx_devicehelper.cxx
index cc824719c3d7..759bb0b70f17 100644
--- a/canvas/source/directx/dx_devicehelper.cxx
+++ b/canvas/source/directx/dx_devicehelper.cxx
@@ -52,6 +52,10 @@ namespace dxcanvas
{
}
+ DeviceHelper::~DeviceHelper()
+ {
+ }
+
void DeviceHelper::init( HDC hdc, OutputDevice* pOutDev,
rendering::XGraphicDevice& rDevice )
{
@@ -191,7 +195,7 @@ namespace dxcanvas
uno::Any DeviceHelper::getDeviceHandle() const
{
- return uno::makeAny( reinterpret_cast< sal_Int64 >(mpOutDev) );
+ return uno::makeAny( reinterpret_cast< sal_Int64 >(mpOutDev.get()) );
}
uno::Any DeviceHelper::getSurfaceHandle() const