summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-04-26 08:17:28 +0000
committertavmjong-free <tavmjong@free.fr>2014-04-26 08:17:28 +0000
commitb9f4d7dfe7411f551192a98a3d8151e14149c5ae (patch)
treea1a05006ed6b30e868adf3a813a6ffab02f1773e /src/libnrtype
parentFix remaining cmake build error in 2geom (bug #1283174) (diff)
downloadinkscape-b9f4d7dfe7411f551192a98a3d8151e14149c5ae.tar.gz
inkscape-b9f4d7dfe7411f551192a98a3d8151e14149c5ae.zip
Clean up of style code: Patch from suv: SPStyle: struct -> class
(bzr r13309)
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/Layout-TNG.h2
-rw-r--r--src/libnrtype/font-lister.h2
-rw-r--r--src/libnrtype/font-style-to-pos.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libnrtype/Layout-TNG.h b/src/libnrtype/Layout-TNG.h
index c3ccbffb5..efb5ebc24 100644
--- a/src/libnrtype/Layout-TNG.h
+++ b/src/libnrtype/Layout-TNG.h
@@ -34,7 +34,7 @@ namespace Inkscape {
using Inkscape::Extension::Internal::CairoRenderContext;
#endif
-struct SPStyle;
+class SPStyle;
class Shape;
struct SPPrintContext;
class SVGLength;
diff --git a/src/libnrtype/font-lister.h b/src/libnrtype/font-lister.h
index c42bf98fd..a460388d3 100644
--- a/src/libnrtype/font-lister.h
+++ b/src/libnrtype/font-lister.h
@@ -26,7 +26,7 @@
class SPObject;
class SPDocument;
class SPCSSAttr;
-struct SPStyle;
+class SPStyle;
namespace Inkscape
{
diff --git a/src/libnrtype/font-style-to-pos.h b/src/libnrtype/font-style-to-pos.h
index 56eb391c2..41ba6cf72 100644
--- a/src/libnrtype/font-style-to-pos.h
+++ b/src/libnrtype/font-style-to-pos.h
@@ -3,7 +3,7 @@
#include <libnrtype/nr-type-pos-def.h>
-struct SPStyle;
+class SPStyle;
NRTypePosDef font_style_to_pos(SPStyle const &style);