summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2017-02-26Clean up use of integer typesStephan Bergmann
Change-Id: I99b9094524ec00231a3471a5373bd164d61bb2da
2017-02-26Unwind trivial DbGridControl_Base typedefStephan Bergmann
Change-Id: Ie58d1e119af6d98b44f67d65ec2586928c1d3360
2017-02-26Clean up use of integer typesStephan Bergmann
Change-Id: Ief9b377b4352796e19797c397e677e9f8397cc53
2017-02-24prevent crash in PaletteManagerMarkus Mohrhard
Found by the crashreporter: http://crashreport.libreoffice.org/stats/signature/PaletteManager::ReloadColorSet(SvxColorValueSet%20&) Change-Id: I82c5e3f7588615700ec3b5540ac94e331df783bb Reviewed-on: https://gerrit.libreoffice.org/34627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-02-24Bin pointless macroTor Lillqvist
It is hard to see what the programmer thought the gain of using this macro was. It is not any shorter than its expansion. It is also repeated on every one of the lines in question. If such a macro would be useful, shouldn't there be some more global place for it, and shouldn't it be used everywhere then? Why come up with that convention just for this one file? Etc. But yeah, I guess the programmer was guarding against mistyping com.sun.star in some of the lines. As if all those lines would have been manually typed in character by character anyway. Change-Id: I2e4354363181ffa55e0a51832e9799f616a7c9f1
2017-02-21convert writer changes menu to .uiCaolán McNamara
Change-Id: I30a957f91c3faca5e16a70efce08579ac3368bdf
2017-02-21convert calc changes menu to .uiCaolán McNamara
Change-Id: I65c07995ab7a63bcefeb1612e86bf3fedc33f4a5
2017-02-21Translate German variable namesJohnny_M
This is to follow up on the commit 9bbc168c29d3f48839d40173f5467228ce9a7268 by: - Changing "Comma" to "DecimalMark" - Changing "VorComma" (literally "before comma") to "BeforeDecimalMark" Change-Id: I3eff7024df56c701ac721a1e74645c8be764bff4 Reviewed-on: https://gerrit.libreoffice.org/34429 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-02-21loplugin:unusedmethodsNoel Grandin
Change-Id: I52a9f16f3ed543a3c83ca111df70e3f7ae1ef33c Reviewed-on: https://gerrit.libreoffice.org/34508 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-21Resolves: tdf#106099 tweak to restore old behaviourCaolán McNamara
wrt initial default color if none gets set. This doesn't fix the various bizarre things in font and replace by formats, just restore to its historical initial behaviour Change-Id: I82cc3f05d2f205947a140483537baae882e91530
2017-02-21loplugin:subtlezeroinit: svxStephan Bergmann
Change-Id: I41b2379e42710f908ab0b4531a52cfbff980725e
2017-02-21remove unused OBJ_DUMMY from SdrObjKind enumNoel Grandin
Change-Id: I953c81cf477fddf0f136b3b03a6682c962850deb Reviewed-on: https://gerrit.libreoffice.org/34471 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-21Use module name when getting labelsMaxim Monastirsky
Change-Id: I1d5196e1ca888dfb11d5bd6ef4676937dce49fdc
2017-02-21tdf#95844 Refactor CommandInfoProviderRohan Kumar
Instead of a singleton, CommandInfoProvider should just be a set of static methods. Change-Id: I16d4406e361a72f013d78f18d6bd0ae20c0cc5e9
2017-02-20use SvNumberformat::GetMaskedType()Eike Rathke
... instead of manually masking out css::util::NumberFormat::DEFINED Change-Id: I0761132800b2b1693df41085695f36cd3cc1236b
2017-02-20Resolves: tdf#106105 duplicate marks not merged when they are at the startCaolán McNamara
i.e. initial mark isn't compared which goes on to crash under some circumstances regression from... commit aa11e7bae89fe691f914abb27d1c4a03d27a7ee5 Date: Tue Aug 14 16:31:53 2012 +0200 Convert maList in SdrMarkList from Container to std::vector Change-Id: Ib3e9b02aad91c14971656af171d48154507da127
2017-02-20no need for return at endCaolán McNamara
Change-Id: I3fb2cc8d5d1c8853dc35b176030fc5d3292e4756
2017-02-20nBestDist should apparently be updatedStephan Bergmann
missing ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import" Change-Id: If3271b253fbd5c9deda5b0ab8b9e20af6ab2be1b
2017-02-20tdf#103224: Get the initial colour rightKatarina Behrens
Change-Id: I59309f5b433eb7aa92d05ce7d373d69cb413b258 Reviewed-on: https://gerrit.libreoffice.org/34383 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-20sd lok: Support for replying to annotations by idPranav Kant
Change-Id: I9e6416b87300c20969669ee9592f0b560959e160 Reviewed-on: https://gerrit.libreoffice.org/34459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
2017-02-20sd lok: Support deleting annotations by idPranav Kant
Change-Id: Id415fcbe8ad478c022bce23158699a17f031c1f9
2017-02-19coverity#1401345 Uninitialized scalar fieldCaolán McNamara
Change-Id: I7c65e520b45d8b1bbfec2e8631201ebb3ad92829
2017-02-19Typos: mainly translation remnants of Objekt instead of objectJulien Nabet
Change-Id: I84c488a4a0fa96f85158d34035a16aa5e10c7c21 Reviewed-on: https://gerrit.libreoffice.org/34418 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Fakabbir Amin (Aeimi) <fakabbir@gmail.com> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-17tdf#105423 support vertical merged cells.Mark Hung
Handle rtf keyword CLVMGF and CLVMRG and decide rowspan for the first cell. Change-Id: I1bba84a02b0115c5d7ac80e7aedba275fdeef651 Reviewed-on: https://gerrit.libreoffice.org/34312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-02-17tdf#105423 merge cells based on its column edge.Mark Hung
As we have split the row into columns based on all possible edges from different rows in the original table, we need to decide how many columns in the new table is coverted by the cell from original table, by chcking its edge and merging covered cells. Change-Id: Idfd2347765bf658aff90121d24d2154ba28956da Reviewed-on: https://gerrit.libreoffice.org/34311 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-02-17tdf#105423 remove unecessary mnCol and mnColCntMark Hung
mnCol isn't necessary because it always get value from mnColCnt, which is always increased by 1. Change-Id: I373ed27694e91369f3f20b43ee985fee7a0f63f6 Reviewed-on: https://gerrit.libreoffice.org/34310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-02-17tdf105423: make sure column edges are increasingMark Hung
Replacing column edges based on its index doesn't work because each row might have different number of columns. Change-Id: Ib17d41d7e0daab9090670c4a9aba45d79e447622 Reviewed-on: https://gerrit.libreoffice.org/34309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-02-17remove unused None from ErrorCodeNoel Grandin
Change-Id: Iab5bf1a34fa07c851067fe30df875e821583038b
2017-02-16convert EditEngineAttribs to scoped enumNoel Grandin
and drop unused EditEngineAttribs_HardAndPara enumerator Change-Id: Ic1fcddc6adeb5317f96bcef9b6f715b26d901a8d
2017-02-16fix commentsNoel Grandin
Change-Id: Id3aea25d882b68ad81f68fced24f833146c13252
2017-02-16SvxPostItIdItem is now string typePranav Kant
Change-Id: Id44bf5dd623749b6e9a46f121f035aa5ce617557
2017-02-15Related: tdf#105712 inconsistency with num of a11y children in special charCaolán McNamara
with no visible scrollbar it claims 1 child, but trying to get child at index 0 throws Change-Id: Icf1a0afc4a6f6090e3f14f30b4380db477955561
2017-02-15Some simplifications, using UNO_QUERY_THROWStephan Bergmann
Change-Id: I6244b12a85a6cbd8c5945a0b4965c070eed15ed4 Reviewed-on: https://gerrit.libreoffice.org/34256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-15replace SdrMeasureTextVPos with css::drawing::MeasureTextVertPosCaolán McNamara
cause we freely cast from SdrMeasureTextVPos to MeasureTextVertPos and since... commit b0a23c4c35f90ce3cf6a18a37fe141eb33cd5c57 Date: Mon Feb 13 11:06:07 2017 +0200 remove unused BreakedLine enumerator from SdrMeasureTextVPos the numbers don't match eachother anymore Change-Id: Ie4a22179c5f5b7d08af8c1a973b6c64cda83681d
2017-02-15replace SdrMeasureTextHPos with css::drawing::MeasureTextHorzPosCaolán McNamara
cause they are cast to each other freely and the css one isn't going to change value by accident, like has happened to its sibling SdrMeasureTextVPos recently. Change-Id: Idb0558553a7bc8337603b7b01df4a597363fcb6d
2017-02-15coverity#1400530 Mixing enum typesCaolán McNamara
Change-Id: Ia5d0717bc63043bb42f1c9728218fdd09c54a393
2017-02-15remove unused BOTTOM from RenderAlign enumNoel Grandin
Change-Id: Ifdef59d0a3c6e5d030a1b34f6157331208e071ea
2017-02-14tdf#106011: The "swing angle" is negative when counter-clockwiseTor Lillqvist
Change-Id: I1ef77e4c8cf0a6d31b36411a79b576115c32c644
2017-02-14BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE has been defined forever in these filesTor Lillqvist
Change-Id: I0afa1b404192f44540aa318e748452e0328fac6b
2017-02-14No need to have SAL_INFOs inside OSL_DEBUG_LEVEL checksTor Lillqvist
Also, use the operator<< functionality added in 3f5392c19676a7274a9c9f6e4406c6ab98eab7ad. Change-Id: I4ae24d2c45e818d9a1b04f2d8e5660c39c71bcdd
2017-02-14remove unused Video from SgaObjKind enumNoel Grandin
Change-Id: I10c712f7be1247055f7bd28b25fdd6950da9d50b
2017-02-14remove unused IMPORT_INET from GalleryGraphicImportRet enumNoel Grandin
Change-Id: I658ac9675b993bdea46296833f715947056ed9b7
2017-02-14convert SvxPrevLineSpace to scoped enumNoel Grandin
Change-Id: I5903169e1d7728a2f1e547efdff82a75e8d7b6a7
2017-02-14drop CTL_STYLE enumNoel Grandin
since we only ever use the Rect value Change-Id: I020f5c126a8703e07cea5739b53e4b9529a1a575
2017-02-14remove unused MoveAll from SvxRuler::UpdateType enumNoel Grandin
Change-Id: I50fd4bc869d1713f496def49e7a3e967efcb5911
2017-02-14remove unused StartSelection from SvxTableController::TblAction enumNoel Grandin
Change-Id: Ic965cb6df890b08083530c5da8d9e217b6f699ed
2017-02-14Convert WindowType to scoped enumNoel Grandin
Change-Id: I85cfe02f28729e13f2c0dd3d91cd89e6f3e3b6a9 Reviewed-on: https://gerrit.libreoffice.org/34219 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14remove unused BreakedLine enumerator from SdrMeasureTextVPosNoel Grandin
Change-Id: I28cf3d36c1427b382aea1925d2dd94ace0d2a443 Reviewed-on: https://gerrit.libreoffice.org/34204 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14convert SvxXMLTableImportContextEnum to scoped enumNoel Grandin
and drop unused stice_unknown enumerator Change-Id: Ia2d363c9e8d9e501bbfb6f9bb5838b109ce8593b Reviewed-on: https://gerrit.libreoffice.org/34201 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14remove unused Invalid enumerator from ShapeProperty enumNoel Grandin
Change-Id: I27f1d50cc67210ca976fd97beb9dc71b975ac98d Reviewed-on: https://gerrit.libreoffice.org/34240 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>