summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-03-07Do not convert SVGs to JPEGs when editing with external toolAlex Henrie
This patch adds support for opening SVGs in the user's default SVG viewer/editor. If the image cannot be exported to SVG directly, it is exported as PNG instead. In no case will an SVG or an unrecognized format be lossy-converted to JPEG. Change-Id: I46dc8548c3cfb4d24a4a0078d4e3d7eee8367b1c
2014-03-07Enough to obtain theIntrospection singleton onceStephan Bergmann
Change-Id: I2f786b24590af8cfae6f24ef0367ef51ff97dfb5
2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-07rhbz#1072607: (hopefully) fix crash in SvxRuler::MouseMove()Michael Stahl
Not sure why mpParaItem is 0 here, add a check like in every other SvxRuler method. (regression from 47a77d7dbc427e51421e2df8d59695834cb74980) Change-Id: Ic11a4d0c9b6ca217cd59d1d3f6789592996d2c1d
2014-03-06n#821567: Use BitmapURL only if its valid.Muthu Subramanian
2014-03-05Operators for Point are only overloaded for long, not doubleStephan Bergmann
...so no use giving double arguments that are implicitly cast to long anyway. Change-Id: I26b9059fc5ab0d55c3f320e2b2f55502423541a9
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05remove unused code SvdProgressInfo::ReportError()Noel Grandin
Change-Id: I4f58a14d388cb138eb2c23c296148237f33e9fef
2014-03-05remove unused code SvxRectCtlAccessibleContext::FireAccessibleEventNoel Grandin
Change-Id: I866614ceac9c6a4ea3e2ba6e682e357a1f96a370
2014-03-05remove unused code in accessibility::AccessibleShape::AccessibleShapeNoel Grandin
Change-Id: Id17c8d2e2f366b666fd58317c2b8241753ae8a93
2014-03-04fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza
The last cases are non obvious, so it's pratically done Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547 Reviewed-on: https://gerrit.libreoffice.org/8445 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-03-03svx: rename Executable_gengal.bin.mk tooMichael Stahl
Change-Id: I8dfe131d1c225b5d9aaa044b02ec8cdc3d97a23c
2014-03-03Use cstdlib std::abs instead of stdlib.h absStephan Bergmann
...because the latter lacks the abs(long) overload in some popular environments, cf. <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401> "stdlib.h does not provide abs(long) overload." Similarly, stdlib.h lacks the abs(float), abs(double), abs(long double) overloads compared to cmath there, whose use was apparently intended in sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx. Rewrote that to use CPPUNIT_ASSERT_DOUBLES_EQUAL instead, which revealed that the comparisons need rather large deltas of .1 resp. .2 (which the original code hid with an implicit conversion to integral type, thus using an effective delta of 1). Discovered with -Wabsolute-value ("absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value") recently introduced on Clang trunk towards 3.5. Change-Id: I4c41575ffdccb2944498b662bd3a53fd510cb0c0
2014-03-03SVX : Remove usage of DBG_CTOR and DBG_DTOR.Arnaud Versini
Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: I9f2ab3703feb5c49a831da124e161f98cb1bb3ab Reviewed-on: https://gerrit.libreoffice.org/8419 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-03editeng: sal_Bool->boolNoel Grandin
this had to be done in conjunction with changing include/svx/unoshtxt.hxx because there are two virtual methods "bool IsValid" in two different base classes and some subclasses are overriding both base-class methods at once. Change-Id: Ib43fc5000b443057caaa513b4efeaa6fd16e4260
2014-03-03remove unused code in sdr::tableNoel Grandin
sdr::table::Cell::getName() sdr::table::SdrTableObj::getRowCount() const Change-Id: Icd4cbe591703aedb1412f8e9b485c773ffe79551
2014-03-03remove unused code svx::frame::Style::Style constructorNoel Grandin
svx::frame::Style::Style(editeng::SvxBorderLine const&, double, unsigned short) Change-Id: I6fd4bf107d325f714fef8417b2c2072a9f2e4066
2014-02-28Resolves: rhbz#1007697 Update on a Window triggering delete on windowCaolán McNamara
Change-Id: Ic6374ce45e3a3ba97217ae77e91f9143f46e277b Reviewed-on: https://gerrit.libreoffice.org/8396 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-28WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist
Change-Id: Icf1b8aa2c228daf8d9719616a6a91c5d6bef8449
2014-02-28I guess const was intended here.Jan Holesovsky
Change-Id: Iba157cca516add9403e8eace64430ed7008f4f2c
2014-02-28remove unused code PanelLayout::dispatchNoel Grandin
full signature: PanelLayout::dispatch( rtl::OUString const&, css::uno::Sequence<css::beans::PropertyValue> const&) Change-Id: Ib16c32d69e62ccf000de05da7c6f25e993a5be90
2014-02-27Resolves: #i15508# Added support for BMP file typeArmin Le Grand
(cherry picked from commit 9956ed1303545cd61901e33b110698c4e5e224c4) Conflicts: filter/source/msfilter/escherex.cxx include/vcl/gfxlink.hxx svx/source/xml/xmlgrhlp.cxx sw/source/ui/docvw/romenu.cxx vcl/source/filter/graphicfilter.cxx Change-Id: Ibcbb69b9c57cd8a438788e9a9c95744e99b6fcdd
2014-02-27coverity#1103661 Division or modulo by zeroCaolán McNamara
Change-Id: Iebcd567b79b77c456b347d5fae6331072ad38a9f
2014-02-27coverity#1187650 Logically dead codeCaolán McNamara
Change-Id: I463c8db50f3547d257779177459e0b6c1950e1c6
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Ic59e48341f69b8c6e6fe77b05eeebac56a2c53e7
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Id4174904487fc153d8e80471da7c829c52092f78
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from svxAlexander Wilms
Change-Id: I56497d953b0500ba0967fddb36ca8bbbe86c62ad Reviewed-on: https://gerrit.libreoffice.org/8321 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26callcatcher: update unused codeCaolán McNamara
Change-Id: I2d79938465800a6bfe8cc120b85dc449ff04a960
2014-02-25remove unused code sdr::overlay::OverlayRectangle::setSecondPositionNoel Grandin
Change-Id: I566b479a298d7496b1ff766bfbaf0ccde84472aa
2014-02-25mrParentWindow can never be null, simplify around thatCaolán McNamara
Change-Id: Id290343219044aa8e668eb8f2e58b2d3c35a2ac7
2014-02-25pPixelCtl can never be null, which simplifies this a lotCaolán McNamara
Change-Id: Ic1c995794faa682001b472053ae9aebf95f0343b
2014-02-25callcatcher: update unused codeCaolán McNamara
Change-Id: Ia8e6abffb85b92ee4538fb0aeaee4e4aa18f2772
2014-02-25Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe
Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
2014-02-24implicitboolconversion: warn about implicit conversion of call args to boolStephan Bergmann
...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f "sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it" earlier when converting occurrences of sal_Bool to bool. Restricting this check to function call arguments avoids too much noise while hopefully still catching all the relevant problems. (This check partially overlaps the pointertobool check, so implicit conversions from pointers to bool call arguments will now generate two loplugin warnings, but that's harmless.) Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24toolkit: sal_Bool -> boolStephan Bergmann
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24Remove some temporaries around calls to SvNumberFormatter methodsMatteo Casalin
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24Adapt to osl_atomic_inc-/decrementStephan Bergmann
Change-Id: I848873b07ab05cefdc755a8bf1301907fdfbc299
2014-02-24Remove unnecessary bool2anyStephan Bergmann
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24Remove unnecessary extractInterfaceStephan Bergmann
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-23fdo#74751: fix reverse base point diagram on RTL UIFaisal M. Al-Otaibi
Change-Id: I3f3f2d59952577b0533a9d8ef6d27af849bd6bdb
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23coverity#708355 Uninitialized pointer fieldCaolán McNamara
Change-Id: I2303b9277fcccc809c4e56113d082b57e21ad010
2014-02-23coverity#704817 Unchecked dynamic_castCaolán McNamara
Change-Id: Ie268042184aa19b022de506935b34275958c01c4
2014-02-21coverity#1132721 fix exception specsCaolán McNamara
Change-Id: I1c499f8b994d29e265a66f4219d4c3fddb237a89
2014-02-21add missing modelinesCaolán McNamara
Change-Id: I1823890217eb11ba4206b9fd28389c633c7c4f89
2014-02-21coverity#1132723 Uncaught exceptionCaolán McNamara
Change-Id: I2b3e85875a0f706a1dfdf0177337aa9fe71a3540
2014-02-21-Werror=parenthesesCaolán McNamara
Change-Id: Ibf897ccd5c89d8ba86b6d7838d43b9e23aac79ca