changeset 1731:92b899247f72

make StyleEngine::Node a struct - it's just that anyway
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 11 Oct 2010 18:08:31 +0200
parents c805b4e0b7ce
children 3e3630a58627
files src/styleengine.hh
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/styleengine.hh	Sat Oct 09 22:50:26 2010 +0200
+++ b/src/styleengine.hh	Mon Oct 11 18:08:31 2010 +0200
@@ -19,12 +19,11 @@
  */
 class StyleEngine {
    private:
-      class Node {
-         public:
-            dw::core::style::Style *style;
-            dw::core::style::Style *wordStyle;
-            const char *styleAttribute;
-            bool inheritBackgroundColor;
+      struct Node {
+         dw::core::style::Style *style;
+         dw::core::style::Style *wordStyle;
+         const char *styleAttribute;
+         bool inheritBackgroundColor;
       };
 
       dw::core::Layout *layout;