summaryrefslogtreecommitdiff
path: root/basctl
AgeCommit message (Collapse)AuthorFilesLines
2015-10-12convert Link<> to typedNoel Grandin6-13/+9
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-06Prefer getSelectedFiles to getFiles (basctl)Julien Nabet3-6/+6
Change-Id: I09cdad8770eba515c36220fbfb355220c9fa3bef Reviewed-on: https://gerrit.libreoffice.org/19217 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-05Called C++ object pointer is null DBG_ASSERT->assertCaolán McNamara6-13/+12
Change-Id: I3094fc1728135fb9e8b229826cd2e30925e89b11
2015-10-05clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+2
Change-Id: I886253de9980082186c41d361eb5a30e5f3923bc
2015-10-05clang-analyzer-deadcode.DeadStoresStephan Bergmann1-3/+3
Change-Id: I039fa6b7fb666b4108b37d5aa17b2dcd42d2af53
2015-10-02Remove some unused includesStephan Bergmann1-1/+0
Change-Id: I4701ecd6be7dae64994397007fe13f30b6d7f64f
2015-10-02tdf#94205 Use o3tl::make_unique instead of new + std::movebureken1-3/+1
Change-Id: I27ed3c3fb826e7ce63b0bc12f7d17e18b21c9949 Reviewed-on: https://gerrit.libreoffice.org/19071 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-01remove old standalone Sun bug numbersNoel Grandin2-7/+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-30Fix typosAndrea Gelmini3-3/+3
Change-Id: Ie0e941d48457d758525353d6c5cf858652f86fd3 Reviewed-on: https://gerrit.libreoffice.org/18938 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann4-17/+17
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-29tdf#94559: first step to remove rtti.hxxOliver Specht1-2/+2
replaced use of PTR_CAST, IS_TYPE, ISA in avmedia, basctl, basic, cui, dbaccess, vcl,xmloff Change-Id: If4496762e82e896b6fbc362e6626502703c245f5 Reviewed-on: https://gerrit.libreoffice.org/18905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-25tdf#94497 UI: Object catalog not available in menu > View in BasicIDECor Nouws1-0/+2
Change-Id: I996723cf3af8365d078103bb54d469f7a2c735fe Reviewed-on: https://gerrit.libreoffice.org/18838 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-24convert Link<> to typedNoel Grandin2-6/+4
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-21hide ScopedPtr::reset and add disposeAndClearCaolán McNamara1-3/+2
Change-Id: I55d6e789abd408b8478a2b9ae141d8899af2c309 Reviewed-on: https://gerrit.libreoffice.org/18745 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-20convert Link<> to typedNoel Grandin2-11/+5
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-18boost->stdCaolán McNamara11-25/+20
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>
2015-09-17convert Link<> to typedNoel Grandin2-3/+2
Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641
2015-09-14boost->stdCaolán McNamara10-21/+19
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c Reviewed-on: https://gerrit.libreoffice.org/18564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-13Revert overly aggressive removal of include statementsStephan Bergmann11-1/+15
...from 4758ab313de3cb2c8cb9ea5792425a808e94b7df "Removed useless includes in basctl/source/basicide/ tree" Change-Id: I754b964baf4c8a48f6ca79d6a214bab1f3325b6d
2015-09-13Use move semanticsStephan Bergmann4-30/+30
Change-Id: I9ba8265044d0f83afe44b6965b78cc733cace653
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin2-19/+19
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-11convert Link<> to typedNoel Grandin2-4/+4
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
2015-09-10no need to warn anymore as we can save VBA nowMarkus Mohrhard3-11/+0
Well we will be able when this feature hits master. Change-Id: I5547863e9002bfe16119a26059fa5281bd9e9070
2015-09-09convert Link<> to typedNoel Grandin4-10/+9
Change-Id: I2f36a123662488ef5534f7bf0845d61e497fb0ec
2015-09-09convert Link<> to typedNoel Grandin2-7/+5
Change-Id: I2aeda615e39db5a3cd39e168db34425e2912be8b
2015-09-09convert Link<> to typedNoel Grandin2-4/+2
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
2015-09-08convert Link<> to typedNoel Grandin2-4/+4
Change-Id: I4cbb32b6801386f0bef61f9f5c7cde7306c8b9f2
2015-09-08convert Link<> to typedNoel Grandin7-20/+13
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-04convert Link<> to typedNoel Grandin2-9/+4
Change-Id: I743c74b134552eefb14d35e54491494160f1ffbd
2015-09-04convert Link<> to typedNoel Grandin4-9/+6
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03convert Link<> to typedNoel Grandin2-4/+2
Change-Id: Ic15d0539aa00b46694a1715b6dda9d78bb1c00d8 Reviewed-on: https://gerrit.libreoffice.org/18269 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03convert Link<> to typedNoel Grandin2-3/+2
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83 Reviewed-on: https://gerrit.libreoffice.org/18258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-02SetXXX(bool) with a default value of false are just wrongNoel Grandin1-1/+1
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-31convert Link<> to typedNoel Grandin2-5/+2
Change-Id: I53b0a7a9875a3ebcca915c8f2d8c53face6f9509
2015-08-29o3tl/cow_wrapper: remove boost dependencyDaniel Robertson1-1/+1
Remove boost dependencies from ::o3tl::cow_wrapper, and add the necessary includes to files including checked_delete and noncopyable that do not already include the necessary files. Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686 Reviewed-on: https://gerrit.libreoffice.org/18125 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-28make PostUserEvent Link<> typedNoel Grandin1-5/+4
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-26Clean up aEmptyStrStephan Bergmann1-2/+1
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin11-48/+33
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-25simplify, IsEmpty() checks both Right and Bottom alreadyNoel Grandin1-3/+1
Change-Id: I81fa9f80593bdea5098215f71c44b35e0087a6fc
2015-08-22tdf#93077 - basic dialog localization issues.Michael Meeks1-14/+22
Don't remove non-existent languages to clean the dialog. Avoid crashing when adding languages to a non-localized dialog. Change-Id: Ie356177e00e56c214727d513ae0ce6d62d32591c Reviewed-on: https://gerrit.libreoffice.org/17929 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-20avoid autocorrection misreplacingLaurent Godard1-1/+1
takes the last token in case of chained "." instead of the first one to avoid aa.b. autocorrects (wrongly) to aaaa. Change-Id: Ibca68850282a0d3aec67ca518bdcbf1da676e155 Reviewed-on: https://gerrit.libreoffice.org/17858 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-18avoid basic ide crash in code autocompletionLaurent Godard1-0/+11
due to code completion and user defined types type MyType a as string b as string end type dim aa as MyType typing aa.b. the last point led to crash remaining problem code autocorrection now shows wrong behaviour as aa.b. autocorrects (wrongly) to aaaa. Change-Id: I3e05680cd9d82f7dc124c5923f9858e22961896e Reviewed-on: https://gerrit.libreoffice.org/17824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-17o3tl: rename compat_functional headerThorsten Behrens2-2/+2
After the cleanup, the stuff there really stands on its own (and the remaining usage of select1st/2nd is more descriptive than lambdas). Change-Id: I0aba131d5dc550189f8130d167dc94167e404540 Reviewed-on: https://gerrit.libreoffice.org/17806 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-16sal_uLong to sal_Int32/longMatteo Casalin2-6/+6
Change-Id: Ia4ae190da37351b8c2b7ee9fc953508c5b1ab062
2015-08-16sal_uLong to sal_uInt32Matteo Casalin3-10/+10
Change-Id: Ifcde090747127680a9e4b810ff062d024663632c
2015-08-16Use constants instead of (possibly wrong) magic numbersMatteo Casalin1-2/+2
Change-Id: I0829d271337b9fe77341c62a1c2ef4d6ae62c727
2015-08-16Rework loops so to have exit condition on correct unsigned valueMatteo Casalin1-6/+5
Change-Id: I91e647d6b1aebe8342f95c88fc81bd2c5a43ce71
2015-08-16sal_uLong to sal_uInt32 as TextPaM paragraph numberMatteo Casalin2-10/+10
Applied also to related functions. Also fix a couple of minor issues while at it. Change-Id: I615094d047c87a0f4854054e720492d3ab25c575
2015-08-14loplugin: defaultparamsNoel Grandin12-42/+42
Change-Id: I89796134a0cce33279ba7f02492857a656e8aee3
2015-08-10tdf#93065 Swap next and previous buttons in find toolbarYousuf Philips1-1/+1
Change-Id: Ie07364696175038130cb5b94fbad39b88e646921 Reviewed-on: https://gerrit.libreoffice.org/17473 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>