tdf#143148 Use pragma once instead of include guards in vcl and xmloff
Change-Id: I317da0a6f626e8ddb3f090099347b130e99ff2a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163856 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
parent
8f6b412581
commit
3d8e32a195
@ -17,8 +17,7 @@
|
|||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_VCL_SKIA_GDIIMPL_HXX
|
#pragma once
|
||||||
#define INCLUDED_VCL_SKIA_GDIIMPL_HXX
|
|
||||||
|
|
||||||
#include <vcl/dllapi.h>
|
#include <vcl/dllapi.h>
|
||||||
|
|
||||||
@ -436,6 +435,4 @@ inline SkPaint SkiaSalGraphicsImpl::makePixelPaint(std::optional<Color> color) c
|
|||||||
return paint;
|
return paint;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@ -17,8 +17,7 @@
|
|||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_VCL_INC_SKIA_SALBMP_H
|
#pragma once
|
||||||
#define INCLUDED_VCL_INC_SKIA_SALBMP_H
|
|
||||||
|
|
||||||
#include <salbmp.hxx>
|
#include <salbmp.hxx>
|
||||||
#include <vcl/bitmap.hxx>
|
#include <vcl/bitmap.hxx>
|
||||||
@ -226,6 +225,4 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INCLUDED_VCL_INC_SKIA_SALBMP_H
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@ -16,8 +16,7 @@
|
|||||||
* except in compliance with the License. You may obtain a copy of
|
* except in compliance with the License. You may obtain a copy of
|
||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
#ifndef INCLUDED_VCL_STRHELPER_HXX
|
#pragma once
|
||||||
#define INCLUDED_VCL_STRHELPER_HXX
|
|
||||||
|
|
||||||
#include <rtl/math.hxx>
|
#include <rtl/math.hxx>
|
||||||
#include <rtl/ustring.hxx>
|
#include <rtl/ustring.hxx>
|
||||||
@ -49,6 +48,4 @@ namespace psp
|
|||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#endif // INCLUDED_VCL_STRHELPER_HXX
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@ -7,11 +7,8 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_VCL_INC_STRINGS_HXX
|
#pragma once
|
||||||
#define INCLUDED_VCL_INC_STRINGS_HXX
|
|
||||||
|
|
||||||
#define SV_APP_VCLBACKEND "VCL: "
|
#define SV_APP_VCLBACKEND "VCL: "
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
* except in compliance with the License. You may obtain a copy of
|
* except in compliance with the License. You may obtain a copy of
|
||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
#ifndef XMLOFF_COLORPROPERTYSET_HXX
|
|
||||||
#define XMLOFF_COLORPROPERTYSET_HXX
|
#pragma once
|
||||||
|
|
||||||
#include <cppuhelper/implbase.hxx>
|
#include <cppuhelper/implbase.hxx>
|
||||||
#include <tools/color.hxx>
|
#include <tools/color.hxx>
|
||||||
@ -76,7 +76,5 @@ private:
|
|||||||
|
|
||||||
} // namespace xmloff::chart
|
} // namespace xmloff::chart
|
||||||
|
|
||||||
// XMLOFF_COLORPROPERTYSET_HXX
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user