summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-08-14sw: do non-incremental word count in one stepMichael Stahl
Not sure if it solves a real problem, but seems sensible. Change-Id: I3a75da924aaffb452da158a6e5c0b3465fe5687b
2013-08-14convert GetSelectionText... methods to OUString and boolIvan Timofeev
Change-Id: I77726f009338ae49877c5f58fe6c14d386089bbe
2013-08-14fix buildCaolán McNamara
Change-Id: Ie4f8ea605098b19e921f4e0d76211b5f2435de35
2013-08-14convert envelope printer page to .uiCaolán McNamara
Change-Id: I0d57f816abd05d8bb190fe47804b5a8db07ca6b5
2013-08-14XubString->OUStringCaolán McNamara
Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa
2013-08-14Cleanup #include and minor optimizationMatteo Casalin
Change-Id: I9b893906df5707f84c45cf5a8dc017873452aeab Reviewed-on: https://gerrit.libreoffice.org/5403 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-08-14String to OUStringMatteo Casalin
Change-Id: Ib185c067c52bb8c65441c30d4c61be24b0950afd Reviewed-on: https://gerrit.libreoffice.org/5394 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-08-13fdo#58040: sw: fine tune async word countMichael Stahl
- count characters instead of paragraphs to better account for large or small paragraphs - start out with a relatively small value (5k chars) on the first run to quickly show something to the user Change-Id: Ic4013545692f267aab39e084415d5d794bb5a4ca
2013-08-13fdo#68064: Do not insert aTempEntry multiple timesStephan Bergmann
...and do not let it go out of scope before being used in BigPtrArray::Remove. (And, en passant, avoid use of reserved identifier, starting with an underscore followed by a capital letter.) Change-Id: Ic5730f707601a2070f2eed3ba017650026657df3
2013-08-13DOCX export of paragraph border drop shadowMiklos Vajna
Instead of passing over shadow location only in case of page borders, do the same for paragraph borders as well. Change-Id: I311638fe0f41ef47ae351f7d199bfbc8b8aabfbe
2013-08-13Resolves: #i120133# Doc file saved by Office, section size changedJian Hong Cheng
* sw/inc/fmtclds.hxx * sw/source/core/layout/atrfrm.cxx * sw/source/filter/ww8/wrtw8sty.cxx * sw/source/filter/ww8/ww8atr.cxx MS Word Binary compatibility Patch by: Chen Peng,<chenpeng2006@gmail.com> Found by: Yan Ji,<yanji.yj@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org> (cherry picked from commit e8c93cc8f28debdcb271030f9466de806e863824) Conflicts: sw/inc/fmtclds.hxx sw/source/core/layout/atrfrm.cxx Change-Id: Ifbda61cc37933778e3fdad79fb6ee88f9b3cf916
2013-08-13convert label dialog to .uiCaolán McNamara
Change-Id: I77ce740b1ca7178d8c5f5f2d4ce55920cf18a85b
2013-08-13Change String to OUString in SwHTMLParser classPalenik Mihály
I changed some variables in SwHTMLParser class and her dependencies. Change-Id: Ie8ad6c481df8a904bd358c2e9cd6afeef990d418 Reviewed-on: https://gerrit.libreoffice.org/5330 Reviewed-by: Tor Lillqvist <tml@iki.fi> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-13convert business data page to .uiCaolán McNamara
Change-Id: If6706e0f40ff4559fd0bf5745845680ce610d706
2013-08-13RTF import: handle rotation on groupshapesMiklos Vajna
Change-Id: I7892224a118b6566e26b3ffc472c88f3c7f58620
2013-08-13convert private user page to .uiCaolán McNamara
Change-Id: I17f435a7baac206085abd9dd66c061a5ad203786
2013-08-13XubString->OUStringCaolán McNamara
Change-Id: I1db6254b23c5203c20c168989656d320f86a3bb9
2013-08-13String to OUString and some reduction of scopeMatteo Casalin
Change-Id: Ia760c5f3f8c158bea30be3102841a66330e5180a Reviewed-on: https://gerrit.libreoffice.org/5339 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-08-13Use stardard prefixes for data members, and english namesMatteo Casalin
Change-Id: Ie2c6a12787a1a3753c7b4f82a2b5d342e60fc8da Reviewed-on: https://gerrit.libreoffice.org/5383 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-12WaE: C4701: potentially uninitialized local variable 'pIdx' usedTor Lillqvist
Change-Id: I244dfcff7fab6b1c4342b453236ff3eb8f3a0d98
2013-08-12WaE: rewrite call of rtl::OUString::equalsIgnoreAsciiCaseAscii ... [loplugin]Tor Lillqvist
Change-Id: I6875299a36a80e345dfeca5fcf3230b8deb49dd2
2013-08-12Change String to OUString in some class and functions.Palenik Mihály
I changed String class to OUString class in the following: CSS1Selector, SvxCSS1PropertyInfo, SvxCSS1MapEntry, SwHTMLWrtTable, SwHTMLForm_Impl, HTMLTable classes, CSS1Expression, SwHTMLFootEndNote_Impl, HTMLTableOptions structs and function in these files htmldraw.cxx, htmlfldw.cxx, htmlfly.cxx, htmlform.cxx, htmlforw.cxx, htmlftn.cxx, htmlnum.cxx, htmlplug.cxx file's function. Change-Id: I5f3c3351157b8ba1c6b4fbb15d42acd61225f006 Reviewed-on: https://gerrit.libreoffice.org/5311 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-12WaE: 'pTmpTbl' may be used uninitialized in this functionTor Lillqvist
Change-Id: Ica920101fe075e3e45564ac7eced9e40cc2769b8
2013-08-12TypoMatteo Casalin
Change-Id: I1b66fdc15b4b739cabc471a9599f4c38a9a140b2
2013-08-12String to OUString and some optimizationsMatteo Casalin
Change-Id: I9d93d6aa26b2c9d20f7be8d201051a51e8e4ce7a
2013-08-12VML import: handle rotation on groupshapesMiklos Vajna
Change-Id: I37f0081ae0a8af838c9f5bf158b340d726d7d1a3
2013-08-12convert visiting cards page to .uiCaolán McNamara
Change-Id: Id541e1749572701827ab5a49df5197f77554c789
2013-08-12convert label layout tab to .uiCaolán McNamara
Change-Id: Ice1a9b365426059704438da5fee2e4470cfb3f72
2013-08-12fix build after recent OUString cleanupsNoel Grandin
I think my changes and Caolon's changes are colliding in mid-air. Change-Id: I45398b358b53662164c6a332e68ce8cd61a79cef
2013-08-12fdo#63428 writerfilter: fix paste of commented text rangesMiklos Vajna
There were multiple problems here: - xFoo->createTextCursorByRange() got a text range argument, where the text range wasn't from the xFoo text - it was assumed that all XText implements text::XParagraphCursor as well, but this is not true for e.g. comment text - commented text ranges were pasted as normal comments (once again, the insert position wasn't passed around) Change-Id: I9a975a08b08a7f32b1ee71e42f58736cc0dbb09d
2013-08-12XubString->OUStringCaolán McNamara
Change-Id: Ibcb2dd5861ad14e286596999b757ca5c41137626
2013-08-12convert vcl/font.hxx from String to OUStringNoel Grandin
Change-Id: I3df88f26516296ca8f4e81576e86372c8b499a84
2013-08-12covnert vcl/texteng.hxx from String to OUStringNoel Grandin
Change-Id: Iaa2dca415b30cae436173df27058c9d3e3755efd
2013-08-12Extract code of character attribute convertionZolnai Tamás
To avoid duplication Change-Id: Ica59c7819596055c9d521957c663398f9f53272d
2013-08-12It seems lcl_ExtendLeftAndRight is just a workaroundZolnai Tamás
Which screens the calculation error Change-Id: I51a37b2eba54d8d0a50dedc666487a83fc8d7f8c
2013-08-12CharBrd 6: UNO APIZolnai Tamás
Change-Id: I7f93c3ca060ccd91ed52c0a1e8f477ed8e2c1534
2013-08-12CharBrd 5: border padding/spacingZolnai Tamás
Change-Id: I47529dce4cdb04b5b9d2b7aa6106be9bbd7d8428
2013-08-12fix vertical text borderZolnai Tamás
Change-Id: Ifd75056e310a47960e587b0771b55fe08bfe6f42
2013-08-12Fix char border mergeZolnai Tamás
Reset font when previous seek remove border from the font during border merge. Change-Id: I7456a5494e510395ebebddb09ce2a9d8355156f7
2013-08-12XubString->OUStringCaolán McNamara
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
2013-07-23Pass this string by reference, not by value.Jan Holesovsky
[plus kill some unrelated unwanted whitespace] Change-Id: Id5140c96b0bf10f3e4e5a8a54bca15cb4c452278
2013-08-11No need to pass this argument by pointer, and clarify some code.Matteo Casalin
Change-Id: I2df52771fa3c4c9bc1ce94d693f0cec3aa52d493 Reviewed-on: https://gerrit.libreoffice.org/5338 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-11String->OUStringIvan Timofeev
Change-Id: I49e0e589c4bad3706882c9e30fe4f6bf8bdd7f1d
2013-08-10String/XubString to OUStringMatteo Casalin
Change-Id: I0b36d16375ef9ecc751bed1171ea2ecd0c524744
2013-08-10delete dead codePhilipp Riemer
The pJobSetup is never used since the relevant method call is commented out. Therefore, not only the variable itself but also the bDummyJobSetup parts can be removed here. This code came from a merge with the AOO code base and is like this since 2005 (see commit 750562b47054741cdd4516affe9741908ee45c11). Change-Id: I19eec322b05634b4b6f3604bf1da57dfc390af4e Reviewed-on: https://gerrit.libreoffice.org/5343 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-10String to OUString an some code simplificationMatteo Casalin
Change-Id: Ibbc2d6a6ea9fd9e53f7c391171b7d2787873ce76 Reviewed-on: https://gerrit.libreoffice.org/5340 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-10Remove redundant conditionsMatteo Casalin
Change-Id: Ieff61755865b90d0c470b6257ac3d5aae1543397 Reviewed-on: https://gerrit.libreoffice.org/5341 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-10WaE: variable 'res' set but not usedTor Lillqvist
Change-Id: I3fc3f55d10dad177451100affacfff74d04a1fe8
2013-08-10callcatcher: update unused codeCaolán McNamara
mostly ResId using ctors left stranded post .ui conversion Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
2013-08-10fdo#67799 read ending item also when assert is noopMatúš Kukan
Change-Id: I056212d0a01f7a647e846bbd1b605c04e1798a14