include/basic/sberrors.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 123fdb0c7ac53f01406208f3c219e2716599effd
Author:     Omkar Santosh Nikam <omkar.nikam.2...@gmail.com>
AuthorDate: Wed Apr 17 14:44:58 2024 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Wed Apr 17 17:53:30 2024 +0200

    tdf#143148: Use pragma once instead of include guards
    
    Change-Id: I84080f2b647ccdd91fa44401b4edae4bf31a92a3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166167
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/include/basic/sberrors.hxx b/include/basic/sberrors.hxx
index d630b0747ab1..602caa4e23e8 100644
--- a/include/basic/sberrors.hxx
+++ b/include/basic/sberrors.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASIC_SBERRORS_HXX
-#define INCLUDED_BASIC_SBERRORS_HXX
+#pragma once
 
 #include <comphelper/errcode.hxx>
 
@@ -171,6 +170,4 @@
 #define ERRCODE_BASIC_TOO_MANY_DLL          ErrCode( ErrCodeArea::Sbx, 
ErrCodeClass::Compiler, 137 )  // Too many dll application clients
 #define ERRCODE_BASIC_LOOP_NOT_INIT         ErrCode( ErrCodeArea::Sbx, 
ErrCodeClass::Compiler, 138 )  // For loop not initialized
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to