summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
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
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21editeng: sal_Bool->boolNoel Grandin
Change-Id: Ia9b76985ea0b9c511208b8283c8487c89aa67b88
2014-02-21editeng: sal_Bool->boolNoel Grandin
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
2014-02-21sal_Bool->boolNoel Grandin
Change-Id: I65c60ae987263b96ac1a0d727f5c4e33431d7767
2014-02-21callcatcher: update unused codeCaolán McNamara
Change-Id: Ie4df15ab292df51274d983d31ce8e21e0549de81
2014-02-21Add config option used when we try to link one huge object file.Matúš Kukan
In theory, it should not be used, we use it now to mark duplicated symbols from sdi slots as weak. See idl/source/objects/types.cxx. Change-Id: I3c6fccfb96884df6b9e6eb35b8615ba4d66ca208
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20Resolves: #i121494# Corrected text decomposition when...Armin Le Grand
no text distances for text frame are given (cherry picked from commit 1e403aa7bbfe0353db3d8f02dba5d29ba5876f4d) Change-Id: Ie551211ebec671a32bc6e35e513b07c290d9cb9b
2014-02-20svx::frame::Style::Set(): typo: subtract if it's _not_ 0Michael Stahl
(regression from 2c91cb08d65cd35fa8ef6eaca3677aa82fb58cbe) Change-Id: I9803b630067de26503fceb32b5d7c6a46f352a7a
2014-02-20svx: these Style members are floatsMichael Stahl
Change-Id: Id1a5e363c8c39b3ad9e61f9b914461d15f5c3028
2014-02-20SdrObject: add meRelativeWidth/HeightRelationMiklos Vajna
Similar to Writer TextBoxes, this member is supposed to store the "relation" (text::RelOrientation constants) of the relative width/height, so far the layout always assumed "relative to page". Change-Id: I5100745314e45ad322bff2b761e3722459aba014
2014-02-20cid#1103724 Dereference before null checkNoel Grandin
Change-Id: Ie90dbddc72224c014792f27ef98e6300d5225b7a
2014-02-20svl: sal_Bool -> boolStephan Bergmann
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-19Resolves: #i123539# some optimizations for 3D chart...Armin Le Grand
geometry creation using UNO API (cherry picked from commit bbe35be767d76d08891c4f3d3600d80e0e6805f2) Change-Id: Ic9b6ab8fc31cfe585f7c75d85bafe4613910c57a
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19coverity#738876 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ib782a03a66570deec494f2665640ed38e962862e
2014-02-19coverity#738877 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ieec62701502ee18c3b19d9cc324059c2380184c0
2014-02-19Resolves: #i124216# Detect changes of the UI scale.Andre Fischer
(cherry picked from commit 7e5783030c82f8ec87b88899869e9152cf5c3271) Conflicts: svx/source/sidebar/possize/PosSizePropertyPanel.hxx Change-Id: Ia31d5645694ca9b9ebb36f38c650103905b346a8
2014-02-19coverity#1000868 Uninitialized scalar fieldCaolán McNamara
Change-Id: I23cac47887588ee9fd413f2c887a3db032287a4d
2014-02-19Typo: Internaly -> Internally, Externaly -> ExternallyJulien Nabet
Change-Id: I22a81d18f8bb333b3a89c96dccbf91dc864302f1
2014-02-18Resolves: #i123468# Added SdrEndTextEdit before replacing EmptyPresObj...Armin Le Grand
also secured ReplaceObjectAtView to check for active TextEdit, assert this and make an emergency correction (cherry picked from commit 623cd778689bd0851652b2db00b24c308dfb657a) Conflicts: svx/source/svdraw/svdedtv.cxx Change-Id: I0e9ae1b1cd84e04c37c4de38aca7752804782384
2014-02-18fdo#74681 improve keyboard navigation moreCaolán McNamara
Change-Id: I66b660ac2efa59a64a9d188dee3965243b0fa435
2014-02-17comphelper: sal_Bool -> boolStephan Bergmann
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17cid#705907 dereference before null checkNoel Grandin
Change-Id: I51f0331830fc6d6eaae1ca33c7387e76390ec1cb
2014-02-17cid#705910 dereference before null checkNoel Grandin
Change-Id: Ide631270e603c2efa258aa443c1c4ed9cc1c5cbe
2014-02-14sidebar: remove alignment handlersMaxim Monastirsky
from paragraph panel Change-Id: I46cc0c81df02cba681a0586a7ef859f77be046c6 Reviewed-on: https://gerrit.libreoffice.org/8045 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-14fdo#68537 Correct icon and tooltip for background colorMaxim Monastirsky
Just to close this bug, more changes are expected. Change-Id: I1017481211a5a1b9219f02fed3af31be0399e27a Reviewed-on: https://gerrit.libreoffice.org/8046 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-14protect macosx against the HiDPI hacksNorbert Thiebaud
Change-Id: Ie79abaffef72cbdf3006314c56590ca1e10cf949
2014-02-14sal_Bool->boolNoel Grandin
Change-Id: Ib0f6699e994f5a71603779b8227bf081b71a5dd6
2014-02-13coverity#738003 Uncaught exceptionCaolán McNamara
Change-Id: Iddb64e592ae47dd5f22430778b8018fc8c9880c5
2014-02-13coverity#738003 Uncaught exceptionCaolán McNamara
Change-Id: I09a015a590eeb2457963dbb3cfcafd6a714f82c9
2014-02-13coverity#708342 Uninitialized pointer fieldCaolán McNamara
Change-Id: I76803ae267c18350d5da6c9e425339cefd0817d7
2014-02-12more SvStream:operator>> conversionNoel Grandin
Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>