diff options
Diffstat (limited to 'canvas/source/directx/dx_surfacegraphics.hxx')
-rw-r--r-- | canvas/source/directx/dx_surfacegraphics.hxx | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/canvas/source/directx/dx_surfacegraphics.hxx b/canvas/source/directx/dx_surfacegraphics.hxx index 930add339333..4260383e2ed8 100644 --- a/canvas/source/directx/dx_surfacegraphics.hxx +++ b/canvas/source/directx/dx_surfacegraphics.hxx @@ -17,23 +17,20 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_DIRECTX_DX_SURFACEGRAPHICS_HXX -#define INCLUDED_CANVAS_SOURCE_DIRECTX_DX_SURFACEGRAPHICS_HXX +#pragma once #include "dx_graphicsprovider.hxx" namespace dxcanvas { - /** Container providing a Gdiplus::Graphics for a Surface +/** Container providing a Gdiplus::Graphics for a Surface - This wrapper class transparently handles allocation and - release of surface resources the RAII way (the - GraphicsSharedPtr returned has a deleter that does all the - necessary DX cleanup work). - */ - GraphicsSharedPtr createSurfaceGraphics(const COMReference<surface_type>& rSurface ); + This wrapper class transparently handles allocation and + release of surface resources the RAII way (the + GraphicsSharedPtr returned has a deleter that does all the + necessary DX cleanup work). +*/ +GraphicsSharedPtr createSurfaceGraphics(const sal::systools::COMReference<surface_type>& rSurface); } -#endif // INCLUDED_CANVAS_SOURCE_DIRECTX_DX_SURFACEGRAPHICS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |