summaryrefslogtreecommitdiffstats
path: root/forms
Commit message (Collapse)AuthorAgeFilesLines
* tdf#93403 check for changed DataSource on all Controls on form reloadLionel Elie Mamane2016-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | 1) OBoundControlModel: when reload() asks us to connect to database column, redo it even if it was previously done. 2) FmXGridPeer: when getting Reloaded event that we subscribed to (and specifically from frm::ODatabaseFrom), pass along the event to all columns before we treat it. The columns (controls) are themselves subscribed to it, but they may get the event after us, which means our treatment still uses stale data, which we continue to display. The column controls should continue to subscribe by themselves for the case that they are not in a grid, but direct children of the form. Change-Id: I0cbcf2dc792e8650157a69ddc414d755de0e549a Reviewed-on: https://gerrit.libreoffice.org/25549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Missing break in switchStephan Bergmann2016-05-131-0/+1
| | | | | | | | | | | | Apparently forgotten when introducing the case PROPERTY_ID_GENERATEVBAEVENTS in 4fae740db79d4e7cc97440e2bab8d1ef612d9b51 "Disable fake VBA events for the old-style form controls." Change-Id: Id2783fd4f087669bd200a9c33eaad2bb6b7b50cd (cherry picked from commit 1f7a31a461bb3a6fcd277ab57875405875568f8b) Reviewed-on: https://gerrit.libreoffice.org/24916 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* vcl: move graph.[hx]xx to graphic.[hc]xxChris Sherlock2016-03-151-1/+1
| | | | | | | | | | | | | It's IMO a bit confusing to see a "graph" header that doesn't strictly deal with graphs, but graphics. Backporting to 5.1 series to allow for easier backporting of other potential hotfixes. Change-Id: Ic37c6cd78e23d05939486f98667144c4453bb0a3 Reviewed-on: https://gerrit.libreoffice.org/22949 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
* loplugin:unusedfields forms,formula,fpicker,frameworkNoel Grandin2015-11-202-3/+0
| | | | Change-Id: Ic7af56ac801c1e5b3fcf3c4e8413656e96220279
* add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin2015-11-204-32/+6
| | | | | | | | | and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* use comphelper::containerToSequenceNoel Grandin2015-11-196-24/+7
| | | | | | in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
* Fast PCH generator and optimized PCH filesAshod Nakashian2015-11-151-203/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-2/+1
| | | | | | | | | | | | using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* use initialiser syntax for Sequence<OUString>Noel Grandin2015-11-151-2/+1
| | | | | | | | | | | | | | replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-1052-251/+251
| | | | Change-Id: Ic67c3138ca66c6b6d6fcf76b09d4581e23f51f8d
* new loplugin: oncevarNoel Grandin2015-11-091-3/+1
| | | | | | | Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* coverity#1338244 Uncaught exceptionCaolán McNamara2015-11-062-2/+2
| | | | Change-Id: If46689d2b9cf8f6cb76d61296332444d4c3fb5fd
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-063-5/+5
| | | | Change-Id: I5b543edcae47c9ae4c90dba8082127fcb2b9b938
* java: remove ((unnecessary)) parenthesesNoel Grandin2015-11-051-1/+1
| | | | Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
* java: make inner classes static where possibleNoel Grandin2015-11-051-1/+1
| | | | Change-Id: Icc6444ad15d9f4b50858d8c1b1d3adeaeac40926
* yyyyyNoel Grandin2015-11-041-2/+1
| | | | Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-0211-26/+23
| | | | | | | Change-Id: I3d94c94a9829161663a7ed18421ace38ce95a659 Reviewed-on: https://gerrit.libreoffice.org/19733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* no need to use OUString constructor in call to createInstanceNoel Grandin2015-11-011-2/+2
| | | | | | | Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* don't allocate uno::Reference on the heapNoel Grandin2015-10-272-5/+3
| | | | | | | | | | | | There is no point, since it's the size of a pointer anyway (found by temporarily making the new operator in uno::Reference deleted). Change-Id: I62a8b957fef9184f65d705600acfdab4116dcb34 Reviewed-on: https://gerrit.libreoffice.org/19603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethodsNoel Grandin2015-10-271-3/+3
| | | | | | | Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* remove extra spaces around ::Noel Grandin2015-10-263-3/+3
| | | | | | just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
* more removal of com::sun::star typedefsNoel Grandin2015-10-2110-46/+31
| | | | Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
* refactor out some com::sun::star typedefsNoel Grandin2015-10-212-42/+31
| | | | | | which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
* loplugin:defaultparamsStephan Bergmann2015-10-202-3/+3
| | | | Change-Id: I0a64398f49c8823327263aad0c79b182161177ea
* loplugin:defaultparamsStephan Bergmann2015-10-191-1/+1
| | | | Change-Id: I0c2635092096cbacb120426d1d6805afdaac3503
* calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin2015-10-152-5/+3
| | | | | | | | | | | | the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
* remove some useless commentsNoel Grandin2015-10-131-1/+1
| | | | | | found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1282-1300/+1300
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1211-24/+24
| | | | Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
* loplugin:mergeclassesNoel Grandin2015-10-124-24/+12
| | | | Change-Id: Id6e39c2c20ab3da5a8b8628f99a940b896feff78
* cppcheck: noExplicitConstructorCaolán McNamara2015-10-0737-54/+54
| | | | Change-Id: I32c6728ce7423fd997cdbec66feb8a6ba39948d2
* cppcheck: noExplicitConstructorCaolán McNamara2015-10-051-1/+1
| | | | Change-Id: I80950aaf1385bd76b012eab7866fd16848751f45
* Fix typosAndrea Gelmini2015-10-029-10/+10
| | | | | | | Change-Id: Ib30f4e5f16518cbbe71cf03998513ebd8c2a4d1a Reviewed-on: https://gerrit.libreoffice.org/18949 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
* com::sun::star->css in forms/Noel Grandin2015-10-02129-2235/+2191
| | | | Change-Id: I1c09e88f839bdf11c6ff809ec95769e8f729c7cd
* loplugin:unusedmethodsNoel Grandin2015-10-013-11/+0
| | | | | | | | | | | | - improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#94559: second step to remove rtti.hxxOliver Specht2015-09-301-9/+9
| | | | | | | | | | replaced use of PTR_CAST, IS_TYPE, ISA in chart2, connectivity, editeng, extensions, filter, forms, framework, idl Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99 Reviewed-on: https://gerrit.libreoffice.org/18920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
* Renamed wrongly prefixed boolean variablesStefan Heinemann2015-09-292-5/+5
| | | | | | | | | Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* loplugin:removeunusedmethods, remove unused stuffNoel Grandin2015-09-291-6/+0
| | | | Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
* convert Link<> to typedNoel Grandin2015-09-233-5/+4
| | | | | | | Change-Id: Ica5093e29630d6d6974ccba034609129887ac85b Reviewed-on: https://gerrit.libreoffice.org/18802 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* boost->stdCaolán McNamara2015-09-188-19/+15
| | | | | | | | Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* convert Link<> to typedNoel Grandin2015-09-175-11/+9
| | | | Change-Id: Ic3ce7783614d90a34f9c4414bbc7df9774091805
* boost->stdCaolán McNamara2015-09-173-9/+9
| | | | Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
* convert Link<> to typedNoel Grandin2015-09-172-4/+2
| | | | Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
* convert Link<> to typedNoel Grandin2015-09-162-4/+3
| | | | Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
* Merge INetMessageIStream into INetMIMEMessageStreamStephan Bergmann2015-09-101-3/+1
| | | | Change-Id: Ic3d9cd117b3f911a7cb1317fc9d1d2e9d8f1ff42
* A charset is not a content transfer encodingStephan Bergmann2015-09-101-2/+3
| | | | | | | ...the code was in this odd shape ever since bf4154eb5307ec8c35f000fd1df39ef3abb2eb6d "initial import" Change-Id: Ic931b99267bb6501f15119636f13391f1d065ed4
* Reduce INetMIMEMessage::EnableAttachChild to its only use caseStephan Bergmann2015-09-101-1/+1
| | | | Change-Id: I67221408d6b9d2aee942ca8bd39ca51da0209551
* convert Link<> to typedNoel Grandin2015-09-042-6/+4
| | | | | | | Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* make Link<> typedNoel Grandin2015-08-312-3/+2
| | | | Change-Id: I8949a92792df892b7f360e6b9979c8f61c702ce3
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-314-10/+10
| | | | Change-Id: If06eb179be6dd00a14d8920e303af37b53e22bdc