summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper/implcustomsprite.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/wrapper/implcustomsprite.hxx')
-rw-r--r--cppcanvas/source/wrapper/implcustomsprite.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/cppcanvas/source/wrapper/implcustomsprite.hxx b/cppcanvas/source/wrapper/implcustomsprite.hxx
index 0235e0a43803..7c698ac5b72c 100644
--- a/cppcanvas/source/wrapper/implcustomsprite.hxx
+++ b/cppcanvas/source/wrapper/implcustomsprite.hxx
@@ -17,18 +17,15 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX
+#pragma once
#include <cppcanvas/canvas.hxx>
#include <cppcanvas/customsprite.hxx>
#include "implsprite.hxx"
#include "implspritecanvas.hxx"
-namespace cppcanvas
+namespace cppcanvas::internal
{
- namespace internal
- {
// share Sprite implementation of ImplSprite
class ImplCustomSprite : public virtual CustomSprite, protected virtual ImplSprite
{
@@ -49,9 +46,6 @@ namespace cppcanvas
mutable CanvasSharedPtr mpLastCanvas;
const css::uno::Reference< css::rendering::XCustomSprite > mxCustomSprite;
};
- }
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */