summaryrefslogtreecommitdiffstats
path: root/filter
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:implicitboolconversion clean-upStephan Bergmann2015-04-171-4/+4
| | | | Change-Id: Ia175eef112cd79019be26a6a068992d796cb2faf
* SvStream: WriteUChar -> WriteBoolStephan Bergmann2015-04-171-1/+1
| | | | Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-154-5/+5
| | | | | | | | | | | | | | | | ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
* fix int wraparound + crash on export of fdo74018-2.docx to docCaolán McNamara2015-04-131-18/+19
| | | | | | | | nPoints is 16bit and accumulated value wraps around, so use a 32bit nTotalPoints instead and move 16bit declarations to use points to confirm no other wraparounds Change-Id: If97ccb46ed8eb7f4305cdfe328ae83bc2b0c778c
* loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann2015-04-133-3/+3
| | | | Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
* loplugin:staticmethodsNoel Grandin2015-04-131-2/+2
| | | | Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
* loplugin:staticmethodsNoel Grandin2015-04-132-2/+2
| | | | Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
* convert SHOWEXTRAS constants to scoped enumNoel Grandin2015-04-131-1/+1
| | | | Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
* tdf#37650: further improvement of svg exportChr. Rossmanith2015-04-111-4/+64
| | | | | | | | | continues work of 0a4e9138281bd0a4be59031357c1bf52134d007a when opening a <tspan> element check if <text> element has been opened already; if not open <text> element and close it immediately after writing the text Change-Id: I6e4cfdf9ba107ec9e65a99e7866f4a1075737d82
* tdf#56467 / tdf#88117: SVG export further improvedChr. Rossmanith2015-04-111-4/+1
| | | | | | | | | | | omitting the clip-path from the <svg> element and keeping it only in the slides enables rendering of exported selection in viewers like firefox and inkscape Change-Id: If296a78a3f948728e8b2ec257849be129bec5d92 Reviewed-on: https://gerrit.libreoffice.org/15155 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* tdf#56467: copy text of meta actions with valid text lengthChr. Rossmanith2015-04-112-6/+12
| | | | | | | | | avoids !!br0ken!! in svg output Change-Id: I7f99a26f3a995cbaeb1e520a411a8e1c31a8a61f Reviewed-on: https://gerrit.libreoffice.org/15144 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* convert SvtModuleOptions::EFactory to enum classNoel Grandin2015-04-071-4/+3
| | | | | | and fix issues in iterating through o3tl::enumarray Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
* Typo: creat->createJulien Nabet2015-04-042-3/+3
| | | | Change-Id: I5e57e6d506504933096f4c8e371b0ddc93c04cbd
* Change INetProtocol enumerators to CamelCaseStephan Bergmann2015-04-023-5/+5
| | | | | | ...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
* Change INetProtocol to scoped enumerationStephan Bergmann2015-04-023-5/+5
| | | | | | ...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
* loplugin:staticmethodsNoel Grandin2015-04-0221-27/+27
| | | | Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-012-4/+4
| | | | Change-Id: Ie45abb59a982bc13b65eacf8061f8843e224cfd5
* V597: introduce a rtl_secureZeroMemoryCaolán McNamara2015-03-311-5/+5
| | | | Change-Id: Id28046eb318cd3b2ed0b813fd266617547cf6ee2
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-3111-17/+17
| | | | Change-Id: I1d8fc57cb95e12e2a3946fc1927427ab0efbf0db
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-2813-109/+109
| | | | Change-Id: I0f3ad94d6a0449ebecb1eb239a7c4e63b94a9720
* fixed typos in commentsChr. Rossmanith2015-03-271-1/+1
| | | | Change-Id: I6f0b90f7a76ddc69e158502af760466ab7ce2f91
* tdf#56467: improve export of formulas to SVGChr. Rossmanith2015-03-272-3/+5
| | | | | | | | | | | tspan element only valid as child of text element if exporting a selection use top left corner of bounding rect as top left corner of viewbox export x coordinate of text position for text portions Change-Id: I8b739085473aa4a48ff3bbbbe8c413c3cddbaebd Reviewed-on: https://gerrit.libreoffice.org/14992 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-267-24/+24
| | | | Change-Id: Idbae574e5d51d497fea7eadb6d80dec8f97d499a
* convert SvxNumRuleType to enum classNoel Grandin2015-03-261-5/+5
| | | | Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1
* convert NUM_ constants to enum clasNoel Grandin2015-03-261-2/+2
| | | | Change-Id: Id41ea91aaf618c7f3f323698c09caa7c8df2290a
* Typo: formated->formattedJulien Nabet2015-03-251-1/+1
| | | | Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
* TyposJulien Nabet2015-03-252-5/+5
| | | | Change-Id: I434be0034b26ac4719590238817538ecd90b8923
* fix typo in variable nameChr. Rossmanith2015-03-242-13/+13
| | | | | | | | | mbIsPlacehlolderShape -> mbIsPlaceholderShape Change-Id: Ie01335293a3acd6da628e7ea123e10f77c1513da Reviewed-on: https://gerrit.libreoffice.org/14991 Reviewed-by: Katarina Behrens <bubli@bubli.org> Tested-by: Katarina Behrens <bubli@bubli.org>
* Unitialized use of mbSkipImages (as found by UBSan)Stephan Bergmann2015-03-241-1/+2
| | | | Change-Id: I787d7b925d12eec7ac8a5a2901004e09cfab114d
* SkipImages option for document importLászló Németh2015-03-241-5/+9
| | | | | | | | | | This option allows images and drawings to be skipped while importing DOC and DOCX, for text-only conversion or indexing. Change-Id: Id4bfbbe48d8a8e970b1cb5922187768bf94dc918 Reviewed-on: https://gerrit.libreoffice.org/14733 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
* Char highlight: convert LO character background to MSO highlightingZolnai Tamás2015-03-211-0/+42
| | | | | | | | | | DOC export has a good approximating algorithm for that so use it everywhere. In RTF case use the default color table which is added also by MSO Word. With that highlight colors are also added to the table. Change-Id: Ie4827a933c316d4dc0c0c7a32d8cf319477d1bf9
* CppCheck cleaning : unnecessary assignmentMichaël Lefèvre2015-03-191-1/+0
| | | | | | | | Change-Id: I1e2562631f37befc75879a8095740835f050afb2 Reviewed-on: https://gerrit.libreoffice.org/14856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:constantfunction: filterNoel Grandin2015-03-1912-117/+12
| | | | Change-Id: I11e616ec1e3249573797bd2a4bb2b52f11c115ee
* loplugin:constantfunction: svtoolsNoel Grandin2015-03-192-8/+0
| | | | Change-Id: I42479fb10878a0a1c2071f7b35ae375061781d40
* convert SFX_FILTER_ constants to enum classNoel Grandin2015-03-1911-22/+22
| | | | Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
* create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin2015-03-1814-43/+43
| | | | | | | | | | | | of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
* Fix various XServiceInfo implementationsStephan Bergmann2015-03-171-4/+21
| | | | | | ...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
* tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann2015-03-132-16/+18
| | | | | | | ...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
* TyposJulien Nabet2015-03-121-1/+1
| | | | Change-Id: I55d7440ba5bee16bbce5930c81c604858131b5c7
* redundant checkCaolán McNamara2015-03-112-4/+2
| | | | Change-Id: Id6b72a1a3133e47a07ee274f4082dde0e7032894
* V668 no sense in testing the result of new against nullCaolán McNamara2015-03-116-363/+329
| | | | Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
* V801: Decreased performanceCaolán McNamara2015-03-093-17/+17
| | | | Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
* v612: obfuscated if/gotoBjoern Michaelsen2015-03-061-9/+4
| | | | Change-Id: Ia12b325e41238b9e12e2f388273bd01b96d61c08
* V813: Decreased performanceCaolán McNamara2015-03-041-8/+4
| | | | Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
* TyposJulien Nabet2015-03-031-2/+2
| | | | Change-Id: I64995f15e8367412f345c6505668a1c560eef1ef
* convert GFF_ constants to enum classNoel Grandin2015-03-021-9/+9
| | | | Change-Id: I88469e8d6afb3fcefdaf285a56b7acd576bc8520
* remove unnecessary parenthesis in return statementsNoel Grandin2015-02-235-13/+13
| | | | | | | found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
* TyposJulien Nabet2015-02-211-1/+1
| | | | Change-Id: I8d6e9b20c478e649e35eca16f39692a9ce42b3c5
* Typo: containted->containedJulien Nabet2015-02-211-1/+1
| | | | Change-Id: I678c35ca2007169a38529b36fd31367bac4ed481
* Typo: trough->throughJulien Nabet2015-02-214-8/+8
| | | | Change-Id: I5af784709df88492695d1ac9c9a5b020e909f362