summaryrefslogtreecommitdiff
path: root/fpicker
AgeCommit message (Collapse)AuthorFilesLines
2015-11-20loplugin:unusedfields forms,formula,fpicker,frameworkNoel Grandin2-4/+1
Change-Id: Ic7af56ac801c1e5b3fcf3c4e8413656e96220279
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin1-3/+1
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17loplugin:unnecessaryvirtualNoel Grandin1-2/+2
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann2-4/+4
Change-Id: I82bb9471479523d68641fd815da1208f0d45b8a8
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin1-3/+1
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin1-6/+2
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>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin3-12/+6
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin2-4/+2
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>
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann8-42/+42
Change-Id: I14ed4aa3cfc52dcb9a75de2364074dec18be3d5d
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann11-103/+103
Change-Id: I7f32320f38be2bb4f62b57e856e93cff708d5ee0
2015-11-09Prevent += called on temporary O[U]String instancesStephan Bergmann1-9/+7
...found regression e31205f3ec1f941ab5a188bfde6329edf2acc55b "EditUndoRemoveChars::GetStr must return a reference" and dubious code 0e23f7b0839df68d277186b4df54ba391ac3406a "Lets assume this doesn't want to update m_pForcedPrefix->GetText() anyway" in addition to the apparent sillies directly fixed in this commit. Introduces HAVE_CXX11_REF_QUALIFIER. Change-Id: I564e98254fd53c1dd9b34193d7057c59721ee24c
2015-11-09Replace a few for_each and one-liner locals by range-based loops in fpicker.Mario J. Rugiero1-67/+6
Change-Id: I07cb510b8c8ab195d5d3addb715cfb0af488ab9b Reviewed-on: https://gerrit.libreoffice.org/19849 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann4-10/+10
Change-Id: Ib9c9daa113fecff495a51dca1bfaace1239b6ebc
2015-11-02use uno::Reference::set method instead of assignmentNoel Grandin3-11/+8
Change-Id: I3d94c94a9829161663a7ed18421ace38ce95a659 Reviewed-on: https://gerrit.libreoffice.org/19733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-01no need to be so verbose in constructing uno::ReferenceNoel Grandin1-2/+2
Change-Id: I187a26e200e9ecaff2adaf53a2ba3f6e87346030 Reviewed-on: https://gerrit.libreoffice.org/19724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-01no need to use OUString constructor in call to createInstanceNoel Grandin2-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>
2015-10-21more removal of com::sun::star typedefsNoel Grandin5-9/+5
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-21remove untyped Link<>Noel Grandin1-3/+1
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-19loplugin:defaultparamsStephan Bergmann2-9/+9
Change-Id: I6372cf755a78772094bf5fdcb076cc6ea395fc89
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin1-1/+1
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-16convert Link<> to typedNoel Grandin5-11/+6
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15convert Link<> to typedNoel Grandin2-4/+2
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14convert Link<> to typedNoel Grandin6-11/+9
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-14com::sun::star->css in fpicker/Noel Grandin54-508/+498
Change-Id: I211687bfeaf456e0f9639567bff401083011cd74 Reviewed-on: https://gerrit.libreoffice.org/19353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann13-198/+198
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann4-8/+8
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin5-16/+10
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-06tdf#94811: Crash in Open Remote File dialog fixedOliver Specht1-1/+1
Edit control needed a disposeAndClear instead of a clear Change-Id: I24f4ec8c391080cb83574949cc141c883b43cfb9 Reviewed-on: https://gerrit.libreoffice.org/19185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-05Remember password after setting new serviceSzymon Kłos1-2/+4
Change-Id: I14ba319307f74b24fa474e742504b70c46539a08
2015-10-05Focus for file list after opening folderSzymon Kłos1-0/+2
Change-Id: Ibac322b873315fd8a0ec63c930f4c76562a5e704
2015-10-05Focus for file name field after using it to open folderSzymon Kłos1-0/+3
Change-Id: Ic3ae0c899c5feea659d22100f98dbeca4df217eb
2015-10-02tdf#57370 : Open place after pressing 'Enter'Szymon Kłos2-0/+19
Change-Id: Iabcf17b71b3fe06a25bb7b0e7f3aa65ad0663e69 Reviewed-on: https://gerrit.libreoffice.org/19085 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-01Fix typosAndrea Gelmini5-9/+9
Change-Id: Id94c03249b2752e88499628b3ad12936b361bb2f Reviewed-on: https://gerrit.libreoffice.org/18950 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01remove old standalone Sun bug numbersNoel Grandin3-11/+0
Sun bug numbers without any accompanying text are completely useless. Fixed with git grep -lP '//\s*#\d+#\s*$' | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print' And then hand-checking the result to restore places where it deleted code. And then some more grepping and hand-editing to kill the others. Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29 Reviewed-on: https://gerrit.libreoffice.org/19023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann1-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>
2015-09-25don't over-expand built-in file dialog on very long paths/namesCaolán McNamara1-0/+2
Change-Id: Ia8167833b54bcfc68f1a306e58a1134a38d64ef6 Reviewed-on: https://gerrit.libreoffice.org/18843 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-24convert Link<> to typedNoel Grandin4-7/+5
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-18boost->stdCaolán McNamara3-10/+9
Change-Id: Idac11d3a634ba0a899db605449c894d4c3a61ead Reviewed-on: https://gerrit.libreoffice.org/18680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-16remove unused Link<> fieldsNoel Grandin2-27/+2
Change-Id: I9898e04da6bebd1e08ab141e43439908fe1860b0
2015-09-15convert Link<> to typedNoel Grandin2-4/+2
Change-Id: I8cd997f55f4c7206358cba9edd3d41dbedd4363f
2015-09-15convert Link<> to typedNoel Grandin4-10/+6
Change-Id: I057969beed6402b2125f4dc719570d324c1df4fc
2015-09-15[API CHANGE] XFilePicker2/3 changes for multiselectionJulien Nabet8-46/+36
In order to use GetSelectedFiles (in XFilePicker2) instead of GetFiles (in XFilePicker), here are some api changes before: XFilePicker3 inherits from XFilePicker XFilePicker2 is not a published interface after: XFilePicker3 inherits from XFilePicker2 XFilePicker2 is a published interface + adapt Uno Implementations Change-Id: If44afaa7236f08bc2b814f91eda5bfad333dd799 Reviewed-on: https://gerrit.libreoffice.org/17068 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-13Simplify SvtFileDialog::appendDefaultExtensionMatteo Casalin1-21/+12
Change-Id: I7d2d2aff6e26b66e73b6ccefdecf095c867d4f7d
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin1-1/+1
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-11tdf#93240: replace boost::ptr_deque with std::deque<std::unique_ptr>Matthew Nicholls3-17/+16
Change-Id: Iba77946a00c6c43c4377b2bae62467581cfed19f Reviewed-on: https://gerrit.libreoffice.org/18468 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-11convert Link<> to typedNoel Grandin6-11/+11
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
2015-09-08convert Link<> to typedNoel Grandin4-8/+5
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-03tdf#57370 : 'Places' in the LibreOffice file dialog is inaccessibleSzymon Kłos2-3/+100
Change-Id: I94ba2fea74703d69e65c0864744ab81ccf205f9c Reviewed-on: https://gerrit.libreoffice.org/17192 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03tdf#93634 repair getDisplayDirectory for Windows filepickerRegina Henschel1-1/+1
Change wrong PROP_FILENAME to correct PROP_DIRECTORY Change-Id: Iab2e16c486f487699e1574ed508539d95884bf9b Reviewed-on: https://gerrit.libreoffice.org/18127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03convert Link<> to typedNoel Grandin4-7/+4
Change-Id: Ic15d0539aa00b46694a1715b6dda9d78bb1c00d8 Reviewed-on: https://gerrit.libreoffice.org/18269 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>