summaryrefslogtreecommitdiff
path: root/sw/source
AgeCommit message (Collapse)Author
2014-05-27cid#707295 Uncaught exceptionNoel Grandin
Change-Id: If63df32a079bb4a568ed6085097062f77c351a06
2014-05-27cid#707296 and cid#738184 Uncaught exceptionNoel Grandin
Change-Id: I59d1a0818bd896f0ac601c72e7f6cc89f95f043c
2014-05-27SwXTextPortionEnumeration: do not expose inline anchored textboxesMiklos Vajna
Change-Id: Id4aecd49e29f6aa8347be4d9e3e8f0e73f7c5a21
2014-05-27SwXFrameEnumeration: ignore textboxesMiklos Vajna
Change-Id: I6b37e904898c8b57e619443035ca271b411f5f00
2014-05-27SwXFrames::getByIndex: ignore textboxesMiklos Vajna
Change-Id: I58a8c3cf5e0384f68a9259b3a1575a201436057e
2014-05-27SwXFrames::getCount: ignore TextFrames, which are TextBoxesMiklos Vajna
Change-Id: I12d2912f566a31e36f6d091d554106b927abb9c9
2014-05-27SwTextBoxHelper::findTextBox: only draw frames can have textboxesMiklos Vajna
Change-Id: I4ff9f87120a9ba392aee205641e17c12cb30649b
2014-05-27let SwTextBoxHelper::findTextBoxes() take a const SwDocMiklos Vajna
Change-Id: Icb1540b93f4117999b755d4d5fd387f1228250aa
2014-05-27SwXParaFrameEnumeration: ignore textboxesMiklos Vajna
Change-Id: Ia4441a06c29447d4a4f4cbe6250248a0f68831f1
2014-05-27SwXDrawPage::getByIndex(): ignore textboxesMiklos Vajna
Change-Id: I643ca4268e15af1882adb168af152835ef216cd9
2014-05-27SwXDrawPage::getCount(): ignore textboxesMiklos Vajna
Change-Id: I579cc0242f6901175162b169813e4465d52952a0
2014-05-27SwXShape: return the right XText implementaation in the TextBox caseMiklos Vajna
Change-Id: Iac31bd4b3b1918f857feff9045df473e9b1d3d2b
2014-05-27SwXShape: allow setting TextBox property to falseMiklos Vajna
Change-Id: I23d79fc3f5c020c86296bfc84bb0824e1ca68228
2014-05-27SwTextBoxHelper::syncProperty(): avoid crash on not-yet-inserted shapeMiklos Vajna
Change-Id: I3308ba685b4066ea6849e8002e9d98cc5264c368
2014-05-27SwXShape: new bool TextBox propertyMiklos Vajna
Change-Id: Iae588c817ea17b6b2c2d3f2818ee5f94ed6f4e96
2014-05-27SwXShape: invoke SwTextBoxHelperMiklos Vajna
For now, only in queryInterface(), setPropertyValue() and setSize(). It's safe to always call these methods, if they are not relevant, the method will be a NOP. Change-Id: I6efb808f605d47f731819cd971bb66ca251cafb6
2014-05-27Initial SwTextBoxHelperMiklos Vajna
Change-Id: I2674d72a2ba7bf49f102e09ed8435445c9687bb2
2014-05-27Remove ASCII art and useless comments from sw moduleChris Laplante
Change-Id: I3ba4ac78fd4810e006b1034bbe7c28b1803895d2 Reviewed-on: https://gerrit.libreoffice.org/9494 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-27remove unnecessary use of OUString constructor when throwingNoel Grandin
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-26coverity#1158084 Unchecked dynamic_castMiklos Vajna
Change-Id: Ia800e45166b0206377fa9e138c4e444e476e3863
2014-05-26coverity#704936 Unchecked dynamic_castCaolán McNamara
Change-Id: I92e1f95aef32a9d0431ce3fbca0a7ab6ce5cadd0
2014-05-26cid#707399 Uncaught exceptionNoel Grandin
Change-Id: I42d2cdb3a2341f156cd3fd70a9a476a8eb5423d8
2014-05-26cid#707410 Uncaught exceptionNoel Grandin
Change-Id: I54bcc0fc7d54ca7bae35130ef620100c9088b4d2
2014-05-26cid#707415 Uncaught exceptionNoel Grandin
Change-Id: Ia4674e74621fe152ba764f3beaa7376533977d19
2014-05-26bnc#863018 WW8 import: fix upper margin of multi-page floating tableMiklos Vajna
A vert orient position was already handled in case a floating table was imported as a TextFrame, but in case we didn't do that, the vert orient position was simply lost. Fix this by importing it as the upper margin of the table (assuming that the position is relative from the anchor position). Change-Id: I3e96f3068605fd6313dfb3e55483e1bce6c063a5
2014-05-26coverity#1213144 Missing break in switchCaolán McNamara
Change-Id: If42a7aabd34a18c23e6f22b1912242f723d9d9a8
2014-05-26coverity#1213138 Missing break in switchCaolán McNamara
Change-Id: Ia31045d8b79e8b7a7904a6114b8eb69f87315bcc
2014-05-26coverity#736062 Missing break in switchCaolán McNamara
Change-Id: I61d6fa3b5a825dd5a99b7f6a2d700524ea4e1fb3
2014-05-26coverity#736061 Missing break in switchCaolán McNamara
Change-Id: I764ff930af91d1de9a9b2dc0eb1b6005e0dd83db
2014-05-26coverity#736060 Missing break in switchCaolán McNamara
Change-Id: Iac2903acfa44a144c3686cea227fd8f101b727f5
2014-05-26coverity#705269 Missing break in switchCaolán McNamara
Change-Id: I574ea32f23d60a185e915d32bd163fe4ea7bd6aa
2014-05-26cppcheck: uninitvarThomas Arnhold
Change-Id: Id33b7d2dc6250545168b5462edfa84516c740c93
2014-05-26fdo#79062 File having Footnote with Text Effect got corrupted after RTRavindra Vidhate
When we do the export of the file, In the footnotes.xml, the w14 namespaces were not being added. This issue exists for EndNotes as well. Change-Id: I6494bbf1beaa0666743d9c1bb85a64f8bda20398 Reviewed-on: https://gerrit.libreoffice.org/9439 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-05-25WaE: warning C4146: unary minus operator applied to unsigned type,...Thomas Arnhold
...result still unsigned at sw/source/filter/ww8/docxsdrexport.cxx(441) Just use SAL_{MAX,MIN}_INT32 (change -2147483648 to (-2147483647-1)) which fixes this warning for MSVC. Change-Id: Ia039906602d3b00193a364bddb81626afa928f2d
2014-05-25coverity#1158083 Unchecked dynamic_castMiklos Vajna
Change-Id: I8213e0c8e6228320c6efcba5e42e58e87e0379b9
2014-05-25coverity#1158082 Unchecked dynamic_castMiklos Vajna
Change-Id: Ia70d73d64af020c546a0218b996334959ca6b624
2014-05-24coverity#1158081 Unchecked dynamic_castMiklos Vajna
Change-Id: Ia67656ac35d50c1f70045ff8e9084bcc54b0d9a8
2014-05-24Fix loop test and evaluate token count just onceMatteo Casalin
Change-Id: I354cbb729eed9b78c4af3d684513c3338be4f532
2014-05-24OUString: constify, avoid temporaries and buffersMatteo Casalin
Change-Id: I0bbfbb7785b4b8553d7472da15726538040af22e
2014-05-24sal_uInt16 to size_tMatteo Casalin
Change-Id: Ia2e6b067884bcbab680925b8613dd5a73d1fc3fb
2014-05-24OUString: constify and avoid temporariesMatteo Casalin
Change-Id: I20f049ba275225b6429b630dbff07d0eba5522a3
2014-05-24Use more proper integer types, constify, avoid unneeded conversionsMatteo Casalin
Change-Id: Iaa20e4ecfa0120a443c7079aa6738b8b48c572b1
2014-05-24Avoid temporary OUStringsMatteo Casalin
Change-Id: I8792fce9571ac749cec93a615d6c65bf2e086aea
2014-05-24sal_uInt16 to sal_uInt32 + some constMatteo Casalin
Change-Id: I12b04ab7ce15a9a30db6e4dafd64a31f4fca8a88
2014-05-24OUString: avoid temporaries + equalsAscii to ==Matteo Casalin
Change-Id: I9d6eda7f9b047b3d96c80c8dfc8c51b54ee04405
2014-05-24sal_uInt16 to more proper types and constifyMatteo Casalin
Change-Id: Ia510ac7d5b38dc6f3910a6e965f1cc154ad41f27
2014-05-24Reduce scopeMatteo Casalin
Change-Id: Ie73f3d0f67435d66e8cb3bb2edeb9507bc420c85
2014-05-24sal_uInt16 to size_tMatteo Casalin
Change-Id: I46d85e82376a3135408ab77ad31b76a5edbe9ce7
2014-05-24cppcheck: unreadVariableThomas Arnhold
Change-Id: I5d897d968ca2640d1d127e799937cc6c3eabaf36