summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-03-15Resolves: coverity#705746 resource leakCaolán McNamara
Change-Id: I379f8bd780f40169ed7c70c7c5a28277091b978e
2013-03-15various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: I786227d89cc441990d6bdce0acf872a73be51a7c
2013-03-15coverity#705760: Resource leakJulien Nabet
Change-Id: I56c9c8307d6e5c3d119b9c894ef5122f448ef3f7
2013-03-15fdo#62360: fix word breaking in Writer for spell checkingLászló Németh
Change-Id: I0f23e9f7f076f3a82d1d5df92d9d4d3919fc816d
2013-03-15various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: I808d4b66dc6ae4395e32b42b46b234e6c470e75c
2013-03-14fdo#38448 No scrolling in mailmerge's create new address list > customizeChristopher Copits
What changes I made: 1. After the address list is edited, the scroll bar scrolls up. 2. If all entries are deleted from the list, the scroll bar scrolls all the way up and is disabled. 3. When multiple entries are deleted, the scroll bar is not reset to match the entries. Therefore, I reset the scrollbar in this case. Change-Id: I29f82256ad51fbd55a3f82400ca9d7875539e9ff Reviewed-on: https://gerrit.libreoffice.org/2454 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-03-14various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: Ia90000452551b57f644226f1ba4c5c9533b679a5
2013-03-14coverity#705747: Resource leakJulien Nabet
Change-Id: Ifc071261ce5697355b904fbd12272b27c04183e4 Reviewed-on: https://gerrit.libreoffice.org/2736 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-14coverity#705748: Resource leakJulien Nabet
Change-Id: I3178b1301db389b76f514b5a2bf2d18dae78ae01 Reviewed-on: https://gerrit.libreoffice.org/2734 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-14SwFrmFmts: MSVC does stupid things with dllexporting templatesMichael Stahl
... so work around that. Was triggered by new use of std::vector<SwFrmFmt*> in 1c22545edf9085b9f2656ca92781158b6b123db3 Change-Id: Ibf2aa521c7561d3973c8293aacdf71353e6d65aa
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-14hackaround for assertCaolán McNamara
regression since 1c22545edf9085b9f2656ca92781158b6b123db3 Change-Id: Ia9aa06ed7fd0f31499226521fc5d6052b6d21704
2013-03-14Code cleanup for i#120928 patchCédric Bosdonnat
Change-Id: Ic46acc5207bab70f080c4eba5a8113de8376ad36
2013-03-14Fix issue #i119405: Numbering text style changed after importing the *.docJian Hong Cheng
* main/sw/inc/doc.hxx * main/sw/inc/IDocumentContentOperations.hxx * main/sw/inc/ndtxt.hxx * main/sw/source/core/doc/docfmt.cxx * main/sw/source/core/txtnode/thints.cxx * main/sw/source/filter/inc/fltshell.hxx * main/sw/source/filter/ww1/fltshell.cxx * main/sw/source/filter/ww8/ww8par.cxx * main/sw/source/filter/ww8/ww8par.hxx * main/sw/source/filter/ww8/ww8par3.cxx MS Word Binary compatibility Patch by: Fan Zheng,<zheng.easyfan@gmail.com> Found by: Jian Hong Cheng,<chengjh@apache.org> Review by: Jian Hong Cheng,<chengjh@apache.org> Conflicts: sw/source/filter/inc/fltshell.hxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.hxx (cherry picked from commit ee3b12ab1d62faedcd2d62fcb8011b7454ea0474) Change-Id: I2f72969a54db53e6a51edcf3a3216647cec9424c
2013-03-13convert footnote area page to .ui formatCaolán McNamara
this, for non-CTL/CJK mode, completes format->page in writer to dynamic .ui format Change-Id: I576eed5d39807eff3c3fa775f7c4f2445f1ce940
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13Related: #119125# Added usage of the ClipRegion for dismantling MetafilesArmin Le Grand
to SdrObjects (ImpSdrGDIMetaFileImport) as good as possible with Metafile usage Conflicts: svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdfmtf.hxx Change-Id: I41422696e97f919e618f7e385c68d4ac737a52c1
2013-03-13WaE: various warngs, e.g. unused argument, variables, orderingCaolán McNamara
Change-Id: I551ccf9b098d7f916bd889dbc82d22c0dc5c63f3
2013-03-13Some little cleanupFridrich Štrba
Change-Id: I5b754441611224a0bf028a1a12b0b6d985df276d
2013-03-13Fix #i120928: Import Graphic Bullets of MS Word DocumentJian Hong Cheng
* sw/inc/numrule.hxx * sw/source/core/doc/number.cxx * sw/source/filter/ww8/attributeoutputbase.hxx * sw/source/filter/ww8/escher.hxx * sw/source/filter/ww8/rtfattributeoutput.cxx * sw/source/filter/ww8/rtfattributeoutput.hxx * sw/source/filter/ww8/rtfexport.hxx * sw/source/filter/ww8/rtfexport.cxx * sw/source/filter/ww8/writerhelper.cxx * sw/source/filter/ww8/writerhelper.hxx * sw/source/filter/ww8/wrtw8esh.cxx * sw/source/filter/ww8/wrtw8nds.cxx * sw/source/filter/ww8/wrtw8num.cxx * sw/source/filter/ww8/wrtww8.cxx * sw/source/filter/ww8/wrtww8.hxx * sw/source/filter/ww8/wrtww8gr.cxx * sw/source/filter/ww8/ww8attributeoutput.hxx * sw/source/filter/ww8/ww8par.cxx * sw/source/filter/ww8/ww8par.hxx * sw/source/filter/ww8/ww8par3.cxx * sw/source/ui/wrtsh/wrtsh1.cxx Graphic Bullets Fidelity Patch by: chengjh,<chengjh@apache.org> Found by: chengjh,<chengjh@apache.org> Review by: Fan Zheng,<zheng.easyfan@gmail.com> Conflicts: sw/inc/numrule.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/wrtw8nds.cxx Change-Id: I7b00590a9f05da745678b5ba99b6f6f4e870d197 Signed-off-by: Cedric Bosdonnat <cedric.bosdonnat.ooo@free.fr> Signed-off-by: Fridrich Strba <fridrich.strba@bluewin.ch>
2013-03-13#119952# - method <lcl_CalcAutoWidth(..)> - do not provide width of text ↵Oliver-Rainer Wittmann
frame inclusive margins, if text frame is in its formatting. Found by: Yan Ji Patch by: qiuhuaidong at gmail dot com Review by: Oliver-Rainer Wittmann
2013-03-12fdo#34800 Comments added to footer are placed at the right top of the page.Joren De Cuyper
The problem is that the nodes in the Footnote and Footer are stored before nodes of the document body in the internal structure. Therefore I wrote this patch to check if the compared comments are in the Footnote or Footer. We don't need to check our comment is placed in the header because it is already the most upper node of the whole document. Test document: https://bugs.freedesktop.org/attachment.cgi?id=76038 Special thanks to Cédric Bosdonnat and Miklos Vajna Change-Id: Ibcd0373110fde848dccf93ffe9100459c7cc64a5 Reviewed-on: https://gerrit.libreoffice.org/2572 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced OSL_TRACE with SAL_INFO - replaced OSL_ENSURE with SAL_WARN_IF Change-Id: Ie30fbc9c720d8b93d6093e2c95f61dceea8aae2f Reviewed-on: https://gerrit.libreoffice.org/2651 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12Translate German commentsPhilipp Weissenbacher
Change-Id: I0b386fd0c7cb0382fa3a5187389369966365b1fb Reviewed-on: https://gerrit.libreoffice.org/2691 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12update pch headersLuboš Luňák
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12times are represented using local machines time, bah, just check for am/pmCaolán McNamara
Change-Id: I3f0f76884e62cc7ec151a890ff0dd10e75194e3d
2013-03-12Related: #i120158# add a test-case for tricky am/pm escape problemCaolán McNamara
Change-Id: I4905fb384694c3f1dadccc6d8513c9a050e3f67b
2013-03-11make forward replacement of $ work again, fdo#60259 relatedEike Rathke
broken with 3bc5cb3c485d67f1ce0541d349d11637f52ebda5 Change-Id: Id32daead9565493b615ba337fcbc1b2f9dd5bcfb
2013-03-11Related: fdo#62154 correct font lang is a requirement for applying loclCaolán McNamara
If the language of the font changes we have to throw away the "magic" cache. Otherwise we continue to use the parent paragraph style's font language, which isn't going to fly if we want to propogate the language down to vcl to give to icu to allow it to apply the expected locl tables. This is the fruit of an 8 hour debugging session. I hate writer. Change-Id: Ic32f7a223b527e702370d5d8b9f9ede59efd8a80
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11Fix previous fixStephan Bergmann
Change-Id: I0eed9c3ece69af1fde2ab008c166875997a7c54f
2013-03-11MSVC fixStephan Bergmann
Change-Id: I260aa919a618d0770afaa7e62d82f7f3873eb63d
2013-03-11Fix operator + ADLStephan Bergmann
Change-Id: I141359a978d8547be157d4fba851506a9a1c9041
2013-03-11fdo#57950: Removed some chained appends from swMarcos Paulo de Souza
Change-Id: I5b78b4a8f2fc0fb0c4a67042ac4924e375c2d63a
2013-03-11convert writer test tabpage to .uiCaolán McNamara
Change-Id: I60349c3dd74774e1c5e6fe81d5cb78cf65756f6a
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-11add pch support to gccPeter Foley
Change-Id: I58c11477c1ce48185528db3a8013b5dccf3947c6 Reviewed-on: https://gerrit.libreoffice.org/2653 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#57362 Cannot save document after editing footer background and borderChristopher Copits
In HeaderFooterWin.cxx's SwHeaderFooterWin::ExecuteCommand(): after changes are made to the header's background, box, or shadow, I call SetModified(true) to signal that the document was modified. Change-Id: I2be5710dde9d7a6f5d4373484d52ece71c91cdd4 Reviewed-on: https://gerrit.libreoffice.org/2654 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#38246 Comment control on Writer ruler featureRodolfo Ribeiro Gomes
It follows the directions from design team available at https://wiki.documentfoundation.org/Design/Whiteboards/Comments_Ruler_Control. It misses some fancy stuff though (like animated/delayed highlight and fading border). Some work should be done with (svtools) Ruler also for a cleaner implementation. Change-Id: Ib065043d05fe56fbfe6d00e0bb654966f046129b Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com>
2013-03-11fdo#61458, index should be "flat"Ádám Csaba Király
Change-Id: I46db120fc5e7d616cd4c9eadee7fc4c502569e86
2013-03-11various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: I780c83e28a6a2318ae5892e603aa8e5126deb926
2013-03-10Resolves: #i120158# fix Time format is different than MS Office issueLei De Bin
Reported by: Yan Ji Patch by: Chen Zuo Jun Review by: Lei De Bin (cherry picked from commit a535dd7eaa71a599b92c04eb9c6bab7678c30eb2) Conflicts: sw/source/filter/inc/msfilter.hxx sw/source/filter/ww8/writerwordglue.cxx Change-Id: Ie93d3755dfd230cea1914a67974e717c825c07a7
2013-03-10update pch filesPeter Foley
Change-Id: I07c1acc9f9e788f1165b3e241008aa944485790d
2013-03-10Comment translation german-english in sw/source/ui/table/Matthias Freund
Corrections... :-D Change-Id: I486a0caac11786c8edb4dd8b6099771db075a336 Reviewed-on: https://gerrit.libreoffice.org/2625 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-10Translate german comments in sw/source/filter/ww8/Joren De Cuyper
Please, only apply this patch if you are a native speaking German. I'm not a native speaker, so a double check is really necessary and appreciated. Thanks in advance. Change-Id: Ic2fb6e97007c6b47851ad8a7a51e987da5a70877 Reviewed-on: https://gerrit.libreoffice.org/2617 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-09Comment translation DE-EN in /sw/source/ui/web/Matthias Freund
Translations and some cleanups... Change-Id: I70484c2b3e1380e611ed1456a7befccafee58f37 Reviewed-on: https://gerrit.libreoffice.org/2619 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-09regex: handle zero-length matches, fdo#60259 relatedEike Rathke
Also in backward search ignore all zero-length matches except the text end single $ anchor search. The anchor search is a valid match, treat it as such in Writer. This still doesn't solve the backward $ backward search, the convoluted Writer code in that place apparently never worked, someone more familiar with those internals should straighten out the mess. Change-Id: I2bc83cdcfe6425f9bebf06e23e879bc79b82daa9
2013-03-09SwEditWin: rename member variables missing their prefixMiklos Vajna
Change-Id: I8e35a4c5df9bcca2b3cefd1044053185d3133353
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08SwTableBox::IsValidNumTxtNd: Allow trivial formattingMiklos Vajna
Not allowing flys or footnotes during string -> number conversion is fine, but I don't see what's the reason for rejecting simple formatting (like bold) completely. Change-Id: I8f54aebeb6ea35d099a88570d3f7d365c7325dc0