diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-12-28 10:15:19 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-12-28 11:44:56 +0100 |
commit | 08eccd9db6e7e2240a4053092967add4624a5f6c (patch) | |
tree | dcc35226ab05006f74a1f6d911cfd74671cf95fd /svtools/source/uno | |
parent | 0104c28ceac5f2802a34305e85edc2d9ffe252ba (diff) |
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 <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svtools/source/uno')
-rw-r--r-- | svtools/source/uno/fpicker.hxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/svtxgridcontrol.hxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/treecontrolpeer.hxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/unocontroltablemodel.hxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/unogridcolumnfacade.hxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/wizard/wizardpagecontroller.hxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/wizard/wizardshell.hxx | 4 |
7 files changed, 7 insertions, 21 deletions
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 <sal/config.h> #include <rtl/ustring.hxx> @@ -42,6 +41,5 @@ css::uno::Reference<css::uno::XInterface> FolderPicker_CreateInstance( css::uno::Sequence<OUString> 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 <table/tablecontrol.hxx> @@ -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 <com/sun/star/awt/tree/XTreeControl.hpp> #include <com/sun/star/awt/tree/XTreeDataModel.hpp> @@ -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 <svtools/table/tablemodel.hxx> #include <svtools/table/tablesort.hxx> @@ -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 <svtools/table/tablemodel.hxx> @@ -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 <vcl/wizardmachine.hxx> #include <com/sun/star/ui/dialogs/XWizardController.hpp> @@ -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 <com/sun/star/ui/dialogs/XWizardController.hpp> #include <com/sun/star/ui/dialogs/XWizard.hpp> @@ -127,6 +126,5 @@ namespace svt { namespace uno } } // namespace svt::uno -#endif // SVT_UNO_WIZARD_SHELL /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |