Commit Graph

610 Commits

Author SHA1 Message Date
Takeshi Abe
136ae4bc2f sal_Bool to bool
Change-Id: I87d6e518aebcd0074f673b84b66df27ae9a0a15a
2012-10-30 11:50:20 +09:00
Michael Stahl
0956d26391 sw: tweak previous comment translations
Change-Id: I8702c70eb2579781e2f524b2364191e1636370c5
2012-10-26 19:17:45 +02:00
Philipp Weissenbacher
c72fa4f6c9 Translate German comments
Change-Id: I54db750b79f77ee964c31febe466f0eeee82b9d1
Reviewed-on: https://gerrit.libreoffice.org/917
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-26 17:16:05 +00:00
Philipp Weissenbacher
0a6da5e194 Translate German comments
Change-Id: I5a5e9d99ee474432c70808ae0e5bca847c67fcbe
Reviewed-on: https://gerrit.libreoffice.org/902
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-10-23 12:43:05 +00:00
Philipp Weissenbacher
a6badf3621 Translate German comments
Change-Id: I91e6fe51e6fb15cda90a6fab029d19c12cb3d251
Reviewed-on: https://gerrit.libreoffice.org/899
Tested-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
2012-10-23 12:41:48 +00:00
Takeshi Abe
ec9e661988 sal_Bool to bool
Change-Id: I71842ace16eb65b3269754cc36408fe52843b2ea
2012-10-22 12:53:33 +09:00
Takeshi Abe
bb80f99092 sal_Bool to bool
Change-Id: Ideb46a876ef74f505b71e2a788d5f8da50e251af
2012-10-20 23:12:12 +09:00
Philipp Weissenbacher
f163a827ff Translate German comments to English
Change-Id: If9483ca830c7902094c0e0d5a15755931ae87c46
2012-10-17 09:26:56 +02:00
Philipp Weissenbacher
96d38b4f7b Translate German comments
Change-Id: I19850b38bd3cefeb759e152c3af22daf2829ffe7
2012-10-17 09:26:56 +02:00
Takeshi Abe
b1167e1250 sal_Bool to bool
Change-Id: I89050a1aa899b1a6cd49800f805af9611fd0a9a7
2012-10-16 18:33:24 +09:00
Luboš Luňák
f2655f92c1 postfix operator++ -> prefix operator++
Change-Id: I51506a83009db838d8e12d5559c46b404e59f9b5
2012-10-15 23:33:09 +02:00
Luboš Luňák
21d10c6f32 mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
2012-10-12 16:56:54 +02:00
Takeshi Abe
7e1d03f0f6 sal_Bool to bool
Change-Id: I2549e597bc11d0a4b4bcdc42c77914dda01a1c5f
2012-10-10 07:37:12 +09:00
Michael Stahl
4113d9664c rhbz#820283, fdo#55462: sw: better fix for DOCX table import crash:
The fix in 6d2e09db4a is completely bogus.
Only vertically merged boxes result in dummy boxes with negative span,
while horizontally merged boxes result in different numbers of boxes per
line.  So instead of inserting boxes, adjust the width of the last box
in rows that are missing boxes, such that all lines have the same width.

Change-Id: I4e90e852b314bf6f7885bde7b450dab7c668469e
2012-10-04 19:59:13 +02:00
Takeshi Abe
30d33b126f sal_Bool to bool
Change-Id: Ic05d9f062e7419d192b8cf6e56c91b3f9d97bfe0
2012-09-27 13:21:50 +09:00
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Michael Stahl
5e21ad82ef de-duplicate SwNodes::TextToTable()
Change-Id: I8a61b67cb5bd1333c05f9a98c7af6e3ed05c8fd0
2012-09-24 13:50:11 +02:00
Michael Stahl
6d2e09db4a rhbz#820283: fix crashes in DOCX table import:
It is apparently possible that writerfilter creates a table with
irregular structure, where the lines have varying numbers of boxes in
them.  This may cause crashes on later editing operations, e.g.
when SwTable::NewInsertCol() is unable to find boxes covering a
particular column.  To prevent this, add missing boxes in
SwNodes::TextToTable().

Change-Id: I423821645baeaf55595e4933e1ab8fb89b2099f3
2012-09-24 13:50:11 +02:00
Michael Stahl
b844f06b36 fdo#48692: fix problems with large number of table cells:
SwSelBoxes containers are filled from SwTableSortBoxes in various
places, so adapt that to use size_t integers as well.

Change-Id: Ia55f020bb9ada94bb22802d9adabb055a22edd2f
2012-09-21 18:05:02 +02:00
Michael Stahl
5f91f8a368 fdo#48692: fix problems with large number of table cells:
The SwTableSortBoxes is now a STL container which can have more than
2^16 elements but unfortunately there are a lot of 16 bit integers used
to index it all over the place, causing infinite loops and possibly
worse problems; fix that to use size_t.

Change-Id: I868ec9dd0629be4fbe4d6b8f294fb765e3d662ec
2012-09-21 18:05:02 +02:00
Michael Stahl
f648822782 SwDoc::InsertSwSection translate assertion
Change-Id: I225610dd844b081eb0c0e4e5b1e0f31188cb8062
2012-09-12 21:51:57 +02:00
Stephan Bergmann
447410b255 -Werror,-Wnon-literal-null-conversion (various sw)
Change-Id: Ibab710f57b599b239e3d7e0dc2faec53d994f2f5
2012-09-11 17:11:10 +02:00
Bertrand Lorentz
a6c7410c13 fdo#39468: Translated German comments in sw/source/core/docnode/ndnotxt.cxx
Change-Id: I0838ef7e1a80056a2a0bf0fc8d4ff91f9acbe5b7
2012-08-14 10:36:04 +02:00
Bertrand Lorentz
bf68634a4e fdo#39468: Translate German comments in sw/source/core/docnode/ndcopy.cxx
Change-Id: I6de2586d54d3e0938e2e9701885a043c76f686ae
Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-08-05 12:58:33 +02:00
Caolán McNamara
2b049bb03a C40_GETPOS is unnecessary now
Change-Id: Ida64fbeba996c8e3deb7591be825b61d17044d9c
2012-07-30 12:47:50 +01:00
Noel Grandin
ddd84d08c9 Convert SV_DECL_PTRARR_SORT_DEL(_SwRedlineTbl) to o3tl::sorted_vector
Change-Id: Ie7edc6b32b373619d4c0ac154da93650743049cf
2012-07-26 23:35:27 +02:00
Noel Grandin
e0e006ccb0 Convert SV_DECL_VARARR( _MapTblFrmFmts) to std::vector
Change-Id: I96db7b86a5739a396522cf2e5c3dbaae48963859
2012-07-26 14:30:10 +02:00
Noel Grandin
a236f8318a Convert SV_DECL_PTRARR_SORT(_SwFtnIdxs) to o3tl::sorted_vector
Change-Id: I84c4cd5686ea0649ad9ca6c879d51bffe6d693c2
2012-07-26 14:30:09 +02:00
Michael Stahl
db92746455 fix previous STL conversion commit:
SwSelBoxes_SAR is not sorted, so it should be converted to a plain
vector; at least for WW8SelBoxInfo this makes a real difference as the
first element is treated specially.

Change-Id: I57a448d72b2f3757da5bcebaebd4294e9d283d99
2012-07-26 14:30:09 +02:00
Noel Grandin
deaa69b155 Convert SV_DECL_PTRARR_SORT(SwSelBoxes) to o3tl::sorted_vector
Change-Id: I4af9e86257a9e40b91351fd34ac70fe053d02367
2012-07-26 14:30:09 +02:00
Michael Stahl
f317119be3 sorted_vector: MSVC doesn't know which erase to call
Change-Id: Ib81388db2f93db662bb5439565f311835b08073e
2012-07-25 16:28:17 +02:00
Noel Grandin
b09b1ed264 Convert SV_DECL_PTRARR_SORT(SwTableSortBoxes) to o3tl::sorted_vector
Change-Id: Id5ff378b25619a9bf126824b4abadd19615b7a31
2012-07-25 14:13:45 +02:00
Noel Grandin
63f792d9b1 Convert SV_DECL_PTRARR_SORT(SwOutlineNodes) to o3tl::sorted_vector
Change-Id: I17c40bda4ab401bde42b64d090fd7e3259e79026
2012-07-25 14:13:45 +02:00
Julien Nabet
dd0e782d11 Add some explanation (thank you David!)
(see http://nabble.documentfoundation.org/Some-strange-lines-by-taking-a-look-at-the-bt-of-fdo-51916-tp3994561p3994639.html)

Change-Id: I93830306c70155532f461957991df8dde29540da
2012-07-10 23:31:37 +02:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Michael Stahl
8b45939485 replace enum SvxBorderStyle with css::table::BorderLineSyle
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
2012-07-04 17:55:45 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Michael Stahl
ff27d84e08 change lcl_SetDfltBoxAttr to use a std::map
Should hopefully fix the tinderbox breakage due to C++11 syntax as well.

Change-Id: I2805b7aae5fd1639177aa9d319652148f347393e
2012-06-25 22:45:07 +02:00
Noel Grandin
afa691c220 Convert class _SplitTable_Para from using Svptrarr to std::map
Along the way, clean up the code. Using a map is much clearer
than using co-ordinated arrays.

Change-Id: Ic736791e202572cbf7f919f06492d90823537b01
2012-06-25 20:13:19 +02:00
Noel Grandin
3a6664c144 Convert code from Svptrarr to std::vector
In the process, clean up the confusion caused by storing
completely different stuff in the same vector.

Change-Id: I6b688a0bec82bec340f520f01adfa9648a73a068
2012-06-25 20:13:19 +02:00
Noel Grandin
772101649c Convert SwDoc::UnProtectCells to use std::vector
Change-Id: Ib1b4756bf26934ded941a7c91c6742e03b942f59
2012-06-25 20:13:19 +02:00
Noel Grandin
688dcf0dc1 Convert CollectLines methods from Svptrarr to std::vector
Change-Id: I41cdf07194ccbb89600b799d32325634130b0a65
2012-06-25 20:13:19 +02:00
Noel Grandin
4fbbc5a65f Convert CollectCells methods from Svptrarr to std::vector
Change-Id: Ic248760338b759476971821252bcfd838e901fef
2012-06-25 20:13:19 +02:00
Noel Grandin
d515ae78bb Convert methods in SwTblFmtCmp from Svptrarr to std:vector
Change-Id: Id5ea2ebef401ac414dea5d5376ceaaea08bfe855
2012-06-25 20:13:18 +02:00
Noel Grandin
db5ae90477 Convert SwNode2LayImpl::pUpperFrms field from Svptrarr to std::vector
Change-Id: I8f1e1c8a0dc92bf0451198d72a264e2d00ae0b0d
2012-06-25 20:13:18 +02:00
Michael Stahl
463e59d680 rename SvxBorderLine::SetStyle to something unambiguous
Change-Id: Iec70985319a64cdc3630e15499ac304a7f1aabae
2012-06-25 12:46:17 +02:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Noel Grandin
d69fdd1ed6 Convert SV_DECL_PTRARR_DEL(SwTableLines) to std::vector
Along the way, simplify a lot of the ForEach callback methods.

Change-Id: I54bc87c1060f1d73470ca8b7fd645ffa23059606
2012-06-20 19:46:40 +02:00
Noel Grandin
36387c8c79 Convert SV_DECL_PTRARR(SwSttNdPtrs) to std::vector
Change-Id: If85e2bc65a99e4854d92454b3bfd40e436df2aa1
2012-06-20 19:46:39 +02:00