[Libreoffice-commits] core.git: sw/source

Gökhan Özeloğlu (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 21 17:26:04 UTC 2020


 sw/source/uibase/sidebar/StylePresetsPanel.hxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 635a77ddc06ddbaaf6eba2d978d2187ddeaa80b9
Author:     Gökhan Özeloğlu <gozeloglu at gmail.com>
AuthorDate: Sat Nov 21 12:21:39 2020 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Nov 21 18:25:21 2020 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: I309d3c4b960f920189557aa63b9de0d621eb6865
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106306
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
index c217710bedb6..36b272a08754 100644
--- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx
+++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
@@ -8,8 +8,7 @@
  *
  */
 
-#ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX
+#pragma once
 
 #include <memory>
 #include <com/sun/star/frame/XFrame.hpp>
@@ -66,6 +65,5 @@ private:
 
 } // end of namespace sw::sidebar
 
-#endif // INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list