summaryrefslogtreecommitdiffstats
path: root/compilerplugins
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosAndrea Gelmini2017-03-111-2/+2
| | | | | | | Change-Id: Ic54e808956e5cf4e8079942c0ff799f802cd4b6c Reviewed-on: https://gerrit.libreoffice.org/35053 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* gpg4libre: Remove deprecated dynamic exception specificationsSamuel Mehrbrodt2017-03-081-2/+1
| | | | | | | Change-Id: I3bec4570149af50fad5eef33bafb9842ab598798 Reviewed-on: https://gerrit.libreoffice.org/34967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* gpg4libre: List and view GPG keysSamuel Mehrbrodt2017-03-041-1/+2
| | | | | | | | | | | | * Add GPG implementation of css::xml::crypto UNO interfaces (part of that is only stub atm) * List gpg keys along with other certificates * Viewing gpg certificates: Not all properties are implemented yet Change-Id: I7f60b26efe949a94bf8fe1b8d4d428002c2995b1 Reviewed-on: https://gerrit.libreoffice.org/33843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* remove unused CreateDefault methodsNoel Grandin2017-03-031-7/+1
| | | | | | | Change-Id: Ifbdd7d41f0938e9a03693f88416792ff8087f8c2 Reviewed-on: https://gerrit.libreoffice.org/34850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Fix typosAndrea Gelmini2017-03-034-4/+4
| | | | | | | Change-Id: I4f16ba5fc32cbfd6a5b01e495f3ad905da193524 Reviewed-on: https://gerrit.libreoffice.org/34808 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Adapt loplugin:sallogareasStephan Bergmann2017-02-281-3/+4
| | | | | | | | ...to b6a69585b00867005820c1dd94e10e0e6b545e2a "old sal_detail_log_backtrace into sal_detail_log" and follow-up c697ae306cd4eaa8144ed93fc908e50d5934e249 "Some clean up" Change-Id: Ie38899e70c5b326724f9442fbf92e453b05eec01
* new loplugin unoanyNoel Grandin2017-02-282-0/+101
| | | | | | | Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* New loplugin:subtlezeroinitStephan Bergmann2017-02-231-0/+59
| | | | Change-Id: I4530021d78f714d389833bd00ea87430d1d20f52
* remove unused enumerators from PrinterCapTypeNoel Grandin2017-02-201-0/+4
| | | | | | | Change-Id: Id4f788dfae64e7a9bcde16af2db2ddeafaf6900e Reviewed-on: https://gerrit.libreoffice.org/34468 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert StringType to scoped enumNoel Grandin2017-02-201-0/+3
| | | | | | | | | and drop unused FormulaValue enumerator Change-Id: Ide6026b841db224947d7d559c110dfc7da3cd975 Reviewed-on: https://gerrit.libreoffice.org/34467 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove unused ModalDialogue from WMWindowType enumNoel Grandin2017-02-201-9/+21
| | | | | | | Change-Id: I22269d6d1868b744f48274ff53ca46fa93ce9fc1 Reviewed-on: https://gerrit.libreoffice.org/34455 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove some unused enumeratorsNoel Grandin2017-02-201-0/+1
| | | | | | | Change-Id: Idb9080f9c2edd838385d78b64e61ab49e93fe54b Reviewed-on: https://gerrit.libreoffice.org/34373 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert FormulaCompiler::SeparatorType to scoped enumNoel Grandin2017-02-171-0/+2
| | | | | | | | | and drop unused COMMA_BASE enumerator Change-Id: I5f35ba7453d5ca613ebd65d0853c7caaa210f3de Reviewed-on: https://gerrit.libreoffice.org/34357 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* isAssignmentOp is not available on older clangNoel Grandin2017-02-171-1/+3
| | | | Change-Id: I1ee7a8266a2ad0e14a28fab7aa0095b15647d5b0
* convert StackMode to scoped enumNoel Grandin2017-02-171-0/+1
| | | | | | and drop unused AMBIGUOUS enumerator Change-Id: I71954d75a64928061c0e520beb47f979c53ee5a8
* convert PropertyType to scoped enumNoel Grandin2017-02-171-1/+3
| | | | | | and drop unused enumerators Change-Id: I61d2a46ed84ce4163757a2da58162c72b1b0950f
* convert ValueParser::State to scoped enumNoel Grandin2017-02-171-0/+3
| | | | Change-Id: I20c8217576fb6993107f1e45429adc5660d38da8
* remove unused NONE from TAscendingOrder enumNoel Grandin2017-02-171-1/+2
| | | | Change-Id: I31c793df40b2a687b4a6c84854f34aba72ac0494
* teach loplugin unusedenumconstants about CXXOperatorCallExprNoel Grandin2017-02-171-0/+7
| | | | | | fixes some false+ in the write-only analysis Change-Id: Ie7905c05c8012820c640064d451b33badb04c5fc
* convert SbxNameType to scoped enumNoel Grandin2017-02-171-0/+5
| | | | | | and drop unused enumerators Change-Id: I2b47828b2146fcda335f1dc1c1f61a1139abbe19
* Silence loplugin:redundantcast false warningStephan Bergmann2017-02-161-4/+6
| | | | | | | | | | | | | | | ...that is curiously only reported when building with clang -std=gnu++17: > sc/qa/unit/ucalc_condformat.cxx:185:80: error: redundant const_cast from 'ScConditionalFormat *' to 'const ScConditionalFormat *', result is implictly cast to 'const ScConditionalFormat *const' [loplugin:redundantcast] > CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong conditional format instance.", pCheck, const_cast<const ScConditionalFormat*>(pFormat)); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:230:32: note: expanded from macro 'CPPUNIT_ASSERT_EQUAL_MESSAGE' > (actual), \ > ~^~~~~~~ > 1 error generated. > make[1]: *** [solenv/gbuild/LinkTarget.mk:270: workdir/CxxObject/sc/qa/unit/ucalc_condformat.o] Error 1 Change-Id: If2e8577bad4ec7454d584eb59106734d47f876ad
* loplugin:redundantcast: Avoid double warnings on some const_castStephan Bergmann2017-02-162-7/+10
| | | | Change-Id: I1e6140fef55054899dd32465726e804fc6006394
* Capture loplugin:redundantcast status-quo wrt const_castStephan Bergmann2017-02-161-0/+32
| | | | | | ...including some double-warnings that'll get cleaned up shortly Change-Id: I14e9796f2846a6bb61e4c93dfb23cba6488ea2e6
* convert EESpellState to scoped enumNoel Grandin2017-02-161-0/+1
| | | | | | and drop unused EE_SPELL_NOLANGUAGE enumerator Change-Id: I74a5f89335883a13d77b39f78b7de55bddb1f107
* remove unused NONE from ScrollRangeCheck enumNoel Grandin2017-02-161-0/+7
| | | | Change-Id: I9d83cc38a9fa477a61ec7e2ec3d9786318187085
* convert resetType to scoped enumNoel Grandin2017-02-161-0/+2
| | | | Change-Id: Ie127b99949546b5303fd105c662b25c62d409941
* convert HelpProcessingErrorClass to scoped enumNoel Grandin2017-02-161-0/+2
| | | | | | and drop unused HELPPROCESSING_INTERNAL_ERROR enumerator Change-Id: I0f2cf063a3f1472e1d52bab5039b1c3158d4865e
* remove unused enumerators from SymbolType enumNoel Grandin2017-02-161-0/+2
| | | | Change-Id: I63af4ab93dfd021f88f03fad2c065f5a0e9eeed9
* remove unused Exist from oslCheckMode enumNoel Grandin2017-02-161-0/+1
| | | | Change-Id: I1ad187342444c5e92b61578d2a67cce2ae5ac428
* convert FuncParamValidity to scoped enumNoel Grandin2017-02-151-0/+1
| | | | | | and drop unused NONE enumerator Change-Id: Ibc77390efb195a9158ba809ad96aab4dcdbc09cb
* convert SylkVersion to scoped enumNoel Grandin2017-02-151-0/+1
| | | | Change-Id: Ib7e02fee748bd55be6d74d60bff3d8ed765ea225
* convert DoubledQuoteMode to scoped enumNoel Grandin2017-02-151-0/+1
| | | | | | and drop unused enumerators Change-Id: I0dc45e2bec1a25357405ca0c0197632ee4806cb0
* drop unused PRESOBJ_IMAGENoel Grandin2017-02-151-0/+4
| | | | Change-Id: I8fa011bea423e961a3ebe7cd8687e4bce7c4cd77
* drop unused SwChildWindowMailmerge from SfxShellFeature enumNoel Grandin2017-02-151-0/+1
| | | | Change-Id: Ica64d75986877bc0b2fc3bafb092457396fb8e27
* convert SmBracketType to scoped enumNoel Grandin2017-02-151-0/+1
| | | | | | and drop unused enumerators Change-Id: Icda3ff510331f9f0adb97d6dac56edf325d0d1a7
* remove unused AccessibilityChanged from SfxHintId enumNoel Grandin2017-02-151-0/+1
| | | | Change-Id: Ic2d413002466e92d38a7a918b3f7e04d3c9eebf2
* convert SvxIconChoiceCtrlPositionMode to scoped enumNoel Grandin2017-02-151-0/+1
| | | | | | and drop unused AutoAdjust enumerator Change-Id: Ie900f89241947cb93a16f0223071846fecfef09c
* convert svt::table::TableArea to scoped enumNoel Grandin2017-02-141-0/+1
| | | | | | and drop unused TableAreaDataArea enumerator Change-Id: I00da558ab899dccbeaa9786c65f7a2831f323b25
* convert to EnumerationResult to scoped enumNoel Grandin2017-02-141-0/+1
| | | | | | and drop unused RUNNING constant Change-Id: I498b8b47e172336775b38c953f867f2adc57603e
* convert SvxPrevLineSpace to scoped enumNoel Grandin2017-02-141-0/+2
| | | | Change-Id: I5903169e1d7728a2f1e547efdff82a75e8d7b6a7
* remove unused BreakedLine enumerator from SdrMeasureTextVPosNoel Grandin2017-02-141-0/+1
| | | | | | | Change-Id: I28cf3d36c1427b382aea1925d2dd94ace0d2a443 Reviewed-on: https://gerrit.libreoffice.org/34204 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert SvxXMLTableImportContextEnum to scoped enumNoel Grandin2017-02-141-0/+1
| | | | | | | | | and drop unused stice_unknown enumerator Change-Id: Ia2d363c9e8d9e501bbfb6f9bb5838b109ce8593b Reviewed-on: https://gerrit.libreoffice.org/34201 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove unused BrkAction enumerator from SdrEventKindNoel Grandin2017-02-141-0/+1
| | | | | | | Change-Id: I46c50bbbad5d269b7f15e041db115fa7f37a8168 Reviewed-on: https://gerrit.libreoffice.org/34205 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert ShellModes to scoped enumNoel Grandin2017-02-131-0/+1
| | | | | | and drop read-only SHELL_MODE_DRAW_CTRL enumerator Change-Id: I2ccaeb492912c876b89ff9b5dccaa99e28a268b7
* convert eF_ResT to scoped enumNoel Grandin2017-02-131-0/+1
| | | | | | and drop read-only FLD_TAGTXT enumerator Change-Id: I718529082ce540c0e3bca37d969917d3b3a67f5e
* convert SW_KeyState to scoped enumNoel Grandin2017-02-131-0/+1
| | | | | | | | and drop unused InsDel_* enumerators. Also rename to SwKeyState to make it a little shorter and more consistent with other naming. Change-Id: I837ea8d64a0f26426567dcf78750939fc959a4a4
* SourceManager::getFilename returns StringRefStephan Bergmann2017-02-111-14/+9
| | | | Change-Id: I77db8565efe2e0d366afc8470308d7801a2a7337
* loplugin:dynexcspec: Deallocation functions are implicitly non-throwingStephan Bergmann2017-02-101-3/+16
| | | | | | | | ...so a dynamic exception specification should be replaced with noexcept(false). Doesn't look like this omission made any difference when running the rewriter across the LO code base earlier, though. Change-Id: Ib0e2b412b65cae7c1a68e875bbddf93f3656cebb
* Remove unnecessary blacklists from loplugin:stringconstantStephan Bergmann2017-02-101-14/+0
| | | | Change-Id: I866a421a2b3e8830aaa7096adaef945a2264195e
* remove unused enumerator from EncodedWordStateNoel Grandin2017-02-101-0/+1
| | | | Change-Id: I793276d2b13bdb966e18acb8f13b4c7e77516898