summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/drawinglayer/attribute/lineattribute.hxx18
-rw-r--r--include/drawinglayer/attribute/strokeattribute.hxx20
2 files changed, 9 insertions, 29 deletions
diff --git a/include/drawinglayer/attribute/lineattribute.hxx b/include/drawinglayer/attribute/lineattribute.hxx
index 4f01c1f574cb..90c50f904fe9 100644
--- a/include/drawinglayer/attribute/lineattribute.hxx
+++ b/include/drawinglayer/attribute/lineattribute.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_ATTRIBUTE_LINEATTRIBUTE_HXX
-#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_LINEATTRIBUTE_HXX
+#pragma once
#include <drawinglayer/drawinglayerdllapi.h>
@@ -27,22 +26,16 @@
#include <com/sun/star/drawing/LineCap.hpp>
#include <o3tl/cow_wrapper.hxx>
-
-// predefines
-
namespace basegfx {
class BColor;
}
-namespace drawinglayer { namespace attribute {
+namespace drawinglayer::attribute {
class ImpLineAttribute;
-}}
-
+}
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class DRAWINGLAYER_DLLPUBLIC LineAttribute
{
public:
@@ -77,10 +70,7 @@ namespace drawinglayer
css::drawing::LineCap getLineCap() const;
double getMiterMinimumAngle() const;
};
- } // end of namespace attribute
} // end of namespace drawinglayer
-#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_LINEATTRIBUTE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/drawinglayer/attribute/strokeattribute.hxx b/include/drawinglayer/attribute/strokeattribute.hxx
index 40e15707b25f..fd9409e9519d 100644
--- a/include/drawinglayer/attribute/strokeattribute.hxx
+++ b/include/drawinglayer/attribute/strokeattribute.hxx
@@ -17,25 +17,18 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_ATTRIBUTE_STROKEATTRIBUTE_HXX
-#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_STROKEATTRIBUTE_HXX
+#pragma once
#include <drawinglayer/drawinglayerdllapi.h>
#include <o3tl/cow_wrapper.hxx>
#include <vector>
-
-// predefines
-
-namespace drawinglayer { namespace attribute {
+namespace drawinglayer::attribute {
class ImpStrokeAttribute;
-}}
+}
-
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class DRAWINGLAYER_DLLPUBLIC StrokeAttribute
{
public:
@@ -66,10 +59,7 @@ namespace drawinglayer
const ::std::vector< double >& getDotDashArray() const;
double getFullDotDashLen() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
-
+} // end of namespace drawinglayer::attribute
-#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_STROKEATTRIBUTE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */