diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:56:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 09:01:34 -0600 |
commit | 294229eb422f093f4d1cd30da21783957c72165d (patch) | |
tree | 88a310222857947f11b9c49245a42c7e2e311cdb | |
parent | 2196955b00071dce0d89e6dd13c50284d066e1f2 (diff) |
Remove visual noise from hwpfilter
Change-Id: I57ea366a5ba585374773f53ca6cee99085fd846a
Reviewed-on: https://gerrit.libreoffice.org/8267
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | hwpfilter/source/hbox.cxx | 2 | ||||
-rw-r--r-- | hwpfilter/source/hwpfile.h | 4 | ||||
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 18 | ||||
-rw-r--r-- | hwpfilter/source/list.hxx | 6 | ||||
-rw-r--r-- | hwpfilter/source/mzstring.cxx | 2 | ||||
-rw-r--r-- | hwpfilter/source/mzstring.h | 4 |
6 files changed, 18 insertions, 18 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index c3b9d60928c7..20edf6a0b49d 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 d6f9738f32cb..a404bf4c14be 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 3a751cfb93be..7b6d6985c84a 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 55a0d962f638..c2b820f8f710 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 cdd85bce5bec..8d72f94ae40e 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 ff71ef916268..f2a3cc229389 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: */ |