tdf#143148 Use pragma once instead of include guards in svx directory
Change-Id: I1b26987848f0a7772a52fc07a811abd7098e0793 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174419 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
committed by
Ilmari Lauhakangas
parent
55a8fce5d7
commit
760686f881
@@ -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_SVX_PARSECONTEXT_HXX
|
||||
#define INCLUDED_SVX_PARSECONTEXT_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <config_options.h>
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
@@ -80,7 +80,5 @@ namespace svxform
|
||||
const OSystemParseContext* getParseContext() const;
|
||||
};
|
||||
}
|
||||
#endif // INCLUDED_SVX_PARSECONTEXT_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_SVX_SHAPETYPEHANDLER_HXX
|
||||
#define INCLUDED_SVX_SHAPETYPEHANDLER_HXX
|
||||
#pragma once
|
||||
|
||||
#include <svx/svxdllapi.h>
|
||||
|
||||
@@ -195,6 +194,4 @@ private:
|
||||
|
||||
} // end of namespace accessible
|
||||
|
||||
#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_SVX_SMARTTAGITEM_HXX
|
||||
#define INCLUDED_SVX_SMARTTAGITEM_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <svl/poolitem.hxx>
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
@@ -76,7 +76,5 @@ public:
|
||||
const OUString& GetRangeText() const { return maRangeText; }
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SVX_SMARTTAGITEM_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_SVX_SMARTTAGMGR_HXX
|
||||
#define INCLUDED_SVX_SMARTTAGMGR_HXX
|
||||
#pragma once
|
||||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
@@ -227,6 +226,4 @@ public:
|
||||
virtual void SAL_CALL changesOccurred( const css::util::ChangesEvent& Event ) override;
|
||||
};
|
||||
|
||||
#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_SVX_SPELLDIALOGCHILDWINDOW_HXX
|
||||
#define INCLUDED_SVX_SPELLDIALOGCHILDWINDOW_HXX
|
||||
#pragma once
|
||||
|
||||
#include <sfx2/childwin.hxx>
|
||||
#include <editeng/SpellPortions.hxx>
|
||||
@@ -110,6 +109,4 @@ protected:
|
||||
|
||||
} // end of namespace ::svx
|
||||
|
||||
#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_SVX_SVXCOLORCHILDWINDOW_HXX
|
||||
#define INCLUDED_SVX_SVXCOLORCHILDWINDOW_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <sfx2/childwin.hxx>
|
||||
#include <svx/svxdllapi.h>
|
||||
@@ -35,6 +35,4 @@ class SVX_DLLPUBLIC SvxColorChildWindow final : public SfxChildWindow
|
||||
};
|
||||
|
||||
|
||||
#endif // INCLUDED_SVX_SVXCOLORCHILDWINDOW_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_SVX_SVXCOLORVALUESET_HXX
|
||||
#define INCLUDED_SVX_SVXCOLORVALUESET_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <svtools/valueset.hxx>
|
||||
#include <svx/svxdllapi.h>
|
||||
@@ -46,6 +46,4 @@ public:
|
||||
virtual FactoryFunction GetUITestFactory() const override;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SVX_SVXCOLORVALUESET_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_SVX_SVXNUMOPTIONSTABPAGEHELPER_HXX
|
||||
#define INCLUDED_SVX_SVXNUMOPTIONSTABPAGEHELPER_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/text/XDefaultNumberingProvider.hpp>
|
||||
#include <vcl/weld.hxx>
|
||||
@@ -46,5 +45,4 @@ public:
|
||||
static void GetI18nNumbering(weld::ComboBox& rFmtLB, sal_uInt16 nDoNotRemove);
|
||||
};
|
||||
|
||||
#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_SVX_SVXPRESETLISTBOX_HXX
|
||||
#define INCLUDED_SVX_SVXPRESETLISTBOX_HXX
|
||||
#pragma once
|
||||
|
||||
#include <svtools/valueset.hxx>
|
||||
#include <svx/xtable.hxx>
|
||||
@@ -61,6 +60,4 @@ public:
|
||||
void DrawLayout();
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SVX_SVXPRESETLISTBOX_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_SVX_SVXSHAPETYPES_HXX
|
||||
#define INCLUDED_SVX_SVXSHAPETYPES_HXX
|
||||
#pragma once
|
||||
|
||||
namespace accessibility
|
||||
{
|
||||
@@ -67,6 +66,4 @@ enum SvxShapeTypes
|
||||
|
||||
} // end of namespace accessibility
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user