[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/kotext/styles
From:       Casper Boemann <cbr () boemann ! dk>
Date:       2010-08-11 17:57:23
Message-ID: 20100811175723.130A9AC84E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1162229 by boemann:

Same treatment to Row style as column style


 M  +1 -1      KoTableColumnStyle.cpp  
 M  +2 -2      KoTableRowStyle.cpp  


--- trunk/koffice/libs/kotext/styles/KoTableColumnStyle.cpp #1162228:1162229
@@ -269,7 +269,7 @@
 
 bool KoTableColumnStyle::operator==(const KoTableColumnStyle &other) const
 {
-    return (other.d == d);
+    return other.d == d;
 }
 
 void KoTableColumnStyle::removeDuplicates(const KoTableColumnStyle &other)
--- trunk/koffice/libs/kotext/styles/KoTableRowStyle.cpp #1162228:1162229
@@ -41,7 +41,7 @@
 class KoTableRowStyle::Private : public QSharedData
 {
 public:
-    Private() : parentStyle(0), next(0) {}
+    Private() : QSharedData(), parentStyle(0), next(0) {}
 
     ~Private() {
     }
@@ -319,7 +319,7 @@
 
 bool KoTableRowStyle::operator==(const KoTableRowStyle &other) const
 {
-    return other.d->stylesPrivate == d->stylesPrivate;
+    return other.d == d;
 }
 
 void KoTableRowStyle::removeDuplicates(const KoTableRowStyle &other)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic