summaryrefslogtreecommitdiffstats
path: root/basctl
Commit message (Collapse)AuthorAgeFilesLines
* sequence->vector in xmlscriptNoel Grandin2016-04-051-1/+2
| | | | | | | Change-Id: I4f99cd9dc659f54bd4818559dd3e0dbce1e8f5d4 Reviewed-on: https://gerrit.libreoffice.org/23795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* cppcheck: noExplicitConstructorCaolán McNamara2016-04-041-2/+4
| | | | Change-Id: I9510a16bf4ac5dd2c3da16c618841918daea8cfb
* tdf#94306 replace boost::noncopyable in ..Jochen Nitschke2016-04-043-7/+10
| | | | | | | | | | .. accessibility, avmedia, basctl, basic and bridges remove boost from module if not needed anymore Change-Id: I6177f8276766a0a7df1703e81bf1b448912df6e2 Reviewed-on: https://gerrit.libreoffice.org/23744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* cleanup: remove unused Reference.h(xx) includesJochen Nitschke2016-04-021-2/+0
| | | | | | | | | and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* tdf#97966 Drop 'static' keywordsWastack2016-04-011-1/+1
| | | | | | | | | Including no keywords from extern "C" blocks Change-Id: Id0304994a692f1004993dda2ffd7fb819ab8e8d0 Reviewed-on: https://gerrit.libreoffice.org/23670 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#97525 vcl: make DeletionListener internalJochen Nitschke2016-03-311-1/+0
| | | | | | | | | | | | move include/vcl/impdel.hxx to vcl/inc/ include impdel.hxx in salframe.hxx remove vcl/impdel.hxx includes in pch add missing <list> includes Change-Id: Id146363b2e20ce0238542929c26a83efb1e8c4bd Reviewed-on: https://gerrit.libreoffice.org/23664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* sfx2: make SfxDispatcher::Execute() less variadic ...Michael Stahl2016-03-316-36/+36
| | | | | | | | | | | ... and less overloaded; C++11 initializer_list should make undefined behavior as fixed in ba0a866b83f016fd460320e7d057dd107e019f19 less likely. Change-Id: I15cc0804451b6a4fcbfaa623f9a30db222207865 Reviewed-on: https://gerrit.libreoffice.org/23666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* use SAL_N_ELEMENTS in for loopsNoel Grandin2016-03-311-1/+1
| | | | | | | | | | for with git grep -n 'for.*sizeof' Change-Id: I6211024385e03ac5eeeb38690d2c1c699e015c2f Reviewed-on: https://gerrit.libreoffice.org/23569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#96505: fix wrong SfxDispatcher::Execute calls ...Michael Stahl2016-03-306-15/+29
| | | | | | | | | | | | | | ... that are now busted on all 64-bit platforms since commit 57d0caacee2f395be2e89b78f8ece2d47b2c8683 but were already busted only on 64-bit WNT before. SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode eCall, const SfxPoolItem* pArg1, ...) assigns the varargs to a "const SfxPoolItem *", so passing in "0L" is only correct if long is 64-bit, but on WNT 64-bit long is 32-bit, so use "nullptr" already. Change-Id: I50448d8ad121c4881be549623d44c44b00e56d98
* loplugin:constantparam in basctlNoel Grandin2016-03-233-4/+4
| | | | Change-Id: I08ab924a9bb69bede4247cfe8c50921520a4f4a7
* convert SvButtonState to scoped enumNoel Grandin2016-03-181-3/+3
| | | | Change-Id: I601f9e2fe33e85cf3f7dc52ee20d68202bd2b09d
* drop unused params from SvLBoxItem and all it's subclassesNoel Grandin2016-03-181-3/+3
| | | | | | | | looks like this is fallout from commit ac7acb0a "Merged SvTreeListBox and SvLBox." (in year 2012) Change-Id: Iaebeae64fc7cd3ba11f5f45b53bcb65bf906e906
* loplugin:constantparam in sfx2Noel Grandin2016-03-172-2/+2
| | | | | | | Change-Id: I53e690ab8d50fb3ce43ba633fc018e7b66e591cd Reviewed-on: https://gerrit.libreoffice.org/23321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparam in toolsNoel Grandin2016-03-171-3/+3
| | | | | | | Change-Id: I3774661799c074561c694515baba42a375d0a077 Reviewed-on: https://gerrit.libreoffice.org/23301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparamNoel Grandin2016-03-159-24/+23
| | | | Change-Id: I270e068b3c83e966e741b0a072fecce9d92d53f5
* tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar2016-03-121-7/+0
| | | | | | | | | | I removed the OSL_DEBUG_LEVEL > 1 conditional and replaced it to OSL_DEBUG_LEVEL > 0 as suggested in easy hack. Change-Id: If5f086f280d01e7a80be59f3c992dc2d0a7663cf Reviewed-on: https://gerrit.libreoffice.org/23062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* Resolves: tdf#95428 backspace in readonly macro editor hangsCaolán McNamara2016-03-091-4/+3
| | | | Change-Id: I16568b00e92d18f32818188ba3ab8df92bbd13aa
* loplugin:constantparam in basctlNoel Grandin2016-03-092-15/+9
| | | | Change-Id: I07d22585e768335f61d70bf18807479a2675804a
* drop now-needless depsDavid Tardon2016-03-071-4/+0
| | | | Change-Id: I2ef0b873a58710de399889cee3abf6b6ecf4fb1e
* remove remaining uses of gb_SrsTemplateTarget_get_targetDavid Tardon2016-03-071-1/+0
| | | | Change-Id: I5ddf0ba5fc289a124b39b9c14b7f5fdd3d7b54a4
* these ResIds are used solely for their number by nowCaolán McNamara2016-03-071-1/+1
| | | | | | so cut out the middle-man ResId Change-Id: Ic83db355cc1a0c7dc70958bca79b466baadaedd0
* tdf#96505 Remove long integer literal specifier when not neededAleksas Pantechovskis2016-03-046-17/+17
| | | | | | | | | | Remove L from integer literals if it does not produce warnings and does not change semantics Change-Id: I9573a47d3e3401993a1f0fbcf7df4be20f9e6eba Reviewed-on: https://gerrit.libreoffice.org/22867 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unuseddefaultparams variousNoel Grandin2016-03-031-1/+1
| | | | | | | Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546 Reviewed-on: https://gerrit.libreoffice.org/22852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* convert HighlighterLanguage to scoped enumNoel Grandin2016-02-241-1/+1
| | | | Change-Id: Ibf0871601e52ea4fa49e9622176431943c55abdd
* convert TokenTypes to scoped enumNoel Grandin2016-02-243-28/+29
| | | | Change-Id: I17c0a616dd6cf48a22896b6cd6b0df157d1f9a9f
* tdf#93837 Convert RID_POPUP_DLGED to xmlMaxim Monastirsky2016-02-216-19/+24
| | | | Change-Id: I0588063aef397ee95923ad5acd332bc6052fafc7
* use consistent #define checks for the Windows platformNoel Grandin2016-02-171-1/+1
| | | | | | | | | | | | stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#95857 Sort out German plurals ...danielt9982016-02-124-21/+21
| | | | | | | | | Made a start in removing the incorrect 'Infos' German plural Change-Id: Ie989351a7473fc35b563e63ce6a4fb229093af60 Reviewed-on: https://gerrit.libreoffice.org/22301 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Remove excess newlinesChris Sherlock2016-02-0919-122/+0
| | | | | | | | | | | | | | | | | | | A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* vcl: cmdevt.[hc]xx -> commandevent.[hc]xxChris Sherlock2016-02-081-1/+1
| | | | | | | Change-Id: I77b30f28ae5a6fad360d7cada9acfaa9c324408b Reviewed-on: https://gerrit.libreoffice.org/22216 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
* remove unused HelpText attribute from *.sdi filesNoel Grandin2016-02-081-1/+0
| | | | Change-Id: I21bcf66c552cd38eaae1bdc85626aa9bd1782ebd
* remove unnecessary module GUIDs in *.sdi filesNoel Grandin2016-02-081-2/+0
| | | | Change-Id: I78784abc1031027d69bbe31d150bc78c8bfbfcf4
* vcl: split exception types from input typesChris Sherlock2016-02-061-5/+15
| | | | | | | Having them in the file apptypes.hxx isn't necessary helpful, IMO so I've split the types into inputtypes.hxx and exceptiontypes.hxx Change-Id: I89a1ff168c3ae276b2f5486669d4ec2dda062d57
* Fix typosAndrea Gelmini2016-02-052-3/+3
| | | | | | | Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* remove unused UUID and VERSION from .SDI filesNoel Grandin2016-02-051-6/+0
| | | | Change-Id: Ieb3e47c10c497a6f642f28a6741ac0fd2ecfd419
* remove unused Automation from .SDI filesNoel Grandin2016-02-051-2/+2
| | | | | | | Change-Id: I65e1ca6e022dc76ac96ed75da2c5e78e9356a3e9 Reviewed-on: https://gerrit.libreoffice.org/22107 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* vcl: take into account the font width is the average font widthChris Sherlock2016-02-045-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | I'm changing the Font class function names: - SetSize -> SetFontSize - GetSize -> GetFontSize - SetHeight -> SetFontHeight - GetHeight -> GetFontHeight - SetWidth -> SetAverageFontWidth - GetWidth -> GetAverageFontWidth That's because it really makes no sense to say that there is a single constant font width because obviously proportional fonts don't have one - the best we can do is an average font width, which is what folks like Microsoft sort of do already. On a fixed font, the average is still accurate, for obvious reasons :-) I'm also not a fan of GetSize/SetSize as I find it a might too generic. Change-Id: Ib80a604ba62d6883fd6cbc7994da763976be5c70 Reviewed-on: https://gerrit.libreoffice.org/22069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* boost::hash->std::hashNoel Grandin2016-02-021-1/+0
| | | | | | | Change-Id: If4d1e4071995f07212fad958b0226d5824d168f8 Reviewed-on: https://gerrit.libreoffice.org/21989 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* sequence->vector in PrinterOptionsHelperNoel Grandin2016-01-311-1/+1
| | | | | | | Change-Id: I643519397a4e714e3407ec0c3a10d329654b9f7d Reviewed-on: https://gerrit.libreoffice.org/21887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* vcl: add text alignment functions to ImplFont and FontAttributesChris Sherlock2016-01-292-4/+4
| | | | | | | | | | | | | | | | | ImplFont and FontAttributes now have GetAlignment and SetAlignment, and I have renamed Font::GetAlign to Font::GetAlignment, and Font::SetAlign to Font::SetAlignment. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test text alignment. Change-Id: I6272c84fc9416c90616d957d1897eba9469fe7ba Reviewed-on: https://gerrit.libreoffice.org/21876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* Unwind trivial AccessibleExtendedComponentHelper_BASE typedefsStephan Bergmann2016-01-274-16/+10
| | | | Change-Id: I74b30cba1359045873a3d7a3f0e72f857ffa0ed0
* tdf#96683 Move tabs in Basic IDE to an own rowSamuel Mehrbrodt2016-01-223-46/+7
| | | | | | | | | So that the tab height does not depend on the scrollbar height (which is subject to the desktop theme) Change-Id: Ie2d787528152aed92c9943fe76955bf499d7d2a9 Reviewed-on: https://gerrit.libreoffice.org/21707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* basebmp now only used from vcl/headless codeCaolán McNamara2016-01-181-3/+0
| | | | Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d
* loplugin: unused return valuesNoel Grandin2016-01-183-22/+11
| | | | | | | Change-Id: I9c61a46c57894bc63a57740206c0bcb4a16553af Reviewed-on: https://gerrit.libreoffice.org/21571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* drawmodes header goneCaolán McNamara2016-01-181-1/+0
| | | | Change-Id: Ia1b9ad96dbe41bebc5c2819385950a6d2980608b
* vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock2016-01-171-1/+1
| | | | | | | Change-Id: Ie20871a3078bf875c1782b7761d60591a9c9704f Reviewed-on: https://gerrit.libreoffice.org/21529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* revert vcl patch series that brok Mac and WindowsNorbert Thiebaud2016-01-161-1/+1
| | | | | | | | | | | | | | | | | | revert: 9bc2f3de8672e812f3a67541c6d7069b434a7e42 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight() 26371f105bc44e04469ec03fc5bb12505e651c6b vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic() 2dd0b4317372b8022efe3911b38b4fa02956d8b9 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual 5ab13bf3ead3539e4ad847656da81e7eb6029652 vcl: tabify font.hxx f99550dae55e40e49bf9c9875053fe2abb4c71ca vcl: change Font::SetName() to Font::SetFamilyName() 2b297116cb6bb1061c43e5714e2609c8ee9f57d2 vcl: rename Font::GetName to Font::GetFamilyName Change-Id: I23f38921187d66b970ca815eb30dda4222a2da62
* BASIC : Remove useless methods in StarBasicArnaud Versini2016-01-161-1/+1
| | | | | | | Change-Id: I9e8ce92b967ee9c9485b7af15280f6a212ff599d Reviewed-on: https://gerrit.libreoffice.org/21498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock2016-01-161-1/+1
| | | | | | | Change-Id: I83927e0992dfe0a2a79d139818a9f45d3761aae5 Reviewed-on: https://gerrit.libreoffice.org/21509 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
* loplugin:privatebase: Make derivation from noncopyable explicitly privateStephan Bergmann2016-01-111-1/+1
| | | | Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127