diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 12:49:50 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-21 13:15:48 +0100 |
commit | 302d64cb3c21335867b447970ab8db8d1fabdef3 (patch) | |
tree | 03d149950779ede976954e7e62a02715bb1b29b3 /canvas | |
parent | d8c92ff32eb15faba3384ccc078cd90caa3801b4 (diff) |
tdf#123936 Formatting files in module canvas with clang-format
Change-Id: Ifcdecb0a60f5a4b09acc83ed38b6d1ec46765ba6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105649
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_bitmapprovider.hxx | 10 | ||||
-rw-r--r-- | canvas/source/directx/dx_surfacegraphics.hxx | 14 |
2 files changed, 12 insertions, 12 deletions
diff --git a/canvas/source/directx/dx_bitmapprovider.hxx b/canvas/source/directx/dx_bitmapprovider.hxx index be0a3318557e..ad83abee0ffb 100644 --- a/canvas/source/directx/dx_bitmapprovider.hxx +++ b/canvas/source/directx/dx_bitmapprovider.hxx @@ -24,11 +24,11 @@ namespace dxcanvas { - struct BitmapProvider - { - virtual ~BitmapProvider() {} - virtual IBitmapSharedPtr getBitmap() const = 0; - }; +struct BitmapProvider +{ + virtual ~BitmapProvider() {} + virtual IBitmapSharedPtr getBitmap() const = 0; +}; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/directx/dx_surfacegraphics.hxx b/canvas/source/directx/dx_surfacegraphics.hxx index 19f195a6ecd4..5f4e1a742ac5 100644 --- a/canvas/source/directx/dx_surfacegraphics.hxx +++ b/canvas/source/directx/dx_surfacegraphics.hxx @@ -23,14 +23,14 @@ 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 COMReference<surface_type>& rSurface); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |