summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2015-04-27More loplugin:simplifyboolStephan Bergmann
Change-Id: I49ef963c3c10614d3dd3012a756a1ca81aa62391
2015-04-27enhancement : tdf#90225 Cannot open compressed csv files from calcDennis Francis
Change-Id: I5098fd25f1747b49e47e360f017ee1112a242771 Reviewed-on: https://gerrit.libreoffice.org/15108 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2015-04-24Simplify SVG_DISABLE_FONT_EMBEDDING checkStephan Bergmann
Environment variables are used as a source for bootstrap variables anyway. Consistently consider SVG_DISABLE_FONT_EMBEDDING to be enabled if the bootstrap variable is present, regardless of its value. No need to tset it in CppunitTest_sd_import_tests, as it only affects SvgExport. (However, there is currently no test of svg export in CppunitTests_sd_export_tests, either; it was last disabled with 925907767cc63c1e5d6414e215f671a0b9f8a28a "disable sd's regression test again" and subsequently removed with f5dbe0eaba923f5de84745a04f531b36c979cafa "Usage of XShapeDumper in Impress added.") Change-Id: I3bc8e26953bd4b5a59f8230ee93fe99e0488d5cc
2015-04-24loplugin:simplifyboolStephan Bergmann
Change-Id: Idf2ae6b0b2c3d111125ad91ea7d13eec67325f36
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23Use comphelper::SequenceAsHashMap::getUnpackedValueOrDefault<bool>Stephan Bergmann
...instead of ...<sal_Bool>; plus ensuing loplugin:implicitboolconversion Change-Id: I5400e9d3175b9fe9b6088d37fe6bf3275314d7d0
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: I2ee91d07cf9d46cdc385a4db8473550b05e2f0ad
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: I200fdb2e193127f0c9e8cec4859845d3ec19cea0
2015-04-23cppcheck: unreadVariableCaolán McNamara
Change-Id: I3c70ad7628ed0d2a39a62eaece84d7cb77e150be
2015-04-23cppcheck: unreadVariableCaolán McNamara
Change-Id: I6483df29f99dc67e8a944e371c6e00e4724d154f
2015-04-22convert HIB_ constants to scoped enumNoel Grandin
Change-Id: I6fa3ecde4a1c5f9c7e6e1dcd22250cba065933e3
2015-04-17loplugin:implicitboolconversion clean-upStephan Bergmann
Change-Id: Ia175eef112cd79019be26a6a068992d796cb2faf
2015-04-17SvStream: WriteUChar -> WriteBoolStephan Bergmann
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
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
2015-04-13fix int wraparound + crash on export of fdo74018-2.docx to docCaolán McNamara
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
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
2015-04-13convert SHOWEXTRAS constants to scoped enumNoel Grandin
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
2015-04-11tdf#37650: further improvement of svg exportChr. Rossmanith
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
2015-04-11tdf#56467 / tdf#88117: SVG export further improvedChr. Rossmanith
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>
2015-04-11tdf#56467: copy text of meta actions with valid text lengthChr. Rossmanith
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>
2015-04-07convert SvtModuleOptions::EFactory to enum classNoel Grandin
and fix issues in iterating through o3tl::enumarray Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
2015-04-04Typo: creat->createJulien Nabet
Change-Id: I5e57e6d506504933096f4c8e371b0ddc93c04cbd
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: Ie45abb59a982bc13b65eacf8061f8843e224cfd5
2015-03-31V597: introduce a rtl_secureZeroMemoryCaolán McNamara
Change-Id: Id28046eb318cd3b2ed0b813fd266617547cf6ee2
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I1d8fc57cb95e12e2a3946fc1927427ab0efbf0db
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I0f3ad94d6a0449ebecb1eb239a7c4e63b94a9720
2015-03-27fixed typos in commentsChr. Rossmanith
Change-Id: I6f0b90f7a76ddc69e158502af760466ab7ce2f91
2015-03-27tdf#56467: improve export of formulas to SVGChr. Rossmanith
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>
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Idbae574e5d51d497fea7eadb6d80dec8f97d499a
2015-03-26convert SvxNumRuleType to enum classNoel Grandin
Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1
2015-03-26convert NUM_ constants to enum clasNoel Grandin
Change-Id: Id41ea91aaf618c7f3f323698c09caa7c8df2290a
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25TyposJulien Nabet
Change-Id: I434be0034b26ac4719590238817538ecd90b8923
2015-03-24fix typo in variable nameChr. Rossmanith
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>
2015-03-24Unitialized use of mbSkipImages (as found by UBSan)Stephan Bergmann
Change-Id: I787d7b925d12eec7ac8a5a2901004e09cfab114d
2015-03-24SkipImages option for document importLászló Németh
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>
2015-03-21Char highlight: convert LO character background to MSO highlightingZolnai Tamás
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
2015-03-19CppCheck cleaning : unnecessary assignmentMichaël Lefèvre
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>
2015-03-19loplugin:constantfunction: filterNoel Grandin
Change-Id: I11e616ec1e3249573797bd2a4bb2b52f11c115ee
2015-03-19loplugin:constantfunction: svtoolsNoel Grandin
Change-Id: I42479fb10878a0a1c2071f7b35ae375061781d40
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
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
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86