diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index f83f8a8b9f0e..4f03bb7d84ad 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -956,7 +956,7 @@ namespace oglcanvas uno::Any SpriteDeviceHelper::getDeviceHandle() const { - return uno::Any(); + return uno::makeAny( reinterpret_cast< sal_Int64 >(mpChildWindow.get()) ); } uno::Any SpriteDeviceHelper::getSurfaceHandle() const diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk index 964f1fc9f4fc..98bff53282ee 100644 --- a/postprocess/Rdb_services.mk +++ b/postprocess/Rdb_services.mk @@ -183,6 +183,9 @@ $(eval $(call gb_Rdb_add_components,services,\ canvas/source/directx/directx9canvas \ canvas/source/directx/gdipluscanvas \ ) \ + $(if $(ENABLE_OPENGL_CANVAS), \ + canvas/source/opengl/oglcanvas \ + ) \ $(if $(ENABLE_GCONF), \ shell/source/backends/gconfbe/gconfbe1 \ ) \