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>
This commit is contained in:
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
Reference in New Issue
Block a user