summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)AuthorFilesLines
2015-03-06Idle: Changed to new enum nameTobias Madl3-3/+3
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl3-3/+3
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl4-3/+5
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-05gbuild: set _WIN32_WINNT globally instead of WINVERMichael Stahl1-4/+0
... and remove the definitions in makefiles, except in fpicker, which defines a different value for the Vista file picker. The WINVER value is derived automatically from _WIN32_WINNT by SDK header sdkddkver.h. Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
2015-03-04V813: Decreased performanceCaolán McNamara1-2/+2
Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
2015-02-25remove NUMBERFORMAT_ constantsNoel Grandin2-14/+14
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-21Typo: queriing->queryingJulien Nabet1-1/+1
Change-Id: I9bb56396f263c73fbb22a556da32a5da7f94c3fd
2015-02-21Typo: reqired->requiredJulien Nabet1-1/+1
Change-Id: I22b5ad47ba76da9b00e9a69bcfbc00befc369fe6
2015-02-21Various typosJulien Nabet1-1/+1
Change-Id: I61d6a92e5301e07c9180d94dafec23ef1a06e0ef
2015-02-16add GetSelectEntryData to ListBox and ComboBoxNoel Grandin1-1/+1
to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-07loplugin:deletedspecialStephan Bergmann15-43/+29
Change-Id: I55b827c4f20c57fcb18f8d6b54e3fdc168baed3f
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage1-3/+3
Deprecated comphelper/sequenceasvector.hxx. Rewritten code using it. Using instead the functions containerToSequence and sequenceToContainer, found in include/comphelper/sequence.hxx. One class that inherits from it (in framework/inc/stdtypes.h), and the code using that has been left. Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/TblStylePrHandler.hxx writerfilter/source/dmapper/WrapPolygonHandler.hxx Change-Id: Ice61c94ffb052e389281aebb7cdf185134221061
2015-02-05Remove uses of deprecated salhelper/refobj.hxxStephan Bergmann2-1/+1
Change-Id: Ibf4a2ed99024568b2d370b22919e3a25c43c6fbf
2015-01-31coverity#1267680 Dereference before null checkCaolán McNamara1-2/+2
Change-Id: I4a7e8751a5a6a93bd0cb8208a06a7c4fd30ef1b4
2015-01-30coverity#707772 Uninitialized scalar fieldCaolán McNamara1-7/+8
Change-Id: I00a5bc6256d9cbfc69ea6a71f2f2cd21e75cc594
2015-01-30Resolves: #i67663# add vertical alighment on property UITsutomu Uchino2-1/+2
(cherry picked from commit 2b2128d0665dc390ae90739c84bc387f399ebe87) Conflicts: extensions/source/propctrlr/formmetadata.cxx Change-Id: Ic6d708454009e8023dc2e601043409377fd6cb34
2015-01-28Use vector::dataStephan Bergmann1-4/+2
...in some places where it is obvious that it does not hurt that for an empty vector the obtained pointer is not necessarily a nullptr. Change-Id: Id5d66b1559ca8b8955d379bcdbfae6986ef46a51
2015-01-27Resolves: tdf#88819 printing with ps hangsCaolán McNamara1-1/+1
regression from commit bbf3aa7f92c194c9cc4546c95706e6b28e0c070c Author: Caolán McNamara <caolanm@redhat.com> Date: Fri Nov 14 11:06:44 2014 +0000 coverity#705989 silence Insecure temporary file and coverity#705983 Insecure temporary file Change-Id: If580196322e68098adc38a9fdb775827843a9c30
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin1-1/+1
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin6-7/+7
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-24cppcheck: fix redundantPointerOp reportsJulien Nabet1-1/+1
Change-Id: Ida4bf3bf03d49856eb16329c4f88b9507f330c6f Reviewed-on: https://gerrit.libreoffice.org/14150 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-20Drop unused comphelper::service_decl::component_getFactoryHelper paramsStephan Bergmann1-4/+2
Change-Id: Ia47c0bc3539ddf8f925cd053a2431c742c46d337
2015-01-20Some more loplugin:cstylecast: extensionsStephan Bergmann7-69/+69
Change-Id: I3b1a00f12b75e3b115e08289b7f486a6a9c3c863
2015-01-16remove unnecessary parenthesesNoel Grandin1-2/+2
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin1-4/+2
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin1-1/+1
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin1-1/+1
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl1-2/+2
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin3-4/+4
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-05fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'Noel Grandin1-1/+1
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
2015-01-05java: unnecessary importsNoel Grandin1-2/+0
found by CodePro Change-Id: If1b75e43f81d70984422e437147048a491395b66
2015-01-04boost::unordered_map->std::unordered_mapCaolán McNamara11-38/+38
Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann1-1/+1
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2014-12-19extensions: Use appropriate OUString functions on string constantsStephan Bergmann1-3/+3
Change-Id: Ief21a59fc58cdd6fb3398bbe5080ed5a53cb374e
2014-12-18extensions: Use appropriate OUString functions on string constantsStephan Bergmann4-7/+6
Change-Id: I4f117b3339753af254768724c38167f3595fbe69
2014-12-17Introduce rtl::OUStringLiteral1Stephan Bergmann1-1/+1
...to use single ASCII character literals "more directly" in the OUString API (instead of having to go via an intermediary OUString ctor call). Especially useful for character literals that are defined as const variables or via macros ("direct" uses of character literals in the OUString API can often simply be replaced with single-character string literals, for improved readability). (The functions overloaded for OUStringLiteral1 are those that are actually used by the existing LO code; more could potentially be added. The asymmetry in the operator ==/!= parameter types is by design, though---writing code like 'x' == s is an abomination that shall not be abetted.) Change-Id: Ic5264714be7439eed56b5dfca6ccaee277306f1f
2014-12-15java: remove more test skeleton codeNoel Grandin1-58/+0
Change-Id: I37a82554de4f77be7e0fb3e42245a70b53beb83c Reviewed-on: https://gerrit.libreoffice.org/13476 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-15fdo#39440 reduce scope of local variablesMichael Weghorn5-7/+8
This addresses some cppcheck warnings. Change-Id: I026999d6e995185c42df6770a1a700094540d08a Reviewed-on: https://gerrit.libreoffice.org/13454 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-12extensions: Use appropriate OUString functions on string constantsStephan Bergmann10-47/+47
Change-Id: I2476f409604d69e8e8ea1a132cd0a9169b5d435e
2014-12-10java: simplify the getMSF() methodsNoel Grandin1-2/+1
Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3 Reviewed-on: https://gerrit.libreoffice.org/13406 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-09changed timers to idlesTobias Madl5-14/+14
Change-Id: I223026ce7676a3f8fcda7eb33326cd4ee949c6f0
2014-12-05fdo#38835 strip out OUString globalsNoel Grandin1-3/+4
Change-Id: I8bc386ffa88e31988bdc778a845403bec0772799
2014-12-04fdo#65163 reintroduce embedded picture for form componentsLionel Elie Mamane1-2/+13
but not for report components (fdo#53001) Change-Id: Ie07e1c2993304d4deb2124e72baa7a326b587918
2014-12-04Revert "coverity#735424 Logically dead code"Lionel Elie Mamane1-3/+22
This reverts commit 1f22e2f954baeec825190ded03510cb6c8069d93. in preparation for fix for fdo#65163 Conflicts: extensions/source/propctrlr/formcomponenthandler.cxx Change-Id: Ifa252ac66724dd3e4b257e3bb6679d9503f8a9db
2014-12-01WaE: -Werror=switchCaolán McNamara1-48/+44
Change-Id: I2cd8ef48620bdd70554658b7468183e902ed8b45
2014-12-01fdo#84938: replace EVENT_ constants with enumTobias Madl8-12/+12
Change-Id: I8275832d8dae43b374bddd48520d11592e9a6a1f Reviewed-on: https://gerrit.libreoffice.org/13134 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-25-Werror,-WuninitializedStephan Bergmann1-2/+2
(in PropertyComposer ctor: base class 'comphelper::OBaseMutex' is uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex') Change-Id: I41ede9ab34e89c8dde23ce2e4fd6393b05c979c6
2014-11-23capitalize e-mail in list of types in bibliographyStanislav Horacek1-1/+1
Change-Id: Ie72627e708f257e7272618d90abf7b54957112b9 Reviewed-on: https://gerrit.libreoffice.org/13076 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl7-0/+7
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18java: make fields final where possibleNoel Grandin4-13/+6
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec