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

Umut Emre Bayramoglu (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 21 20:04:05 UTC 2020


 sw/source/uibase/docvw/SidebarScrollBar.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit bac71fd104a19e481ed688fba0b0f427e855ce91
Author:     Umut Emre Bayramoglu <umut265 at gmail.com>
AuthorDate: Sat Nov 21 15:43:02 2020 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Nov 21 21:03:22 2020 +0100

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

diff --git a/sw/source/uibase/docvw/SidebarScrollBar.hxx b/sw/source/uibase/docvw/SidebarScrollBar.hxx
index 8a2834cdb797..8d7ddd6c8486 100644
--- a/sw/source/uibase/docvw/SidebarScrollBar.hxx
+++ b/sw/source/uibase/docvw/SidebarScrollBar.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SW_SOURCE_UIBASE_DOCVW_SIDEBARSCROLLBAR_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_DOCVW_SIDEBARSCROLLBAR_HXX
+#pragma once
 
 #include <vcl/scrbar.hxx>
 
@@ -38,6 +37,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list