[Libreoffice-commits] .: 2 commits - filter/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Jun 9 16:09:50 PDT 2011


 filter/source/config/cache/typedetection.cxx |    2 ++
 filter/source/svg/svgfilter.cxx              |    3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 2cfe404afa3d136d8aefa1cc4d918a98442dcc2c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jun 10 00:08:10 2011 +0100

    oops, this comparator doesn't order correctly

diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 1ea0e7a..a33b62c 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -816,6 +816,8 @@ namespace
             return false;
         if (rA.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.FormatDetector")))
             return true;
+        if (rB.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.FormatDetector")))
+            return false;
         return rA < rB;
     }
 }
commit 399ed300016d880b19beafae902760b74f573b1a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jun 9 23:52:49 2011 +0100

    init this to NULL to match dtor assert

diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx
index e05793d..4bddd21 100644
--- a/filter/source/svg/svgfilter.cxx
+++ b/filter/source/svg/svgfilter.cxx
@@ -57,7 +57,8 @@ SVGFilter::SVGFilter( const Reference< XComponentContext >& rxCtx ) :
     mpSVGWriter( NULL ),
     mpDefaultSdrPage( NULL ),
     mpSdrModel( NULL ),
-    mbPresentation( sal_False )
+    mbPresentation( sal_False ),
+    mpObjects( NULL )
 {
 }
 


More information about the Libreoffice-commits mailing list