diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 13:27:36 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 16:52:30 +0100 |
commit | e00bb5e0586e795946f7bf2ea2066152dde3d727 (patch) | |
tree | ea1b7df2214fde5f3a9467cdf73b25551ec8c4db | |
parent | f31af3ed40fba2376eb19238d3e158e91b6d1b29 (diff) |
Use 'pragma once' in Customize dialog headers
Change-Id: I93bffad0f550cc2b12e6fb65879767573485943f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90154
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r-- | cui/source/inc/CommandCategoryListBox.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/CustomNotebookbarGenerator.hxx | 5 | ||||
-rw-r--r-- | cui/source/inc/SvxConfigPageHelper.hxx | 5 | ||||
-rw-r--r-- | cui/source/inc/SvxMenuConfigPage.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/SvxNotebookbarConfigPage.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/SvxToolbarConfigPage.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/acccfg.hxx | 5 | ||||
-rw-r--r-- | cui/source/inc/cfg.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/dialmgr.hxx | 6 |
9 files changed, 15 insertions, 36 deletions
diff --git a/cui/source/inc/CommandCategoryListBox.hxx b/cui/source/inc/CommandCategoryListBox.hxx index 4075d1e22839..059c1474f1cd 100644 --- a/cui/source/inc/CommandCategoryListBox.hxx +++ b/cui/source/inc/CommandCategoryListBox.hxx @@ -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_CUI_SOURCE_INC_COMMANDCATEGORYLISTBOX_HXX -#define INCLUDED_CUI_SOURCE_INC_COMMANDCATEGORYLISTBOX_HXX + +#pragma once #include <i18nutil/searchopt.hxx> #include "cfgutil.hxx" @@ -77,6 +77,4 @@ public: void set_visible(bool bVisible) {m_xControl->set_visible(bVisible);} }; -#endif // INCLUDED_CUI_SOURCE_INC_COMMANDCATEGORYLISTBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/cui/source/inc/CustomNotebookbarGenerator.hxx b/cui/source/inc/CustomNotebookbarGenerator.hxx index 879c4dba522c..b06848dbb955 100644 --- a/cui/source/inc/CustomNotebookbarGenerator.hxx +++ b/cui/source/inc/CustomNotebookbarGenerator.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CUI_SOURCE_INC_CUSTOMNOTEBOOKBARGENERATOR_HXX -#define INCLUDED_CUI_SOURCE_INC_CUSTOMNOTEBOOKBARGENERATOR_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <rtl/ustring.hxx> @@ -40,6 +39,4 @@ public: OUString sNotebookbarConfigType); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/SvxConfigPageHelper.hxx b/cui/source/inc/SvxConfigPageHelper.hxx index 8aaba7ae90e2..8beed6069be3 100644 --- a/cui/source/inc/SvxConfigPageHelper.hxx +++ b/cui/source/inc/SvxConfigPageHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CUI_SOURCE_INC_SVXCONFIGPAGEHELPER_HXX -#define INCLUDED_CUI_SOURCE_INC_SVXCONFIGPAGEHELPER_HXX +#pragma once #include <com/sun/star/frame/XModuleManager2.hpp> @@ -87,6 +86,4 @@ public: }; -#endif // INCLUDED_CUI_SOURCE_INC_SVXCONFIGPAGEHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/SvxMenuConfigPage.hxx b/cui/source/inc/SvxMenuConfigPage.hxx index b5b09b726419..50124e46ab10 100644 --- a/cui/source/inc/SvxMenuConfigPage.hxx +++ b/cui/source/inc/SvxMenuConfigPage.hxx @@ -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_CUI_SOURCE_INC_SVXMENUCONFIGPAGE_HXX -#define INCLUDED_CUI_SOURCE_INC_SVXMENUCONFIGPAGE_HXX + +#pragma once #include <vcl/weld.hxx> #include <com/sun/star/ui/XUIConfigurationManager.hpp> @@ -69,6 +69,4 @@ public: bool docConfig ) override; }; -#endif // INCLUDED_CUI_SOURCE_INC_SVXMENUCONFIGPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/SvxNotebookbarConfigPage.hxx b/cui/source/inc/SvxNotebookbarConfigPage.hxx index 3c657db3ca84..47870949d9aa 100644 --- a/cui/source/inc/SvxNotebookbarConfigPage.hxx +++ b/cui/source/inc/SvxNotebookbarConfigPage.hxx @@ -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_CUI_SOURCE_INC_SVXNOTEBOOKBARCONFIGPAGE_HXX -#define INCLUDED_CUI_SOURCE_INC_SVXNOTEBOOKBARCONFIGPAGE_HXX + +#pragma once #include <libxml/parser.h> #include <vcl/weld.hxx> @@ -84,6 +84,4 @@ public: virtual ~SvxNotebookbarEntriesListBox() override; }; -#endif // INCLUDED_CUI_SOURCE_INC_SVXNOTEBOOKBARCONFIGPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/SvxToolbarConfigPage.hxx b/cui/source/inc/SvxToolbarConfigPage.hxx index f367fea9ed5f..5902cdf4b268 100644 --- a/cui/source/inc/SvxToolbarConfigPage.hxx +++ b/cui/source/inc/SvxToolbarConfigPage.hxx @@ -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_CUI_SOURCE_INC_SVXTOOLBARCONFIGPAGE_HXX -#define INCLUDED_CUI_SOURCE_INC_SVXTOOLBARCONFIGPAGE_HXX + +#pragma once #include <vcl/weld.hxx> #include <com/sun/star/ui/XUIConfigurationManager.hpp> @@ -87,6 +87,4 @@ public: virtual ~SvxToolbarEntriesListBox() override; }; -#endif // INCLUDED_CUI_SOURCE_INC_SVXTOOLBARCONFIGPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx index dc754a5edfb7..eee9c41e355e 100644 --- a/cui/source/inc/acccfg.hxx +++ b/cui/source/inc/acccfg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CUI_SOURCE_INC_ACCCFG_HXX -#define INCLUDED_CUI_SOURCE_INC_ACCCFG_HXX +#pragma once #include <com/sun/star/ui/XAcceleratorConfiguration.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -149,6 +148,4 @@ public: void Apply(const css::uno::Reference< css::ui::XAcceleratorConfiguration >& pAccMgr); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 70fa752f62c8..d6ad837edc84 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -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_CUI_SOURCE_INC_CFG_HXX -#define INCLUDED_CUI_SOURCE_INC_CFG_HXX + +#pragma once #include <vcl/transfer.hxx> #include <vcl/timer.hxx> @@ -670,6 +670,4 @@ public: SvxIconChangeDialog(weld::Window *pWindow, const OUString& rMessage); }; -#endif // INCLUDED_CUI_SOURCE_INC_CFG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/dialmgr.hxx b/cui/source/inc/dialmgr.hxx index ae0fcfd694bd..c31fde3a27a3 100644 --- a/cui/source/inc/dialmgr.hxx +++ b/cui/source/inc/dialmgr.hxx @@ -16,13 +16,11 @@ * 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_CUI_SOURCE_INC_DIALMGR_HXX -#define INCLUDED_CUI_SOURCE_INC_DIALMGR_HXX + +#pragma once #include <rtl/ustring.hxx> OUString CuiResId(const char* pKey); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |