summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2016-07-19improve unnecessaryoverride pluginNoel Grandin2-8/+0
to ignore ImplicitCastExpr when calling superclass method Change-Id: I76a3068446acfee85aa1baeb216e57f63c7099c1 Reviewed-on: https://gerrit.libreoffice.org/27279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-18dynamic_cast followed by static_cast and elide some casts when possibleCaolán McNamara3-30/+20
Change-Id: Ib7d303bc18aebaa562bb380a8f3ab7d9fddcbca9
2016-07-18odd SvxBitmapCtl is used in only one placeCaolán McNamara1-20/+0
Change-Id: I82a4c8f2e36153b0bc59571ce39956637e278fcb
2016-07-18SvxBitmapCtl::nLines is never readCaolán McNamara1-2/+1
Change-Id: Ib03eb766b1f45247204e64543dbf80c24f8608c7
2016-07-15Improve loplugin:unnecessaryoverrideStephan Bergmann3-68/+0
<sberg> thorsten, remember what that "TODO" in SvxAccessibleTextPropertySet::getSupportedServiceNames was to be about exactly, in a909acb7009acadffa53e74ea05ddb88803490f1 ? <thorsten> sberg: that's a nonsense, prolly copy'n'pasted, or a 'please review me' <sberg> thorsten, OK, thanks (that override will eventually go away with loplugin:unnecessaryoverride, and the TODO comment be lost) Change-Id: Iba964c61768459aac4067bbd4e1f7d4f78f6adac Reviewed-on: https://gerrit.libreoffice.org/27232 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-15new loplugin unnecessary overrideNoel Grandin21-135/+2
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb Reviewed-on: https://gerrit.libreoffice.org/27135 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-15svx: extend README about VC/VOC/OCMiklos Vajna1-4/+8
Change-Id: I48f47e203fb6b5c7adf553b33b26eb2ffef1f926 Reviewed-on: https://gerrit.libreoffice.org/27190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-07-14[GSoC] Avoid reload of preset list in hatch tabRishabh Kumar1-2/+5
Change-Id: If2acb6df3c046de63b6b4069474e19fb87222a11 Reviewed-on: https://gerrit.libreoffice.org/27167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-14tdf#62525 vcl: use cow_wrapper for ImpXPolyPolygonXisco Fauli2-59/+18
Change-Id: Ida272942d2fdb0a4a7d4906bbbc2423b459591ac Reviewed-on: https://gerrit.libreoffice.org/27170 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-13Resolves: tdf#100340 make compress graphic dialog less wideCaolán McNamara2-199/+242
'regression' seems harsh, its not so wide it didn't fit on a reasonable sized screen or look particularly horrific. Change-Id: I20d55b8aac609ee0d683eb9a1c2b173aa0c9d8da
2016-07-13tdf#62525 vcl: use cow_wrapper for ImpXPolygonXisco Fauli2-68/+29
Change-Id: If3596f7b2b546f360774e995867d18c9ba543737 Reviewed-on: https://gerrit.libreoffice.org/26785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-12new loplugin fragiledestructorNoel Grandin4-5/+5
fix up a small number of places that it finds Change-Id: Iedc91e141edfb28f727454f698cd2155a7fd5bf4 Reviewed-on: https://gerrit.libreoffice.org/26566 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-11Fix a SolarMutex assertCaolán McNamara1-1/+1
take the document of https://bugs.documentfoundation.org/attachment.cgi?id=125819 select the text shape and use file->edit and the solarmutex assert happens inside SetTextToSelected_Impl so move the mutex up a little Change-Id: I972c4886a200a87ed10f49e36937defdbf5d9525
2016-07-11Remove these from the customization dialogSamuel Mehrbrodt1-6/+6
Looks like copy&paste, no need for these to be here (have no label also) Change-Id: Iad51bf19d01635f787e2a3f76a32fecaeb9bb656 Reviewed-on: https://gerrit.libreoffice.org/27113 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-11GSoC notebookbar: added image tab in the WriterSzymon Kłos1-0/+10
Change-Id: Id72bf97fe31625c63bb16b7796c22661cb6fe008 Reviewed-on: https://gerrit.libreoffice.org/27109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-11tdf#75280 Cleaning up of sal_uIntPtr usage #3tymyjan1-14/+14
Change-Id: I465d126652f4dd21c19ee6730466719445d835b3 Reviewed-on: https://gerrit.libreoffice.org/27074 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-10Remove redundant SvxGet* wrappers around LinguMgr functionsStephan Bergmann1-4/+4
Change-Id: Ic431ce4880d0c1277ddb411ca59b3c8e8ca36518
2016-07-10Related: tdf#100632 naming consistencyCaolán McNamara1-2/+2
Position X/Position Y in dialog vs. Horizontal/Vertical in Sidebar Change-Id: Ib5e1eb6dd891bd8817acf2de8f83790043b6d6cb
2016-07-09Resolves: tdf#100809 Paragraph styles drop-down listCaolán McNamara1-1/+3
Change-Id: I9453c3c877dcd39268f7c910e8918947bdeb8fd4
2016-07-08Add XBitmapList to SvxPresetListBoxRishabh Kumar1-0/+5
Change-Id: I163e39c7e2830164059e22d5dbc4249c84e3dffc Reviewed-on: https://gerrit.libreoffice.org/27023 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-08loplugin:vclwidgetsStephan Bergmann1-0/+1
Change-Id: I6dac37005782042e2599a2895600c1bfede90beb
2016-07-08loplugin:loopvartoosmallStephan Bergmann1-2/+2
Change-Id: I43bf298321c905514602e3c73d2d6a719e8d81cc
2016-07-08Resolves: tdf#100452 class Date full (BCE,CE) proleptic Gregorian calendarEike Rathke1-2/+1
... implementing signed years with year 0 gap. Date(31,12,-1) last day BCE Date(1,1,1) first day CE New class Date member functions: * AddYears(sal_Int16) to be used instead of aDate.SetYear(aDate.GetYear()+sal_Int16) to handle year 0 gap. * convenience GetNextYear() to be used insted of GetYear()+1 * convenience GetPrevYear() to be used insted of GetYear()-1 * AddMonths(sal_Int32) * operator=(const css::util::Date&) New class DateTime member functions: * operator=(const css::util::DateTime&) Made some conversion ctors explicit, specifically Date(sal_Int32) Adapted hopefully all places that used a sal_uInt16 year to use sal_Int16 where appropriate. Eliminated some quirks in date handling found on the fly. Added era handling to i18npool icu calendar setting interface, which missing was responsible for 0001-01-01 entered in Calc being set as -0001-01-01, hence subtracting one day resulted in -0002-12-31. Change-Id: I77b39fba9599ebd5067d7864f6c9ebe01f6f578f Reviewed-on: https://gerrit.libreoffice.org/27049 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-08tdf#87643: Default Shapes Panel for Shapes DeckSusobhan Ghosh8-1/+900
Change-Id: Ib3d4a32e70b6dc2ae0898846a27d3ffcb43c2a75 Reviewed-on: https://gerrit.libreoffice.org/26770 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-08Make bitmap preset preview resizableRishabh Kumar1-2/+68
Change-Id: I733994c93b598a357dfe24c525d74978d3f70237 Reviewed-on: https://gerrit.libreoffice.org/27011 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-08loplugin:redundantcast: redundant static_casts in svxStephan Bergmann3-3/+3
Change-Id: I50ddaa998d28de04416f6406cc165fa863594a5c
2016-07-07tdf#50613 add support to load charts asynchronouslyArmin Le Grand1-0/+5
Generating primitives for chart visualisation can be moved to a paralell executed task that loads the chart, thus speeding up initial visualization. This is not possible for e.g. PDF or print targets, only for edit visualization. On fallback, the replacement images of the charts are used which are metafiles and have less quality as primitives, but load quicker. Change-Id: I68caa9e1bec50832bce535b5f54633d53cdef037
2016-07-07Revert "Add XBitmapList to SvxPresetListBox"Rishabh Kumar1-5/+0
This reverts commit a38901295082ff72948a18fe9c82c37973061490. Change-Id: Ibfee6df54c24baf8b4e9cfc47be3f12e0ebd82a4 Reviewed-on: https://gerrit.libreoffice.org/27020 Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in> Tested-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-07Add XBitmapList to SvxPresetListBoxRishabh Kumar1-0/+5
Change-Id: I104463039f3aad5d19b3badca9a104021acf3b94 Reviewed-on: https://gerrit.libreoffice.org/27012 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-07Increase spacing between SvxPresetListBox entriesRishabh Kumar1-1/+1
Change-Id: Ia92ab9afd2cba5b5f327eb6ff722ea51ae5dba2f Reviewed-on: https://gerrit.libreoffice.org/27018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-07Change fill styles correctlyRishabh Kumar1-1/+1
Change-Id: I0a20693d5db1df5f560acdf014aee05360854e9b Reviewed-on: https://gerrit.libreoffice.org/27016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-07loplugin:passstuffbyref also for {css::uno,rtl}::ReferenceStephan Bergmann6-13/+13
Change-Id: Ie219b6b6cc876cb46faadd7aa9c4f997702781bb
2016-07-07FloatWinPopupFlags::NoFocusClose is only set, never readCaolán McNamara1-1/+1
Change-Id: Ide67b9279b626d3427c93891d27378ffd1f004cc
2016-07-06Add XGradientList to SvxPresetListBoxRishabh Kumar1-3/+14
Change-Id: I0b4af0eb465b997e8bea012b1f2e3cc07cce6ddb Reviewed-on: https://gerrit.libreoffice.org/26953 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06Make gradient UI bitmap resizableRishabh Kumar1-3/+13
Change-Id: Icaa06911a620697d86a8854ba6bc46874c195b97 Reviewed-on: https://gerrit.libreoffice.org/26949 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06Resolves: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if...Caolán McNamara1-15/+22
the master page is not the sole owner. Which happens when copying and pasting slides which bring along a duplicate master page to an already existing one, and the attempt to remove the duplicate strips the fill properties from the shared stylesheet in use by the other regression from... commit b876bbe2cacce8af379b10d82da6c7e7d229b361 Author: David Tardon <dtardon@redhat.com> Date: Tue Apr 26 09:17:11 2016 +0200 rbhz#1326602 avoid exp. bg bitmaps from deleted slides Change-Id: I91fb8f622a0e35741ecc37cef14fc93199bb730b
2016-07-06restore loplugin:vclwidget checking for calling clear() on VclPtr fieldsNoel Grandin3-0/+79
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405 Reviewed-on: https://gerrit.libreoffice.org/26806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05when disposing popup menus, don't leave dangling pointersNoel Grandin1-3/+2
Change-Id: Ia1b49937ba0693a567097367b99b75a3011666bf Reviewed-on: https://gerrit.libreoffice.org/26960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05use a dynamic library for minidump shared codeMarkus Mohrhard2-9/+1
This has the disadvantage to make the minidump_upload executable depend on LibreOffice libraries but there seems to be no other way to make the 7.1 SDK happy. Change-Id: I82c37f503ed29cb50711eae7db22063f49747a48 Reviewed-on: https://gerrit.libreoffice.org/26055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 3498cd3e7b2c820fc3f3025eb4434666a444fda1) Reviewed-on: https://gerrit.libreoffice.org/26915 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-07-05loplugin:loopvartoosmallStephan Bergmann1-1/+1
Change-Id: Idc7b602d27a3198b222f5c9b6dc21b18d101bd45
2016-07-05Icon view listbox for XHatchListRishabh Kumar3-0/+139
Change-Id: I40d39c28bbc217cb63a3857c8a90dba72d196878 Reviewed-on: https://gerrit.libreoffice.org/26896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-04merge sdr::event::EventHandler with sdr::event::TimerEventHandlerNoel Grandin3-53/+21
Change-Id: Id81c6b67d95d976dae417cf225bd43347c716d06 Reviewed-on: https://gerrit.libreoffice.org/26905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04Make hatch UI bitmap resizableRishabh Kumar1-2/+14
Change-Id: I34e1db1f462c87d7b3a2ff9531189bea189b2ce8 Reviewed-on: https://gerrit.libreoffice.org/26894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-04typo: emtpy → emptyChristian Lohmaier1-1/+1
Change-Id: I60cdcdc7fc38c175243c071f34295efa8739b717
2016-07-04sidebar: adaptable paragraph indent icon sizeSzymon Kłos2-5/+1
Change-Id: I4f000ffb3fee660e6bf9efa9592617f1d037f17c
2016-07-04remove comphelper::string::removeNoel Grandin1-1/+1
and replace it with OUString/OString::replaceAll Change-Id: I37b1c3b51251dfd9d749d6f1060c75b3a93d7f1a Reviewed-on: https://gerrit.libreoffice.org/26850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04comphelper::OBaseMutex -> cppu::BaseMutexNoel Grandin6-13/+13
convert usage of deprecated class, and remove the old class Change-Id: I19fb9271090d19e5531622b58492e1a848d306e2 Reviewed-on: https://gerrit.libreoffice.org/26843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-03Grid line color change for SvxPixelCtlRishabh Kumar1-1/+1
Change-Id: I0a7c0f2f8da9323a341fe378dcb7ef596aa133af Reviewed-on: https://gerrit.libreoffice.org/26884 Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-02tdf#100728: Crash when area dialog is openedRishabh Kumar1-1/+1
Change-Id: I2246c5bf3a1d33e7a08fa9062e568a4c95fef571 Reviewed-on: https://gerrit.libreoffice.org/26875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-01svx lok: add LOK_CALLBACK_GRAPHIC_VIEW_SELECTIONMiklos Vajna1-0/+10
So a view can be aware where the graphic selections of other views are. Change-Id: I0cc420cfe4bf3824fbfa1a58da889cac5e9a7b60 Reviewed-on: https://gerrit.libreoffice.org/26863 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>