summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_vcltools.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/directx/dx_vcltools.hxx')
-rw-r--r--canvas/source/directx/dx_vcltools.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/canvas/source/directx/dx_vcltools.hxx b/canvas/source/directx/dx_vcltools.hxx
index 8eb5ea90b2a4..433afa618eb7 100644
--- a/canvas/source/directx/dx_vcltools.hxx
+++ b/canvas/source/directx/dx_vcltools.hxx
@@ -17,19 +17,17 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CANVAS_SOURCE_DIRECTX_DX_VCLTOOLS_HXX
-#define INCLUDED_CANVAS_SOURCE_DIRECTX_DX_VCLTOOLS_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/util/TriState.hpp>
+#include <com/sun/star/rendering/XBitmap.hpp>
#include <memory>
+#include <vector>
namespace Gdiplus { class Graphics; }
-namespace dxcanvas
+namespace dxcanvas::tools
{
- namespace tools
- {
/** Raw RGBA bitmap data,
contiguous in memory
*/
@@ -43,9 +41,7 @@ namespace dxcanvas
bool drawVCLBitmapFromXBitmap( const std::shared_ptr< Gdiplus::Graphics >& rGraphics,
const css::uno::Reference<
css::rendering::XBitmap >& xBitmap );
- }
}
-#endif // INCLUDED_CANVAS_SOURCE_DIRECTX_DX_VCLTOOLS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */