From 08eccd9db6e7e2240a4053092967add4624a5f6c Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 28 Dec 2019 10:15:19 +0100 Subject: tdf#124176: Use "pragma once" on svtools/* It passed "make check" on Linux Change-Id: I29c8f695c499652387ee2f0fffeccd46c3ec8e6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85913 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- svtools/source/uno/fpicker.hxx | 4 +--- svtools/source/uno/svtxgridcontrol.hxx | 4 +--- svtools/source/uno/treecontrolpeer.hxx | 4 +--- svtools/source/uno/unocontroltablemodel.hxx | 4 +--- svtools/source/uno/unogridcolumnfacade.hxx | 4 +--- svtools/source/uno/wizard/wizardpagecontroller.hxx | 4 +--- svtools/source/uno/wizard/wizardshell.hxx | 4 +--- 7 files changed, 7 insertions(+), 21 deletions(-) (limited to 'svtools/source/uno') diff --git a/svtools/source/uno/fpicker.hxx b/svtools/source/uno/fpicker.hxx index 6af6400972be..76a7d078fa61 100644 --- a/svtools/source/uno/fpicker.hxx +++ b/svtools/source/uno/fpicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SVTOOLS_SOURCE_UNO_FPICKER_HXX -#define INCLUDED_SVTOOLS_SOURCE_UNO_FPICKER_HXX +#pragma once #include #include @@ -42,6 +41,5 @@ css::uno::Reference FolderPicker_CreateInstance( css::uno::Sequence FolderPicker_getSupportedServiceNames(); OUString FolderPicker_getImplementationName(); -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/svtxgridcontrol.hxx b/svtools/source/uno/svtxgridcontrol.hxx index b51f753e1f38..a89c31113cb4 100644 --- a/svtools/source/uno/svtxgridcontrol.hxx +++ b/svtools/source/uno/svtxgridcontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SVTOOLS_SOURCE_UNO_SVTXGRIDCONTROL_HXX -#define INCLUDED_SVTOOLS_SOURCE_UNO_SVTXGRIDCONTROL_HXX +#pragma once #include "unocontroltablemodel.hxx" #include @@ -107,6 +106,5 @@ private: bool m_bTableModelInitCompleted; SelectionListenerMultiplexer m_aSelectionListeners; }; -#endif // INCLUDED_SVTOOLS_SOURCE_UNO_SVTXGRIDCONTROL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/treecontrolpeer.hxx b/svtools/source/uno/treecontrolpeer.hxx index e433d8c2d0ea..fb547973283d 100644 --- a/svtools/source/uno/treecontrolpeer.hxx +++ b/svtools/source/uno/treecontrolpeer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SVTOOLS_SOURCE_UNO_TREECONTROLPEER_HXX -#define INCLUDED_SVTOOLS_SOURCE_UNO_TREECONTROLPEER_HXX +#pragma once #include #include @@ -167,6 +166,5 @@ private: css::uno::Reference< css::graphic::XGraphicProvider > mxGraphicProvider; }; -#endif // INCLUDED_SVTOOLS_SOURCE_UNO_TREECONTROLPEER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/unocontroltablemodel.hxx b/svtools/source/uno/unocontroltablemodel.hxx index feb63c1de647..607a77316bf0 100644 --- a/svtools/source/uno/unocontroltablemodel.hxx +++ b/svtools/source/uno/unocontroltablemodel.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SVTOOLS_SOURCE_UNO_UNOCONTROLTABLEMODEL_HXX -#define INCLUDED_SVTOOLS_SOURCE_UNO_UNOCONTROLTABLEMODEL_HXX +#pragma once #include #include @@ -152,6 +151,5 @@ namespace svt { namespace table } } // svt::table -#endif // INCLUDED_SVTOOLS_SOURCE_UNO_UNOCONTROLTABLEMODEL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/unogridcolumnfacade.hxx b/svtools/source/uno/unogridcolumnfacade.hxx index a2aa6a06f29b..72b84372ad94 100644 --- a/svtools/source/uno/unogridcolumnfacade.hxx +++ b/svtools/source/uno/unogridcolumnfacade.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SVTOOLS_SOURCE_UNO_UNOGRIDCOLUMNFACADE_HXX -#define INCLUDED_SVTOOLS_SOURCE_UNO_UNOGRIDCOLUMNFACADE_HXX +#pragma once #include @@ -86,6 +85,5 @@ namespace svt { namespace table } } // svt::table -#endif // INCLUDED_SVTOOLS_SOURCE_UNO_UNOGRIDCOLUMNFACADE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/wizard/wizardpagecontroller.hxx b/svtools/source/uno/wizard/wizardpagecontroller.hxx index 1a0161084867..12cd900b49e2 100644 --- a/svtools/source/uno/wizard/wizardpagecontroller.hxx +++ b/svtools/source/uno/wizard/wizardpagecontroller.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SVTOOLS_SOURCE_UNO_WIZARD_WIZARDPAGECONTROLLER_HXX -#define INCLUDED_SVTOOLS_SOURCE_UNO_WIZARD_WIZARDPAGECONTROLLER_HXX +#pragma once #include #include @@ -59,6 +58,5 @@ namespace svt { namespace uno } } // namespace svt::uno -#endif // INCLUDED_SVTOOLS_SOURCE_UNO_WIZARD_WIZARDPAGECONTROLLER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/wizard/wizardshell.hxx b/svtools/source/uno/wizard/wizardshell.hxx index 391df0f7769e..29a7e9b3853b 100644 --- a/svtools/source/uno/wizard/wizardshell.hxx +++ b/svtools/source/uno/wizard/wizardshell.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef SVT_UNO_WIZARD_SHELL -#define SVT_UNO_WIZARD_SHELL +#pragma once #include #include @@ -127,6 +126,5 @@ namespace svt { namespace uno } } // namespace svt::uno -#endif // SVT_UNO_WIZARD_SHELL /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit