From 845493306279f446dbac9568a0a1e0f442e615dd Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Sun, 8 Feb 2009 21:16:37 -0300 Subject: 's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation. --- src/css.hh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/css.hh') diff --git a/src/css.hh b/src/css.hh index ef9774e8..ca708ca4 100644 --- a/src/css.hh +++ b/src/css.hh @@ -246,7 +246,7 @@ class CssPropertyList : public lout::misc::SimpleVector { void apply (CssPropertyList *props); void print (); inline void ref () { refCount++; } - inline void unref () { if(--refCount == 0) delete this; } + inline void unref () { if (--refCount == 0) delete this; } }; class CssSimpleSelector { @@ -300,7 +300,7 @@ class CssSelector { int specificity (); void print (); inline void ref () { refCount++; } - inline void unref () { if(--refCount == 0) delete this; } + inline void unref () { if (--refCount == 0) delete this; } }; /** @@ -340,7 +340,9 @@ class CssStyleSheet { }; void insert (CssRule *rule); - inline bool equals (lout::object::Object *other) { return this == other; }; + inline bool equals (lout::object::Object *other) { + return this == other; + }; inline int hashValue () { return (intptr_t) this; }; }; @@ -348,7 +350,7 @@ class CssStyleSheet { { public: RuleMap () : lout::container::typed::HashTable - (true, true, 256) {}; + (true, true, 256) {}; }; static const int ntags = 90; // \todo replace 90 -- cgit v1.2.3