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

Alexander Wilms f.alexander.wilms at gmail.com
Wed Feb 26 07:01:57 PST 2014


 hwpfilter/source/hbox.cxx      |    2 +-
 hwpfilter/source/hwpfile.h     |    4 ++--
 hwpfilter/source/hwpreader.cxx |   18 +++++++++---------
 hwpfilter/source/list.hxx      |    6 +++---
 hwpfilter/source/mzstring.cxx  |    2 +-
 hwpfilter/source/mzstring.h    |    4 ++--
 6 files changed, 18 insertions(+), 18 deletions(-)

New commits:
commit 294229eb422f093f4d1cd30da21783957c72165d
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date:   Tue Feb 25 18:56:33 2014 +0100

    Remove visual noise from hwpfilter
    
    Change-Id: I57ea366a5ba585374773f53ca6cee99085fd846a
    Reviewed-on: https://gerrit.libreoffice.org/8267
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index c3b9d60..20edf6a 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -490,7 +490,7 @@ static const hchar *GetOutlineStyleChars(int style)
         {                                         // 3
             0x2f18, 0x2f16, 0x2f12, 0x2f10, 0x2f06, 0x2f00, 0x2043, 0x0000
         },
-        {                                         //
+        {
             0xAC61, 0xB677, 0xB861, 0xB8F7, 0xB781, 0x0000
         },
     };
diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h
index d6f9738..a404bf4 100644
--- a/hwpfilter/source/hwpfile.h
+++ b/hwpfilter/source/hwpfile.h
@@ -17,10 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-//
+
 // hwpfile.h
 // (C) 1998 Mizi Research, All rights are reserved
-//
+
 
 #ifndef _HWPFILE_H_
 #define _HWPFILE_H_
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 3a751cf..7b6d698 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -1097,7 +1097,7 @@ void HwpReader::makeMasterStyles()
 
             continue;
         }
-// ------------- header ------------- //
+// ------------- header -------------
         if( pPage->header )
         {
             rstartEl(ascii("style:header"), rList);
@@ -1197,7 +1197,7 @@ void HwpReader::makeMasterStyles()
             rendEl(ascii("text:p"));
             rendEl(ascii("style:header"));
         }
-// ------------- footer ------------- //
+// ------------- footer -------------
         if( pPage->footer )
         {
             rstartEl(ascii("style:footer"), rList);
@@ -1851,7 +1851,7 @@ void HwpReader::makeTStyle(CharShape * cshape)
 
 void HwpReader::makeTableStyle(Table *tbl)
 {
-// --------------- table ---------------- //
+// --------------- table ----------------
     TxtBox *hbox = tbl->box;
 
     padd(ascii("style:name"), sXML_CDATA,
@@ -1868,7 +1868,7 @@ void HwpReader::makeTableStyle(Table *tbl)
     rendEl(ascii("style:properties"));
     rendEl(ascii("style:style"));
 
-// --------------- column ---------------- //
+// --------------- column ----------------
     for (size_t i = 0 ; i < tbl->columns.nCount -1 ; i++)
     {
         sprintf(buf,"Table%d.%c",hbox->style.boxnum, static_cast<char>('A'+i));
@@ -1884,7 +1884,7 @@ void HwpReader::makeTableStyle(Table *tbl)
         rendEl(ascii("style:style"));
     }
 
-// --------------- row ---------------- //
+// --------------- row ----------------
     for (size_t i = 0 ; i < tbl->rows.nCount -1 ; i++)
     {
         sprintf(buf,"Table%d.row%" SAL_PRI_SIZET "u",hbox->style.boxnum, i + 1);
@@ -1900,7 +1900,7 @@ void HwpReader::makeTableStyle(Table *tbl)
         rendEl(ascii("style:style"));
     }
 
-// --------------- cell --------------------- //
+// --------------- cell ---------------------
     for (std::list<TCell*>::iterator it = tbl->cells.begin(), aEnd = tbl->cells.end(); it != aEnd; ++it)
     {
         TCell *tcell = *it;
@@ -3432,7 +3432,7 @@ void HwpReader::makeTable(TxtBox * hbox)
     pList->clear();
 
     Table *tbl = hbox->m_pTable;
-// ----------- column ---------------- //
+// ----------- column ----------------
     for (size_t i = 0 ; i < tbl->columns.nCount -1 ; i++)
     {
         sprintf(buf,"Table%d.%c",hbox->style.boxnum, static_cast<char>('A'+i));
@@ -3442,7 +3442,7 @@ void HwpReader::makeTable(TxtBox * hbox)
         rendEl(ascii("table:table-column"));
     }
 
-// ----------- cell ---------------- //
+// ----------- cell ----------------
     int j = -1, k = -1;
     for (std::list<TCell*>::iterator it = tbl->cells.begin(), aEnd = tbl->cells.end(); it != aEnd; ++it)
     {
@@ -3454,7 +3454,7 @@ void HwpReader::makeTable(TxtBox * hbox)
                 rendEl(ascii("table:table-row"));
                 k = j;
             }
-// --------------- row ---------------- //
+// --------------- row ----------------
             sprintf(buf,"Table%d.row%d",hbox->style.boxnum, tcell->nRowIndex + 1);
             padd(ascii("table:style-name"), sXML_CDATA, ascii( buf ));
             rstartEl(ascii("table:table-row"), rList);
diff --git a/hwpfilter/source/list.hxx b/hwpfilter/source/list.hxx
index 55a0d96..c2b820f 100644
--- a/hwpfilter/source/list.hxx
+++ b/hwpfilter/source/list.hxx
@@ -95,12 +95,12 @@ private:
 
 
 
-//
+
 // IMPLEMENTATION
-//
+
 // (the implementation of template classes must be accessible to using
 // code, hence this implementation is in the header.)
-//
+
 
 #include <algorithm>
 
diff --git a/hwpfilter/source/mzstring.cxx b/hwpfilter/source/mzstring.cxx
index cdd85bc..8d72f94 100644
--- a/hwpfilter/source/mzstring.cxx
+++ b/hwpfilter/source/mzstring.cxx
@@ -250,7 +250,7 @@ void MzString::replace(int pos, char ch)
 
 
 // Private Methods.
-//
+
 
 bool MzString::allocate(int len)
 {
diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h
index ff71ef9..f2a3cc2 100644
--- a/hwpfilter/source/mzstring.h
+++ b/hwpfilter/source/mzstring.h
@@ -169,9 +169,9 @@ inline const char* MzString::c_str() const
 }
 
 
-//
+
 // Non friend, non member operators
-//
+
 #endif                                            /* _MZSTRING_H_ */
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list