summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2014-04-20cppcheck: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ic24715d86b3f822babd236ac73c041f3a5c1d92b
2014-04-20coverity#705541 Unintentional integer overflowCaolán McNamara
Change-Id: I6fbafabe98de3b168a8f79c4c2fde4a4537f6eb1
2014-04-20coverity#1078601 Unchecked dynamic_castCaolán McNamara
Change-Id: If8e69fa6ec433be7bc8c8f67a6de55537f7201bf
2014-04-19make sure nEnd is after nBeginDavid Tardon
Change-Id: Ic3cf41b21755c5f1e795ed3acb97ff83512b7613
2014-04-19coverity#1202818 improper use of negative valueDavid Tardon
Change-Id: I2b5fed2f9f9d6a4aa6a8087843fa1805c2d1ffe4
2014-04-19fixincludeguards.sh: swThomas Arnhold
Change-Id: I2b0625453ddc1c4cc2fa1626efff07beda17caf6
2014-04-19Finish removing ASCII art from sw/source/core/textChris Laplante
Change-Id: If845234120236f35edb57c767b5debc046e85864 Reviewed-on: https://gerrit.libreoffice.org/9101 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-19cpplint: [build/include] "svx/svdoashp.hxx" already includedJulien Nabet
Change-Id: I28b1dac22a3cc4ea7b087aeed98c81ed48240c3c
2014-04-18sfx2: Move InitInterface_Impl() out of SFX_DECL_INTERFACE too.Jan Holesovsky
Change-Id: Ib737e0d1b5888986b308aa60d4140f65e4e90243
2014-04-18sfx2: Move InitInterface_Impl() method out of SFX_IMPL_INTERFACE.Jan Holesovsky
SFX_IMPL_INTERFACE previously looked like a function; where in fact it is several methods defined at once, and only the last one has a body. This is extremely confusing and hard to read; let's kill that nonsense. Change-Id: Ia4ae22eb58b1260c9c827c894f5345693bad49e7
2014-04-18sfx2: Kill SFX_STATUSBAR_REGISTRATION macro.Jan Holesovsky
Change-Id: Iff0ffdb955892117a767e1f31c1f854a93feb560
2014-04-18sfx2: Kill SFX_CHILDWINDOW_CONTEXT_REGISTRATION macro.Jan Holesovsky
Change-Id: Ib94cc5bc33152e53910a50cce878fb69312d0c30
2014-04-18sfx2: Kill SFX_FEATURED_CHILDWINDOW_REGISTRATION macro.Jan Holesovsky
Change-Id: I9bf1c2404eeb6c59525061157e91b8777f2da540
2014-04-18sfx2: Kill SFX_CHILDWINDOW_REGISTRATION macro.Jan Holesovsky
Change-Id: Icd56e0cee1ce0283e8a1cbaafc81ecca25469185
2014-04-18sfx2: Kill SFX_POPUPMENU_REGISTRATION macro.Jan Holesovsky
Change-Id: Ie68ccbe5874ec7c7e1bb73cb2937e06bb4910cd0
2014-04-18sfx2: Kill SFX_OBJECTBAR_REGISTRATION macro.Jan Holesovsky
Change-Id: Ic80e9bebba8c7e76a0400769a2f9d75301227194
2014-04-18fdo#75735 RTF import: fix COW when writing a nested structureMiklos Vajna
Regression from a48e2fd9049797110b3b2505c363557284987ca8 (fdo#44736 - convert RTFSprms to a copy-on-write structure., 2012-12-07) Change-Id: I2538f440e29cef6d40db2ea914e4afcbfe411890
2014-04-18non-desktop: Avoid instantiation of huge amount of 'shells'.Jan Holesovsky
Change-Id: Ic179924f437dd9197a0839f23ee4ba39a8a62f34
2014-04-18Add silly workaround for weird Clang (Xcode 5.1.1) problem with -OzTor Lillqvist
Change-Id: I4fc5997504d3fb847518317abd5bf80fda4467d5
2014-04-18coverity#1202830 Out-of-bounds accessCaolán McNamara
Change-Id: I25edea176b69c1c1f87bdbff790a39298a813660
2014-04-18coverity#704523 Division or modulo by zeroCaolán McNamara
and coverity#704522 Change-Id: Ieccd4c4e16a14ea68f8b4879232924a1d05e29ea
2014-04-18Simplify the AttributeOutputBase::OutputFlyFrame method.Chris Laplante
Change-Id: Iac3b1b627728d5268ce7633904af9113e3127be2 Reviewed-on: https://gerrit.libreoffice.org/9006 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-18Rewrite getHash to reduce code duplication & improve maintainability.Chris Laplante
Instead of each case block repeating the same operations, we build an intermediate vector of entries to process. Change-Id: Id111d7938a7802f6f016c2a0d1be0cb062a32110 Reviewed-on: https://gerrit.libreoffice.org/8912 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-18Thanks Badaa and Jiayanmin but we don't use in-line commit commentsTor Lillqvist
Change-Id: Iff5f70602e8451ea2b8432a58804bb38156d6b46
2014-04-18Don't inherit from std::vectorTor Lillqvist
Change-Id: I9a37097d2d1e6d0728e2d465d0aa9355583dbdda
2014-04-18Begin removing ASCII art and useless comments from swChris Laplante
Change-Id: Ic367b2ebca1a766c830ccd44a84274d86be4f080 Reviewed-on: https://gerrit.libreoffice.org/9090 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-18fdo#74150:Numbered list getting display after RT -table-within-table-1.docxRajashri
Description: For pStyle = 'NumberedList1', iLvl and numId was not preserved. These tags needs to be preserved under numPr in document.xml These tags are preserved now. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: Ib6734c9ae55bd72d4fbc0f6d6cae85764ac1a244 Reviewed-on: https://gerrit.libreoffice.org/7767 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-18fix higher debug level buildCaolán McNamara
Change-Id: I3b5ba865f43a93b3a293c1dbe3a50e6fbd36adea
2014-04-18OUString: constify and remove a temporaryMatteo Casalin
Change-Id: Iac24bd0de87dd97e752760ee54f40433bda1db41
2014-04-18Use SAL_N_ELEMENTS() for array sizeMatteo Casalin
Change-Id: Ifcdeb47b5481ca6c16cd5eb6eb35858e7b2261c5
2014-04-18Use more proper integer types and constifyMatteo Casalin
Change-Id: Ia1da4606c9c159741d5bb5f0e85750737ad7486d
2014-04-18OUString: constify, remove temporaries and concatenated appendsMatteo Casalin
Change-Id: I7333d32a437a75a3fe9728591217258a2fa6c5e3
2014-04-18sal_uInt16 to intMatteo Casalin
Change-Id: I8a27d7fc2cbdb3093e7955b80642675dc9b8ab55
2014-04-18Group common code for csv generation and simplify OUString handlingMatteo Casalin
Though writing data incrementally without building the whole line would be more efficient. Change-Id: I396378c6f306f4ff0d10037f87c33005b7e4b640
2014-04-18OUString: constify and avoid temporariesMatteo Casalin
Change-Id: Iffff24e9d49f378b2ca6bb470d678ec0724f0594
2014-04-18Remove unused OUStringsMatteo Casalin
Change-Id: I7c98a0113418ac82f0b91b373073c8a11b6f9740
2014-04-18sal_uInt16 to sal_uInt32 + constifyMatteo Casalin
Change-Id: I7b5035d6189d6b3a33f767a926b443760adb5be0
2014-04-18Simplify generation of unique nameMatteo Casalin
Change-Id: Ifed55197ed6836dfb16d958c7dd34afad6c4aca7
2014-04-18OUString: reduce temporaries/concatenated appends + minor optimizationsMatteo Casalin
Change-Id: I30ea3ee112ef65555bfa5d7f2b8e908bb394ca58
2014-04-18This seems to be an infinite loop (never triggered?)Matteo Casalin
Change-Id: If619adcb5aa7951be159a387eaebf8553feb22e5
2014-04-18Use more proper integer types + minor optimizationsMatteo Casalin
Change-Id: I10df0245363715911d0eea2869a32a5ab849d3c4
2014-04-18Avoid temporary boolMatteo Casalin
Change-Id: I82b5f986b0a66aceb258960fd89bd5bf2754291a
2014-04-18OUString: reduce temporaries and constifyMatteo Casalin
Change-Id: I6524ce5924c12223702440426eb98665ba8df2a5
2014-04-18sal_uInt16 to sal_Int32/sal_uInt32 + constifyMatteo Casalin
Change-Id: Id7ac0150841475d7fdc6c5b6a3e35cc01143aa23
2014-04-18Pass constant ASCII string directlyMatteo Casalin
Change-Id: I011afefa52f77d914754e6ef99aa41fff28e8d2c
2014-04-18OUString: constify, remove unneeded casts and concatenated appends"Matteo Casalin
Change-Id: I5f712c4c8bda937a0ae1f542dda1bc2b6879604e
2014-04-18OUString::number(1) == "1"Matteo Casalin
Change-Id: Ieaf4b12224b11914a88eb963e915a375747a1e23
2014-04-18Remove code commented-out since 2009Matteo Casalin
Change-Id: I99000430cde8e9f23c8f11341472548329555c85
2014-04-18Remove unneeded castsMatteo Casalin
Change-Id: I2d69e8933883440bcb48439c6055c40dc140a429
2014-04-17now no temporary instance of SvtLanguageTable necessary here anymoreEike Rathke
Change-Id: I8154d8d198ba0826f24cb1da65d2de4fc1943517