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

csegura (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 19 12:09:12 UTC 2021


 basctl/source/basicide/textwindowpeer.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit c0e9bda0149b12d072607c744bdf72c6ddb439e5
Author:     csegura <carlossegurag at gmail.com>
AuthorDate: Sun Jan 3 13:36:12 2021 -0600
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Tue Jan 19 13:08:20 2021 +0100

    tdf#124176 Use pragma once instead of include guards in basctl
    
    pragma once instead of include guards in textwindowpeer.hxx
    
    Change-Id: Ie0be2626863dc6a570c2146cb86bb0f1c548e91a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108643
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/basctl/source/basicide/textwindowpeer.hxx b/basctl/source/basicide/textwindowpeer.hxx
index 8be9186f9f43..077ad32cd79f 100644
--- a/basctl/source/basicide/textwindowpeer.hxx
+++ b/basctl/source/basicide/textwindowpeer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVTOOLS_TEXTWINDOWPEER_HXX
-#define INCLUDED_SVTOOLS_TEXTWINDOWPEER_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -35,6 +34,4 @@ namespace basctl
 css::uno::Reference<css::awt::XWindowPeer> createTextWindowPeer(TextView& view);
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list