summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-06-11missing includeStephan Bergmann
Change-Id: I7ac5607f911d3ffc469fe01fcf708899f3e23e57
2015-06-11minor clean upStephan Bergmann
Change-Id: Ib4fb12e187eb4bad7da04425328d1f5cdf851654
2015-06-10coverity#1302618 deref of NULLCaolán McNamara
on examination this PreparePaint virtual is only called from SvTreeListBox::PaintEntry1 and PaintEntry1 is only called from SvImpLBox::Paint in a for(sal_uInt16 n=0; n< nCount && pEntry; n++) { /*long nMaxRight=*/ pView->PaintEntry1 loop so pEntry always exists given that test. Re-jig things so these families of method take a reference instead of a pointer so verifying it cannot be NULL and a whole pile of else paths fall away Change-Id: Ied40acb1c2263c21b4447832f8cb86f64ed9e80d
2015-06-10Remove unnecessary Bool2AnyStephan Bergmann
(It feels better to use explicitly bool-typed css::uno::makeAny<bool>(x) rather than implicitly typed css::uno::makeAny(x) or css::uno::Any(x), in case x is not already of type bool.) Change-Id: I282b3764bb207aeae9f13cc981e68e8ef2b8ab93
2015-06-10Prop_pSegmentInfo is totally misunderstood apparentlyCaolán McNamara
digging into the crash on export of kde216114-1.odt reveals various horrors Change-Id: I0d24fe303d561a00a08098b306d10fd8273af928
2015-06-10-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: I2d1aa79a67bf130c3844b3bccb34a1761e8e4dfc
2015-06-10tdf#91727 - Unwind non-dispatch of idle handlers.Michael Meeks
This clobbers the functionality from commit: 06d731428ef6cf93c7333e8228bfb6088853b52f make idle timers actually activate only when idle Since now all rendering and re-sizing is done in idle handlers it does effectively the opposite of what was intended. A better solution would allow special-casing the processing of just rendering, re-sizing and window management to spin for eg. progress bar rendering. Also add helpful debugging labels to the idle & timeouts. Also cleanup the Idle vs. Scheduler handling. Also ensure that starting an Idle triggers a mainloop wakeup. Also add a unit test. Change-Id: Ifb0756714378fdb790be599b93c7a3ac1f9209e6
2015-06-10tdf#88055: Don't export transparent background colour as whiteKatarina Behrens
The fix is twofold: 1. retrieve transparency from colour in SvxBackgroundColorItem (add QueryValue, PutValue methods, use additional memberID to retrieve alpha channel as a bool property) 2. add CharBackTransparent bool property to Draw [text] shapes, xmloff needs it to be able to output 'transparent' string instead of '#XXYYZZ' colour code in ODF format Change-Id: Id830bd18fd6da5d9a46e2a94aa254d5d2a6b7ebb Reviewed-on: https://gerrit.libreoffice.org/16182 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-10tdf#88290 Adapt the numbering popup to more than 8 itemsMaxim Monastirsky
The items count of NumberingTypeMgr is limited by 8, but some languages have more items, so remove that limitation. Also fix the behavior of the 10th item. The old sidebar popup had a "None" item, whose id was 10 (defined by DEFAULT_NONE from include/svx/nbdtmg.hxx), and that causes now the 10th item to behave as on/off toggle. Since we don't have a "None" item anymore, get rid of that behavior completely. Change-Id: I5546ca637f9951cc093a7bbf8fda11dc35341d4e
2015-06-10svl: document SfxItemPropertyMapEntryMichael Stahl
Change-Id: I7caa540d069addb610310830c26ecd647afc6538
2015-06-09lokdocview: mark *_get_type() with const function attributePranav Kant
Use G_GNUC_CONST that adds const function attribute to lok_doc_view_get_type() for better performance. Change-Id: Id79f0395a98c4f98b46303e9b5ee1e103fbe331f
2015-06-09lokdocview: Modernise LOKDocView as GObjectPranav Kant
Change-Id: I3bbd07ce8163890f9b88567966622dd4fbe9d94d
2015-06-09lokdocview: Lets follow the GObject naming conventionPranav Kant
If we are mentioning this type as DocView, we should break it at each capital letter. Change-Id: I76c7eea455281e541b2196a03778018aa127cebe
2015-06-09lokdocview: Let G_BEGIN/END_DECLS handle the compiler checkPranav Kant
Change-Id: I8c60c9ba13516fc2b3a926c19b41ee19805d74a5
2015-06-09loplugin:unnecessaryvirtualsNoel Grandin
Improve the plugin a little. Create a python script to process the output. Run it again. Change-Id: I05c21d8a21c8f4243af739c412fda0a521f9b5f0
2015-06-08add (and call before dtor) Commit to SvtSearchOptionsCaolán McNamara
i.e. follow up to commit 465359c35fcd8c30a2bedd3d0beb07c0c1c36cba Author: Michael Stahl <mstahl@redhat.com> Date: Wed Mar 11 16:39:24 2015 +0100 do not call virtual Commit() from dtors of utl::ConfigItem subclasses ~SvtAppFilterOptions_Impl() demonstrates that this is a bad idea, by not invoking its subclasses' ImplCommit() but its own. to avoid assert in SvtSearchOptions dtor Change-Id: I0eaf93450e1daddb81a9463f2c1df48a334dfb22
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I07bf1403e6b992807541a499b786d47f835b2f81
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I9778efd0b1d1838c9f51693749575916d77e3198
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: Iedee28da32a4333a414e06877f87851345bb4e9b
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I0df3b3737e02e6467fc9d71bc948a58797582173
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: Ibd373cddb1e25f05528e627349953b5f7d115330
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I2d60f21219adfe9935ad69620f3a7bd856f96376
2015-06-08tdf#90804 remove SfxFieldUnit enumAndras Timar
b78d881520f2eb658180e2c90ffee3d30a80f0ae removed unused values from SfxFieldUnit enum. This broke the mapping between SfxFieldUnit and FieldUnit. In fact SfxFieldUnit was redundant. Change-Id: I13c7e7d708c6eeab0de192f4cd110b0a23989a31 Reviewed-on: https://gerrit.libreoffice.org/16150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-08loplugin:staticmethodsStephan Bergmann
Change-Id: I22af41840410ee78aee739e0dec49bb43cda874b
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin
Omit the plugin, and sw's FrameControlsManager for now. Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f Reviewed-on: https://gerrit.libreoffice.org/16117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-05Pin_Impl doesn't have an implementationCaolán McNamara
Change-Id: Ic2eb447910b14d75911be4835a533c8575045e08
2015-06-05Revert "Cleanup crossplatform cairo"Jan Holesovsky
Unfortunately this breaks Android and iOS. This reverts commit e4d55e8045c99af65a2cae57b26ec076825c9673.
2015-06-05Revert "vcl: fix Android build"Jan Holesovsky
"Cleanup crossplatform cairo" breaks Android and iOS. This reverts commit e152b756b3558a3619e5bedb6b258cc7f0879e90.
2015-06-05LOK: fix the rectangle format mentioned in documentation/commentPranav Kant
Change-Id: I41bf3a21b5da9fc8155bbe6eb0f86078f90f6647
2015-06-05vcl: fix Android buildMiklos Vajna
Change-Id: I31724cd56516e6112b66159f722188b228e2eab5
2015-06-05svx: prefix remaining members of SdrDragViewMiklos Vajna
Change-Id: Iac5d80ef4e433c95277237692bda02fa75a24c61
2015-06-05Removed B{2,3}DTuple's custom treshold equal() and equalZero() methodsZsolt Bölöny
Change-Id: I351b624c2282cbe9d37b32161eec574ce64c11be Reviewed-on: https://gerrit.libreoffice.org/15807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-04Cleanup crossplatform cairoMox Soini
Mac / Win cairo is not built / used, this cairo code can be removed to reduce code bloat. Change-Id: I758d674291e25e0722f5c66a0096295e903786b1 Reviewed-on: https://gerrit.libreoffice.org/16049 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-06-04Removed getNormal() from polygontools, it just calls B3DPolygon::getNormal()Zsolt Bölöny
Change-Id: I5a59ff8e0db1aee52d0b683c9c64e4b18b64e66b Reviewed-on: https://gerrit.libreoffice.org/16077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-04svl: prefix remaining members of SvxSearchItemMiklos Vajna
Change-Id: Id538ee368de6cd63f08618e6284bca97e20bf7a3
2015-06-04uno::Sequence provides now begin and endNoel Grandin
use begin() and end() when calling std::copy on an uno::Sequence Inspired by commit b34b648fc3262c5d9aa295f621e8fe9c97d4c6b2 "uno::Sequence provides now begin and end" Change-Id: I08e8c3fd6144e77b95a26f85bc0daf6a9edeeb0b Reviewed-on: https://gerrit.libreoffice.org/16057 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-04convert PropertyMode to scoped enumNoel Grandin
Change-Id: I9b0bbf6273aa18ae918d1d69af5dcc7652181f5c
2015-06-04convert B2DLineJoin to scoped enumNoel Grandin
Change-Id: I4fb8f2c9e2080e3aa542d2ccf838e6784baa8429
2015-06-04convert B2VectorContinuity to scoped enumNoel Grandin
Change-Id: Ifa401dd0d2d1bef8c0ae2987d2aee86100b59816
2015-06-04convert B2VectorOrientation to scoped enumNoel Grandin
Change-Id: Id7e444bc896ae5d52e5a0bd1b471679c4945afa4
2015-06-04convert basegfx::FillRule to scoped enumNoel Grandin
and drop unused NONZERO_WINDING_NUMBER value Change-Id: If2a8f01934796eaf9a343113387b775fd169ccb9
2015-06-04convert basebmp::Format to scoped enumNoel Grandin
Change-Id: I6eb213d6dcf387936967271fba9e2de3879ef479
2015-06-04convert DrawMode to scoped enumNoel Grandin
Change-Id: Ie4a7705cc3d042d08178e562a2c2ffaf0be3810f
2015-06-04convert MediaState to scoped enumNoel Grandin
Change-Id: Idf14f7d344be6c690cdd721cd5f7eb7c328b590c
2015-06-04fix status bar flickering (zoom slider fo example)Tomaž Vajngerl
Change-Id: I3fb71868a9f8f56c76353f3a2d84fdb078c8f8fb
2015-06-03ruler: convert pCtrlItems to use vector of unique_ptrTomaž Vajngerl
Change-Id: Icc6cf55c26d605fd068edf575613cde745385dd2
2015-06-03tdf#91677 fix flickering rulerTomaž Vajngerl
Change-Id: Ia14be98fbfd46871b2ac9bd42a07951d86722a8a
2015-06-03tdf#91199 add Venetian [vec-IT] to language listEike Rathke
Change-Id: Ide2837739a32142c39e933bda5761d620dcf2a35
2015-06-03Use variable-length array idiom for SfxType::aAttribStephan Bergmann
...to avoid false -fsanitize=array-bounds warnings. All instances of SfxType are created (in idl) as instances of SfxTypeN with properly sized nAttrib arrays. Change-Id: Iad9faa467affed656750df6bb8579d85829e97ca
2015-06-02There is no use of vcl::Window hereTor Lillqvist
Change-Id: Idf36c08205a8a3a36ae05040e1c1fd28d5e2f13f