summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2014-03-11svx: sal_Bool->boolNoel Grandin
Change-Id: I360b459102e61562b7cd1987545288d5ce8aed6b
2014-03-10add strict OOXML pptx import testMarkus Mohrhard
Change-Id: I2e4f17b7b7ab1e14c5cb0f6ce90e771d7c20a5c8
2014-03-10Use SfxStyleSheetIterator to iterate over style sheets in sd/stlsheet.cxxTobias Lippert
It is not possible to access n#708518. We must hope that this is not a regression Change-Id: I4500d72cc7d6fc488fb015aa8b7907238fa09ac0 Reviewed-on: https://gerrit.libreoffice.org/8484 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-10Use SfxStyleSheetIterator to iterate over SfxStyles in sd/pptin.cxxTobias Lippert
Change-Id: I99534efdd52644882f2e2960bdafce58bf632804 Reviewed-on: https://gerrit.libreoffice.org/8483 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-03-10sd: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I95566d52c39b8cc3544e4b39620ec2be81964aae
2014-03-10Use SfxStyleSheetIterator to iterate over SfxStyles in sd/stlfamily.cxxTobias Lippert
Change-Id: I535b47de0fb4e66dc4b02d4c75b6631eb7d87ed4 Reviewed-on: https://gerrit.libreoffice.org/8482 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-09Resolves: fdo#75949 HTML Export dialogJulien Nabet
"Save Image as" option should be in plural Change-Id: I1e423143d7eb54d86eb7fbb251f8282b68099aa4
2014-03-08coverity#704675 Unchecked dynamic_castNorbert Thiebaud
Change-Id: I50570ba37733ae700dca96e1175fcd2ac0c97333
2014-03-07coverity#735831 Dereference after null checkCaolán McNamara
Change-Id: Ic41ed1f547a42668b17ec0c0d35a7cf2054c509c
2014-03-07coverity#735845 Dereference after null checkCaolán McNamara
Change-Id: I8e90d4a005fd40586c8262c35a4b6351ae5a17d0
2014-03-07coverity#735844 Dereference after null checkCaolán McNamara
Change-Id: I444f545718f0d7b3e1612a1b17b810f93f032bcb
2014-03-07coverity#735843 Dereference after null checkCaolán McNamara
Change-Id: I67909a2bc1ba411b5809a83be72716045034af19
2014-03-07coverity#735841 Dereference after null checkCaolán McNamara
Change-Id: Ia6dc3065bcf6aa8e1475af8163dc5eefd9ad2f85
2014-03-07coverity#735836 Dereference after null checkCaolán McNamara
Change-Id: Ia91df4aeec1b632030f0e4d1d0067cdc32e64057
2014-03-06coverity#708643 nOffsetY missing from copy ctorCaolán McNamara
its normally always 0, so shrink the code based on that Change-Id: Ic9a4615f0ecb0713a00e4acd73485f99fd50a859
2014-03-06coverity#1190350 Dereference after null checkCaolán McNamara
Change-Id: Ia863c587b998270f68e6a6439891ce18a07ed626
2014-03-06n#821567: Add unit test case.Muthu Subramanian
2014-03-05coverity#704764 Dereference after null checkCaolán McNamara
Change-Id: I93ae20005c3d4dbe0b85a4ae79eba683c7355c88
2014-03-05coverity#704763 Dereference after null checkCaolán McNamara
Change-Id: I7d78ef1ffc939602baf9a16c4ca18b8f5f4c4d48
2014-03-05coverity#704762 Dereference after null checkCaolán McNamara
Change-Id: I28555dcf30eb3a6f71b3808025771294a088aaa8
2014-03-05coverity#704761 Dereference after null checkCaolán McNamara
Change-Id: I8e65332f202158e503da9b707bb9d6305133e68e
2014-03-05coverity#704760 Dereference after null checkCaolán McNamara
Change-Id: I16a1b9803eb4cbd6ce77c9017262093908261097
2014-03-05coverity#704755 Dereference after null checkCaolán McNamara
Change-Id: I887a3ce81b2eea878b98e5567a6faf4aa8df4ebe
2014-03-05coverity#704754 Dereference after null checkCaolán McNamara
Change-Id: I3c70c9cfe84dc74836cf733e424cf7c2cd195c4f
2014-03-05coverity#704749 Dereference after null checkCaolán McNamara
Change-Id: Id74676712afb4753c9e2b1a81043190451b90f01
2014-03-05coverity#704748 Dereference after null checkCaolán McNamara
Change-Id: I4dd13cb4a39422b26d4e695c1fbb739eaee96368
2014-03-05coverity#704747 Dereference after null checkCaolán McNamara
Change-Id: I1da494393c3a1a697bf31b00f57b33a03c674872
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-04use CPPUNIT_ASSERT_EQUAL to improve error messageMarkus Mohrhard
Change-Id: I946f4177bef82bbac8058640f216a294582c24a3
2014-03-03fdo#54938: Convert some places to use cppu::supportsServiceDonizete Waterkemper
Change-Id: Ib941c6ec82d81b1da815561eee87ee91dc8de200 Reviewed-on: https://gerrit.libreoffice.org/8443 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
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-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I51b4ae54c2c440d38879439f74d4fea39d243004
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 sd::framework::Pane::SetWindow(Window*)Noel Grandin
Change-Id: Icf4b0278b88f0070a6d81d5e146598a9f087de77
2014-03-03remove unused code sd::presenter::PresenterCanvas::copyRectNoel Grandin
Change-Id: I03a7ba177c5bc200c4da391ff98a995a0aaaf274
2014-03-02coverity#735830 Dereference after null checkCaolán McNamara
Change-Id: I62342173f01a593fe245ce897f712b9011926620
2014-03-02coverity#704738 Dereference after null checkCaolán McNamara
Change-Id: I2fa3495a12adeb760bb9dd94fdb5859f011f11b9
2014-03-02coverity#704732 Dereference after null checkCaolán McNamara
Change-Id: Ida02c1d9f0bc35d115f3762d5c360231ab800b23
2014-03-01Related: #i57936# Added refresh to update LayerTabBar...Armin Le Grand
when attributes like Layer visibility were set (cherry picked from commit 2f6673f38d76df1a26c658b20e9c180c7bfd4d14) Change-Id: Iafc6be8070b69a01a80425fdafa2c55e7560f924
2014-02-28Resolves: #i87182# secured usage of LayerTabBar in Draw...Armin Le Grand
ensured initialization when used as OLE (cherry picked from commit 903afaa8ea0766e01ba41a227d2794c2c40b129a) Conflicts: sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx sd/source/ui/view/drviews3.cxx sd/source/ui/view/drviews7.cxx sd/source/ui/view/drviewsb.cxx Change-Id: I86bb17bf422356247a319f89e54d1ead97b368b8
2014-02-28WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist
Change-Id: If6112c0b91bd040830818a69e599dfbce315d271
2014-02-27coverity#1187866 unused bStartWithActualPageCaolán McNamara
Change-Id: I62b44a640ab6f21d51613672f46cb2e612b300f3
2014-02-27coverity#1187661 Unchecked dynamic_castCaolán McNamara
Change-Id: I66f8382c7dd7ab8d115204fe45d6a33ff77adb78
2014-02-27Improve usability of the outlineRob Snelders
If you had data in the outline and would scroll to the bottom then it would be an empty view at the bottom. The width of the outline was defined as a fixed with twice. Once in the outlnvsh and one (even smaller) in the outlview. I have changed the with of the outlview to take the with of the outlnvsh. Change-Id: I1376a135acd92dbe8966b29ccb075e6b74412a8c Reviewed-on: https://gerrit.libreoffice.org/7832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
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-26Fixup whitespace changes, remove commented code.Thorsten Behrens
This is a light touchup of 2ef9df8aee696993d9eb235fd36caa4cbcfd3624 Change-Id: Icfaf6fb0111c85b5f78010b16bdda0e237419323