tdf#124176: Use pragma once instead of include guards

Change-Id: I083ae8efad8bdf116ef98038fa1e15037655aba9
Reviewed-on: https://gerrit.libreoffice.org/85459
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
This commit is contained in:
Onur Yilmaz 2019-12-19 03:24:31 +03:00 committed by Muhammet Kara
parent 186fdf0d20
commit 1c7fb79ad1
5 changed files with 5 additions and 24 deletions

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_BUTTON_HXX
#define INCLUDED_FORMS_SOURCE_COMPONENT_BUTTON_HXX
#pragma once
#include "clickableimage.hxx"
#include <togglestate.hxx>
@ -192,7 +191,4 @@ private:
} // namespace frm
#endif // INCLUDED_FORMS_SOURCE_COMPONENT_BUTTON_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CHECKBOX_HXX
#define INCLUDED_FORMS_SOURCE_COMPONENT_CHECKBOX_HXX
#pragma once
#include "refvaluecomponent.hxx"
@ -74,7 +73,4 @@ public:
}
#endif // INCLUDED_FORMS_SOURCE_COMPONENT_CHECKBOX_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_COLUMNS_HXX
#define INCLUDED_FORMS_SOURCE_COMPONENT_COLUMNS_HXX
#pragma once
#include <cloneable.hxx>
#include <frm_strings.hxx>
@ -198,6 +197,4 @@ DECL_COLUMN(FormattedFieldColumn)
} // namespace frm
#endif // INCLUDED_FORMS_SOURCE_COMPONENT_COLUMNS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CACHEDROWSET_HXX
#define INCLUDED_FORMS_SOURCE_COMPONENT_CACHEDROWSET_HXX
#pragma once
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
@ -78,7 +77,4 @@ namespace frm
} // namespace frm
#endif // INCLUDED_FORMS_SOURCE_COMPONENT_CACHEDROWSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX
#define INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX
#pragma once
#include <memory>
#include <FormComponent.hxx>
@ -275,7 +274,4 @@ namespace frm
} // namespace frm
#endif // INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */