Kaydet (Commit) e1019ecb authored tarafından Michael Meeks's avatar Michael Meeks

Windows compilation fix in DX canvas.

Change-Id: I835b0d073885a452fc1031892ad2e59d8670cfac
üst 62532bf1
......@@ -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
......
......@@ -28,7 +28,7 @@
#include "dx_bitmap.hxx"
#include <canvas/rendering/isurfaceproxymanager.hxx>
#include <vcl/outdev.hxx>
#include <vcl/vclptr.hxx>
#include <boost/utility.hpp>
class OutputDevice;
......@@ -40,6 +40,7 @@ namespace dxcanvas
{
public:
DeviceHelper();
~DeviceHelper();
/** Init the device helper
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment