[Libreoffice-commits] core.git: 3 commits - hwpfilter/source offapi/com

Ariel Constenla-Haile arielch at apache.org
Sun Mar 9 10:08:27 PDT 2014


 hwpfilter/source/hwpread.cxx                  |   17 +++++++++++------
 offapi/com/sun/star/document/XUndoManager.idl |    2 +-
 2 files changed, 12 insertions(+), 7 deletions(-)

New commits:
commit df4db631c5a35101283895937d5277a5c0b79690
Author: Ariel Constenla-Haile <arielch at apache.org>
Date:   Sun Mar 9 05:47:10 2014 +0000

    Do not display heading in the IDL short description
    (cherry picked from commit 8242e5eed90db471b5dbe37a6bf03e96988ec26d)

diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl
index 0ba866a..04f8b7e 100644
--- a/offapi/com/sun/star/document/XUndoManager.idl
+++ b/offapi/com/sun/star/document/XUndoManager.idl
@@ -37,7 +37,7 @@ interface XUndoManagerListener;
 
 
 /** provides access to the undo/redo stacks of a document
-
+    <p></p>
     <h3>Undo</h3>
     <p>Changes to a document usually result in recording of information how to undo those changes, if desired. A so-called
     undo action records the information how to undo a single change. Undo actions are maintained in a stack, so that
commit 3f0a8dc3c8204d6a500a5da64ad57996d593022f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Mar 9 17:06:59 2014 +0000

    coverity#707905 Uninitialized scalar field
    
    Change-Id: Icb00858146d65963a1c3144a61aa467d7da461e4

diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index d0b37c4..a5ba049 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -637,13 +637,16 @@ bool NewNum::Read(HWPFile & hwpf)
     return !hwpf.State();
 }
 
-
 // show page number (20)
-ShowPageNum::ShowPageNum():HBox(CH_SHOW_PAGE_NUM)
+ShowPageNum::ShowPageNum()
+    : HBox(CH_SHOW_PAGE_NUM)
+    , where(0)
+    , m_nPageNumber(0)
+    , shape(0)
+    , dummy(0)
 {
 }
 
-
 bool ShowPageNum::Read(HWPFile & hwpf)
 {
     hwpf.Read2b(&where, 1);
commit 1ac855e8550af5cb54b27f306743f56a26c8f9c1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Mar 9 17:05:50 2014 +0000

    coverity#707904 Uninitialized scalar field
    
    Change-Id: Ied056d944574534e1900cf6644d1eea868cbeee1

diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index ae6a0a8..d0b37c4 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -659,13 +659,15 @@ bool ShowPageNum::Read(HWPFile & hwpf)
     return !hwpf.State();
 }
 
-
 /* Ȧ¼öÂʽÃÀÛ/°¨Ãß±â (21) */
-PageNumCtrl::PageNumCtrl():HBox(CH_PAGE_NUM_CTRL)
+PageNumCtrl::PageNumCtrl()
+    : HBox(CH_PAGE_NUM_CTRL)
+    , kind(0)
+    , what(0)
+    , dummy(0)
 {
 }
 
-
 bool PageNumCtrl::Read(HWPFile & hwpf)
 {
     hwpf.Read2b(&kind, 1);


More information about the Libreoffice-commits mailing list