summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-03-19Remove RTL_CONSTASCII_(U)STRINGPARAM in swChr. Rossmanith
Change-Id: I704628eabdddb70530b6a8a1160c20724332c7e5
2013-03-19trailing whitespacesThomas Arnhold
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
2013-03-19reduce whitespaces between include and filenameThomas Arnhold
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-18fix other problems found by WundefLuboš Luňák
Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
2013-03-18Wundef, fix various more or less broken debug codeLuboš Luňák
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
2013-03-18fix buildMiklos Vajna
Change-Id: I4b90c3a40099757b24ed14768083295d9048502e
2013-03-18fdo#61909 fix import of RTF_HIGHLIGHTMiklos Vajna
It's an index in the color table, not a color value. Change-Id: Ifa7b14e88231e5053c84dfbdd9b453715df1aaa6
2013-03-18Comment translation ger - eng in sw/source/ui/wrtsh/Matthias Freund
Change-Id: I41317f0f6859e7d5c3c62703a21f5fe8983aac9c Reviewed-on: https://gerrit.libreoffice.org/2812 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-18fdo#61909 fix RTF import of default font without RTF_PLAINMiklos Vajna
Change-Id: Ia86548bddb7b87ec9653192c2e5989ce0dc50057
2013-03-18let toplevel 'make -sr CppunitTest_sw_ooxmlexport' (and friends) work againMiklos Vajna
Change-Id: I610ae1d3672f76435def025bd8819780df863dbe
2013-03-18sw: rename odf/ooxml/rtf/ww8 filter testsMiklos Vajna
The subsequent part of their name was misleading, as they are slowchecks, not subsequentchecks anymore. Change-Id: I2e5c1506d88b017e563adee9134905dc2b4e7d68
2013-03-18Translate German comments, fix some whitespacePhilipp Weissenbacher
Change-Id: Icceb0221dc8fd5e211a75d4fc25e6a3e871461b8 Reviewed-on: https://gerrit.libreoffice.org/2796 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-18Comment cleanup and several indentation fixesJoren De Cuyper
Change-Id: Ib3e51969b2d2624e69a2270c5446b7ac1095a2b5 Reviewed-on: https://gerrit.libreoffice.org/2789 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-18comment cleanupsMatthias Freund
hope this is helpful Change-Id: Ib887329de1e5788b1a39139725dca0b3de25e81c Reviewed-on: https://gerrit.libreoffice.org/2776 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-18WaE: control might reach end of non-void function ... being inlinedChristian Lohmaier
The warning is bogus, but the change is minimal Change-Id: I2bc6ec57d271e14e5abe8f152338626771458fb5 Reviewed-on: https://gerrit.libreoffice.org/2803 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-17let LibreOffice find html.stwAndras Timar
1b0f7ee1 ruined the search path. SvtPathOptions::SearchFile() does not search recursively. 178b73da introduced OUStrings, but SvtPathOptions::SearchFile() modifies its String argument, I had to revert 178b73da partially. Change-Id: I350084f91d15f83a21fd1b8d7270765093269da4
2013-03-17coverity#705115 Using invalid iteratorJulien Nabet
Change-Id: Ia8b5a0654ded07d939e8be93a2dea2a6f84165b3 Reviewed-on: https://gerrit.libreoffice.org/2785 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-03-16Get rid of a few pointless commentsTor Lillqvist
No need to refer to some source files in a few random places in headers, using ancient UPPER-CASE file names even. Change-Id: Ia0827be34046f25fd769466c41dab017b4935a37
2013-03-16Resolves: #i118780# Moved ObjectInfoPrimitive2D extractor to drawinglayer...Armin Le Grand
changed name to be the filename only, added code to SW to set Title and Desc Conflicts: drawinglayer/Library_drawinglayer.mk drawinglayer/Package_inc.mk svx/source/svdraw/svdograf.cxx sw/inc/ndgrf.hxx sw/source/core/doc/doc.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/docnode/swbaslnk.cxx sw/source/core/graphic/ndgrf.cxx sw/source/filter/rtf/rtffly.cxx Change-Id: Id433031958529498441574dafe2fbd5261371efc Notes: merged as: 977a0eff5415a2a4716e02bfab8e69ffb64ad7ce
2013-03-16Resolves: #i119307# added deletion of sw's BmpWindow control...Armin Le Grand
...due to the fact that graphics may be transparent Conflicts: sw/source/ui/frmdlg/frmpage.cxx Change-Id: I049cc5a6abf1a19ef181991bb1015e0708dc1cc2
2013-03-15regenerate pchPeter Foley
Change-Id: Iaf0195a0c2ec3d6daa1e3c70d20dfa8de97b9647
2013-03-15fdo#61952: add unit testMichael Stahl
Change-Id: Idef40ea4ad615fa5d09d2a5ed6eb3fe861f1b5ea
2013-03-15fdo#61952: sw: fix left/right-only page styles and first-pageMichael Stahl
- remove PD_FIRST and GetFirstFmt: This flag makes no sense at all, since there are no "first-only" page styles (while there are left-only/right-only). - instead add a parameter to GetLeftFmt/GetRightFmt to request a first page format, if such exists and is not shared (regression from 02a934d03b101ce463a232f9cbb7b43e684de37e and fa0f42bafbf24e9141ddee728b160b5ab47077f2) Change-Id: I4d50c2c0cc4f3cf231eacba891df22d0bcf6c4df
2013-03-15fdo#34800 sw: small cleanupMichael Stahl
Change-Id: I4ed8ed485a36e02755614bd59f91539fa1fb9579
2013-03-15various .ui fixes caught by linter toolJack Leigh
Change-Id: Ic92ddc9550b33358a3bb0458b31a23f2c32fd46f Reviewed-on: https://gerrit.libreoffice.org/2763 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-03-15coverity#736522/736523: Resource leakJulien Nabet
Change-Id: I13f3a71b675be950dedfebf5465f48257af10015
2013-03-15Related: #i119125# change XFillBitmapItem to work with GraphicObjectArmin Le Grand
Completely changed XFillBitmapItem to work with GraphicObject, removed XOBitmap class, adapted all usages (also the pretty old 8x8 pixel editor). All Bitmap fill styles will now accept transparent bitmaps as fillings in all variations (tiled, etc.). LoadSave is no problem, ODF defines graphic as content for fill. Backward means that OOs before this change will use a white background of fill with transparent, same as the fallback all the time when using a transparent fill. This is also a preparation to e.g. offer SVG or Metafiles as fill style. Conflicts: cui/source/tabpages/backgrnd.cxx cui/source/tabpages/tparea.cxx cui/source/tabpages/tpbitmap.cxx filter/source/msfilter/msdffimp.cxx filter/source/msfilter/svdfppt.cxx sc/source/filter/excel/xiescher.cxx sd/source/ui/func/fupage.cxx svx/inc/svx/dlgctrl.hxx svx/inc/svx/xbitmap.hxx svx/inc/svx/xbtmpit.hxx svx/inc/svx/xtable.hxx svx/source/customshapes/EnhancedCustomShape2d.cxx svx/source/dialog/dlgctrl.cxx svx/source/svdraw/svdograf.cxx svx/source/tbxctrls/fillctrl.cxx svx/source/unodraw/XPropertyTable.cxx svx/source/xoutdev/xattrbmp.cxx svx/source/xoutdev/xtabbtmp.cxx Change-Id: Id838bfbacc863695d078fb3cf379d1c0cd951680
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>