diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-03-19 11:11:15 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-03-19 12:29:02 +0100 |
commit | 24da9e2538dc8f80fb6ac6d498992f9093495b22 (patch) | |
tree | 90c9440a3e50f9013cd738b37efcda8c71e083da /include | |
parent | 3e57225929a12fb3d7cecbf662bb2d4605621da2 (diff) |
Use sane indentation in new files.
Change-Id: Ida89284c00946d3972c4e45a5453ccfdff99713f
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/primitive2d/openglprimitive2d.hxx | 33 | ||||
-rw-r--r-- | include/svx/sdr/contact/viewcontactofopengl.hxx | 28 |
2 files changed, 30 insertions, 31 deletions
diff --git a/include/drawinglayer/primitive2d/openglprimitive2d.hxx b/include/drawinglayer/primitive2d/openglprimitive2d.hxx index c251dcb06e4f..832a657c46ef 100644 --- a/include/drawinglayer/primitive2d/openglprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/openglprimitive2d.hxx @@ -13,29 +13,28 @@ #include <tools/gen.hxx> #include <drawinglayer/primitive2d/baseprimitive2d.hxx> -namespace drawinglayer -{ - namespace primitive2d - { +namespace drawinglayer { +namespace primitive2d { - class DRAWINGLAYER_DLLPUBLIC OpenGLPrimitive2D : public BasePrimitive2D - { - public: - explicit OpenGLPrimitive2D(const Point& rPos); +/// Primitive to hold data necessary for openGL objects +class DRAWINGLAYER_DLLPUBLIC OpenGLPrimitive2D : public BasePrimitive2D +{ +public: + explicit OpenGLPrimitive2D(const Point& rPos); - const Point& getPos() const { return m_aPos; } + const Point& getPos() const { return m_aPos; } - virtual bool operator==( const BasePrimitive2D& rPrimitive ) const; + virtual bool operator==( const BasePrimitive2D& rPrimitive ) const; - /// provide unique ID - DeclPrimitive2DIDBlock() + /// provide unique ID + DeclPrimitive2DIDBlock() - private: - Point m_aPos; - }; +private: + Point m_aPos; +}; - } -} +} // namespace primitive2d +} // namespace drawinglayer #endif diff --git a/include/svx/sdr/contact/viewcontactofopengl.hxx b/include/svx/sdr/contact/viewcontactofopengl.hxx index ad96b0c03ea4..e5fae8b54845 100644 --- a/include/svx/sdr/contact/viewcontactofopengl.hxx +++ b/include/svx/sdr/contact/viewcontactofopengl.hxx @@ -14,21 +14,21 @@ class SdrOpenGLObj; -namespace sdr +namespace sdr { +namespace contact { + +class ViewContactOfOpenGL : public ViewContactOfSdrObj { - namespace contact - { - class ViewContactOfOpenGL : public ViewContactOfSdrObj - { - public: - explicit ViewContactOfOpenGL(SdrOpenGLObj& rOpenGLObj); - virtual ~ViewContactOfOpenGL(); - - protected: - virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const; - }; - } -} +public: + explicit ViewContactOfOpenGL(SdrOpenGLObj& rOpenGLObj); + virtual ~ViewContactOfOpenGL(); + +protected: + virtual drawinglayer::primitive2d::Primitive2DSequence createViewIndependentPrimitive2DSequence() const; +}; + +} // namespace contact +} // namespace sdr #endif |