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

Caolán McNamara caolan at kemper.freedesktop.org
Mon Apr 30 08:36:00 PDT 2012


 svtools/qa/cppunit/data/gif/pass/CVE-2008-3013-1.gif |binary
 sw/inc/crsrsh.hxx                                    |    2 +-
 sw/source/core/crsr/crsrsh.cxx                       |    2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a92c48fa795589f3f6dc8dd058d1ecdde173e3e3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Apr 30 15:56:43 2012 +0100

    WaE: unsafe mix of sal_Bool and bool
    
    Change-Id: I753ee58e5999f9ba0da5adeaba7800b76f7f4d68

diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 0c07972..41f6b63 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -672,7 +672,7 @@ public:
                             sal_Bool bInHeader = sal_True );
     // is point of cursor in header/footer. pbInHeader return sal_True if it is
     // in a headerframe otherwise in a footerframe
-    sal_Bool IsInHeaderFooter( sal_Bool* pbInHeader = 0 ) const;
+    bool IsInHeaderFooter( sal_Bool* pbInHeader = 0 ) const;
 
     sal_Bool GotoNextTOXBase( const String* = 0 );
     sal_Bool GotoPrevTOXBase( const String* = 0 );
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 88fd062..386798b 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -618,7 +618,7 @@ SwFrm* lcl_IsInHeaderFooter( const SwNodeIndex& rIdx, Point& rPt )
     return pFrm;
 }
 
-sal_Bool SwCrsrShell::IsInHeaderFooter( sal_Bool* pbInHeader ) const
+bool SwCrsrShell::IsInHeaderFooter( sal_Bool* pbInHeader ) const
 {
     Point aPt;
     SwFrm* pFrm = ::lcl_IsInHeaderFooter( pCurCrsr->GetPoint()->nNode, aPt );
commit 7c06f2675c44abc9ef3d2aff2d28b2e4acc8d1df
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Apr 30 15:31:30 2012 +0100

    add another test doc
    
    Change-Id: I6cc92e2242cf0f162b5c670bf2e70f1e8fc49a28

diff --git a/svtools/qa/cppunit/data/gif/pass/CVE-2008-3013-1.gif b/svtools/qa/cppunit/data/gif/pass/CVE-2008-3013-1.gif
new file mode 100644
index 0000000..e92a316
Binary files /dev/null and b/svtools/qa/cppunit/data/gif/pass/CVE-2008-3013-1.gif differ


More information about the Libreoffice-commits mailing list