tdf#143148: Use pragma once instead of include guards

Replace include guards in favor of #pragma once. First task for beginners

Change-Id: I0ead6e955c953ec0e9113174797ffb8b9938999f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157901
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
Federico Gallo Herosa 2023-10-13 00:39:36 -03:00 committed by Ilmari Lauhakangas
parent 7d7ca347fa
commit 287339e08d

View file

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SW_LEGACYITEM_HXX
#define INCLUDED_SW_LEGACYITEM_HXX
#pragma once
#include <sal/types.h>
@ -39,6 +39,4 @@ namespace legacy
}
}
#endif // INCLUDED_SW_LEGACYITEM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */