[Libreoffice-commits] .: 2 commits - filter/qa svtools/qa sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jul 30 06:07:21 PDT 2012


 filter/qa/cppunit/data/pict/fail/EDB-19332-1.pct |binary
 svtools/qa/cppunit/data/gif/pass/EDB-19333-1.gif |    1 +
 sw/source/core/txtnode/ndhints.cxx               |    4 ++--
 3 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 2d206ffb2612018b54efeda5109d52e269e6b16b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jul 30 14:06:19 2012 +0100

    add in some more filter tests
    
    Change-Id: If3809196c577cda7a392ac9eae3b4fa411313b5c

diff --git a/filter/qa/cppunit/data/pict/fail/EDB-19332-1.pct b/filter/qa/cppunit/data/pict/fail/EDB-19332-1.pct
new file mode 100644
index 0000000..5f87403
Binary files /dev/null and b/filter/qa/cppunit/data/pict/fail/EDB-19332-1.pct differ
diff --git a/svtools/qa/cppunit/data/gif/pass/EDB-19333-1.gif b/svtools/qa/cppunit/data/gif/pass/EDB-19333-1.gif
new file mode 100644
index 0000000..53d2ca0
--- /dev/null
+++ b/svtools/qa/cppunit/data/gif/pass/EDB-19333-1.gif
@@ -0,0 +1 @@
+””&t©Š};'[ek2ΐ™~Ømé®ß1L-h£a[^¦Î.Þð!7¢/&»VOÊ»·BB^ïuËÃî±³È2k]Ynyå°G)‹Ê¿˜ð…‘jkš×Bà:Š’åå¢d#|åµÀu«\#ÑL—®í¢¡µê@Eßý˜
\ No newline at end of file
commit fb2e67f696d1859ad6e062fb345b577326529c8a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jul 30 13:46:23 2012 +0100

    rather pointless cast to long
    
    Change-Id: I1509269455a074285d209a5ab80e3517407d322d

diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx
index 8799b6b..02c0cfd 100644
--- a/sw/source/core/txtnode/ndhints.cxx
+++ b/sw/source/core/txtnode/ndhints.cxx
@@ -45,9 +45,9 @@ inline void DumpHints(const SwpHtStart &, const SwpHtEnd &) { }
  *                        inline IsEqual()
  *************************************************************************/
 
-inline sal_Bool IsEqual( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
+static bool IsEqual( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
 {
-    return (long)(&rHt1) == (long)(&rHt2);
+    return &rHt1 == &rHt2;
 }
 
 /*************************************************************************


More information about the Libreoffice-commits mailing list