summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_spritedevicehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/directx/dx_spritedevicehelper.cxx')
-rw-r--r--canvas/source/directx/dx_spritedevicehelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/directx/dx_spritedevicehelper.cxx b/canvas/source/directx/dx_spritedevicehelper.cxx
index ee339c8af0ee..622246bc2adc 100644
--- a/canvas/source/directx/dx_spritedevicehelper.cxx
+++ b/canvas/source/directx/dx_spritedevicehelper.cxx
@@ -27,7 +27,7 @@
#include <canvas/canvastools.hxx>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <toolkit/helper/vclunohelper.hxx>
-#include <tools/diagnose_ex.h>
+#include <comphelper/diagnose_ex.hxx>
#include <vcl/sysdata.hxx>
#include <vcl/window.hxx>
@@ -80,7 +80,7 @@ namespace dxcanvas
catch (...) {
throw lang::NoSupportException( "Could not create DirectX device!",
- static_cast< ::cppu::OWeakObject* >(&rSpriteCanvas) );
+ rSpriteCanvas.getXWeak() );
}
// create the surfaceproxy manager
@@ -88,7 +88,7 @@ namespace dxcanvas
// #i60490# ensure backbuffer has sensible minimal size
mpBackBuffer = std::make_shared<DXSurfaceBitmap>(
- ::basegfx::B2ISize(w,h),
+ basegfx::B2ISize(w,h),
mpSurfaceProxyManager,
mpRenderModule,
false);