tdf#124176: Use pragma once instead of include guards

Change-Id: Id65f17c9785e9db3eecfb1fba6902a04906077e5
Reviewed-on: https://gerrit.libreoffice.org/85428
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
This commit is contained in:
Yusuf Keten 2019-12-18 22:13:49 +03:00 committed by Muhammet Kara
parent 7fb88645d2
commit 583c1c34ae
5 changed files with 5 additions and 20 deletions

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_ACTION_HXX
#define INCLUDED_CPPCANVAS_SOURCE_INC_ACTION_HXX
#pragma once
#include <sal/types.h>
@ -146,6 +145,4 @@ namespace cppcanvas
}
}
#endif // INCLUDED_CPPCANVAS_SOURCE_INC_ACTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_CANVASGRAPHICHELPER_HXX
#define INCLUDED_CPPCANVAS_SOURCE_INC_CANVASGRAPHICHELPER_HXX
#pragma once
#include <com/sun/star/rendering/RenderState.hpp>
#include <basegfx/polygon/b2dpolypolygon.hxx>
@ -69,6 +68,4 @@ namespace cppcanvas
}
}
#endif // INCLUDED_CPPCANVAS_SOURCE_INC_CANVASGRAPHICHELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_IMPLRENDERER_HXX
#define INCLUDED_CPPCANVAS_SOURCE_INC_IMPLRENDERER_HXX
#pragma once
#include <sal/config.h>
@ -245,6 +244,4 @@ namespace cppcanvas
}
}
#endif // INCLUDED_CPPCANVAS_SOURCE_INC_IMPLRENDERER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_OUTDEVSTATE_HXX
#define INCLUDED_CPPCANVAS_SOURCE_INC_OUTDEVSTATE_HXX
#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
@ -124,6 +123,4 @@ namespace cppcanvas
}
}
#endif // INCLUDED_CPPCANVAS_SOURCE_INC_OUTDEVSTATE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_TOOLS_HXX
#define INCLUDED_CPPCANVAS_SOURCE_INC_TOOLS_HXX
#pragma once
#include <com/sun/star/uno/Sequence.hxx>
#include <cppcanvas/color.hxx>
@ -33,6 +32,4 @@ namespace cppcanvas
}
}
#endif // INCLUDED_CPPCANVAS_SOURCE_INC_TOOLS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */