[Libreoffice-commits] core.git: canvas/source solenv/clang-format

Philipp Hofer (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 21 12:16:33 UTC 2020


 canvas/source/directx/dx_bitmapprovider.hxx  |   10 +++++-----
 canvas/source/directx/dx_surfacegraphics.hxx |   14 +++++++-------
 solenv/clang-format/excludelist              |    2 --
 3 files changed, 12 insertions(+), 14 deletions(-)

New commits:
commit 302d64cb3c21335867b447970ab8db8d1fabdef3
Author:     Philipp Hofer <philipp.hofer at protonmail.com>
AuthorDate: Thu Nov 12 12:49:50 2020 +0100
Commit:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Sat Nov 21 13:15:48 2020 +0100

    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 at googlemail.com>
    Tested-by: Jenkins

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: */
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist
index 769695e2f178..30590df8c4af 100644
--- a/solenv/clang-format/excludelist
+++ b/solenv/clang-format/excludelist
@@ -641,7 +641,6 @@ canvas/source/directx/dx_bitmap.cxx
 canvas/source/directx/dx_bitmap.hxx
 canvas/source/directx/dx_bitmapcanvashelper.cxx
 canvas/source/directx/dx_bitmapcanvashelper.hxx
-canvas/source/directx/dx_bitmapprovider.hxx
 canvas/source/directx/dx_canvas.cxx
 canvas/source/directx/dx_canvas.hxx
 canvas/source/directx/dx_canvasbitmap.cxx
@@ -678,7 +677,6 @@ canvas/source/directx/dx_spritehelper.hxx
 canvas/source/directx/dx_surfacebitmap.cxx
 canvas/source/directx/dx_surfacebitmap.hxx
 canvas/source/directx/dx_surfacegraphics.cxx
-canvas/source/directx/dx_surfacegraphics.hxx
 canvas/source/directx/dx_textlayout.cxx
 canvas/source/directx/dx_textlayout.hxx
 canvas/source/directx/dx_textlayout_drawhelper.cxx


More information about the Libreoffice-commits mailing list