summaryrefslogtreecommitdiffstats
path: root/sd
Commit message (Collapse)AuthorAgeFilesLines
* TyposJulien Nabet2015-02-181-1/+1
| | | | Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
* boost->stdCaolán McNamara2015-02-182-10/+10
| | | | Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
* boost->stdCaolán McNamara2015-02-173-18/+16
| | | | Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
* boost::foo_ptr->std::foo_ptrCaolán McNamara2015-02-162-12/+12
| | | | Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
* add GetSelectEntryData to ListBox and ComboBoxNoel Grandin2015-02-163-7/+7
| | | | | | | | | | | to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fix tdf#85027 Add button to StatusBar: Fit page to windowRodolfo Ribeiro Gomes2015-02-121-0/+1
| | | | | | | | Change-Id: Ibc6d2b8d3699caa0ba2baa51dbbf357f935fe5b2 Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14363 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* draw/impress - zoom in/out to the mouse positionRodolfo Ribeiro Gomes2015-02-121-0/+5
| | | | | | | | Change-Id: I2bff851c683fdffe9a6074fedc2f2151650f79da Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14307 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* partial fix tdf#86611 (item #5) Draw statusbar tipRodolfo Ribeiro Gomes2015-02-123-0/+11
| | | | | | | | Change-Id: I5096c5ea1272e16969f9572ed40c60cdb9378b57 Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14308 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* android: In Impress, switch to the 'Normal' (slides) view.Jan Holesovsky2015-02-092-0/+8
| | | | | | Other modes are not fit for the tiled rendering, and crash the viewer. Change-Id: I6fb17663203d9eb298bba2b9bd143fdd28ffb470
* fdo#87706 correct object/image styles dialog title and tooltipYousuf Philips2015-02-073-3/+3
| | | | | | | | Change-Id: I36bcd859e5b3da933ed1cd1c54b34b71ca9f52d2 Reviewed-on: https://gerrit.libreoffice.org/13673 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Katarina Behrens <bubli@bubli.org> Tested-by: Katarina Behrens <bubli@bubli.org>
* loplugin:deletedspecialStephan Bergmann2015-02-0718-81/+38
| | | | Change-Id: Id38a70a88cf03413763f3feaefb07d2e748a6ba8
* tdf#88836: UI: in-form navigation bar icons goneZolnai Tamás2015-02-074-7/+7
| | | | | | | | | Regression from: 6419c745e5e9802da264250d5e131fb9a3b6e4de Revert it and use IsEmpty() instead of operator!(). Change-Id: Icc4f5dbba848a1d4ef807e598f0aa3b940459c82
* shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara2015-02-063-5/+5
| | | | | | and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
* No need for rtl::Reference hereStephan Bergmann2015-02-052-4/+3
| | | | Change-Id: I9c31d91dab2bc47148c0439947c331e411159891
* Don't hold refcounted objects by naked pointerStephan Bergmann2015-02-052-17/+16
| | | | | | | | (and no need to hold css::uno::Sequence objects by pointer either). Regression from e537d227d3a801076aff98c113650942fb6b3699 "hard to find accidental leaks with all the deliberate ones" caused JunitTest_svx_unoapi to sometimes crash. Change-Id: I3579c4bbac58d7e341c8acb52dd3f0f06f7b2245
* Updated all precompiled headers.Ashod Nakashian2015-02-052-1/+6
| | | | | | | | Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* hard to find accidental leaks with all the deliberate onesCaolán McNamara2015-02-042-14/+17
| | | | | | | so make these globals belong to the SfxModule which gets torn down before exit Change-Id: Iad655f8726ba6784a5d606ef469522950906360a
* coverity#1265801 Dereference null return valueCaolán McNamara2015-02-041-2/+1
| | | | Change-Id: I7ac111ad66dd51d13df866bac4396cdb2aecb27e
* Typo: selction/slection -> selectionJulien Nabet2015-02-032-2/+2
| | | | Change-Id: I3f405d9525d3afb6534166fd733cabf7779a2846
* valgrind: fix leakCaolán McNamara2015-02-031-3/+1
| | | | | | | | | | | ==1739== by 0x7A93F1C: SfxUInt16Item::Clone(SfxItemPool*) const (in core/instdir/program/libsvllo.so) ==1739== by 0x7047E11: SfxShell::PutItem(SfxPoolItem const&) (shell.cxx:196) ==1739== by 0x27FCA298: SdModule::GetSdOptions(DocumentType) (sdmod.cxx:172) none of the other uses of pCache->SetState clone, and I don't see why this one does. Change-Id: I7d3cf6969c433c890776dfbcc1dc57d72420b6e2
* callcatcher: shave off some moreCaolán McNamara2015-02-032-22/+0
| | | | Change-Id: I8ed7028f865bd4a6425859ab3b57ed8e928a78e4
* coverity#1267659 Logically dead codeCaolán McNamara2015-02-021-1/+1
| | | | Change-Id: I0130c70a281e1ea6a82aa4f41be4b4f0b473a958
* callcatcher: remove some unused methodsCaolán McNamara2015-02-029-43/+0
| | | | Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
* coverity#735323 Unchecked return valueCaolán McNamara2015-02-021-2/+2
| | | | Change-Id: I907b2fb0024b104cc008cbf4c75f30513c7eb57d
* coverity#1267671 Dereference after null checkCaolán McNamara2015-01-301-1/+1
| | | | Change-Id: I48fe04973732807eca43eaeeba716622318abf6d
* callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara2015-01-2932-337/+0
| | | | | | | | | | | | | | | | | | i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
* remove unused typedefsNoel Grandin2015-01-283-9/+0
| | | | | | | | | found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix types of functions called via pointer (-fsanitze=function)Stephan Bergmann2015-01-261-2/+2
| | | | Change-Id: Ife0151a04477ce30bb132e6dfae9f4d3a74bf4b0
* Visible function type RTTI for Clang -fsanitize=functionStephan Bergmann2015-01-262-0/+4
| | | | | | | | | | ...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf. b4f6b26b5a1a78fecfa95ec2eb7ac8b80495d8aa "SAL_DLLPUBLIC_RTTI for proper RTTI visibility for LLVM") and by making sure relevant function types do not use incomplete types in their parameter and return types (which would make the RTTI hidden). Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
* sal,sd: Windows SDK 8.1 deprecates inet_addr()Michael Stahl2015-01-261-0/+11
| | | | | | | Change-Id: I443f73fab48f1b66b38e2c77af0fe89f99ee4cd0 Reviewed-on: https://gerrit.libreoffice.org/14142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* followup code removal after changing virtual methods to non-virtualNoel Grandin2015-01-267-56/+15
| | | | | | | | | | This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
* new loplugin: change virtual methods to non-virtualNoel Grandin2015-01-2644-148/+107
| | | | | | | | | | Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
* coverity#1265802 Dereference null return valueCaolán McNamara2015-01-241-3/+2
| | | | Change-Id: I1ad3470410ef3a1f4f06033c89da9adcb640b7e0
* coverity#1265803 Dereference null return valueCaolán McNamara2015-01-241-3/+3
| | | | Change-Id: I4e565d9b5a416e7f4f435c75a715dad09c4e7e26
* coverity#1265806 Dereference null return valueCaolán McNamara2015-01-241-2/+5
| | | | Change-Id: Iaf8d1f570b6f343d841327c379d5424ea64cda31
* coverity#1265809 Dereference null return valueCaolán McNamara2015-01-241-2/+7
| | | | Change-Id: I9926fa66c99009403e5a4b90e30954f3330bba1c
* coverity#1265810 Dereference null return valueCaolán McNamara2015-01-241-2/+5
| | | | Change-Id: I3e99cfd189bae3ed37979dbbb69219b2649a9243
* coverity#1265811 Dereference null return valueCaolán McNamara2015-01-241-3/+9
| | | | Change-Id: I975c8c28f00b364f57366ea2847f8bd155c12733
* coverity#1265808 Dereference null return valueCaolán McNamara2015-01-241-2/+5
| | | | Change-Id: Ib4ba32315a12a25ed5b9c4df5d6f88ee0400d054
* coverity#1265801 Dereference null return valueCaolán McNamara2015-01-241-2/+4
| | | | Change-Id: I3cde11175ea07c6ce0b2828250fc3d942a41066c
* coverity#1265798 Dereference null return valueCaolán McNamara2015-01-242-8/+8
| | | | Change-Id: Ic4a9a42bafdc72be3de067b5f47dc98f0250f575
* coverity#1265797 Dereference null return valueCaolán McNamara2015-01-241-2/+2
| | | | Change-Id: Ief4e7898cfb8b5ab65e6dba39d04306637b776b4
* coverity#1265795 Dereference null return valueCaolán McNamara2015-01-241-4/+4
| | | | Change-Id: I3ad219b1729a7a4b2f3e52cd6ac0243a419bc632
* coverity#704751 Explicit null dereferencedCaolán McNamara2015-01-241-13/+16
| | | | Change-Id: If95204a7e8e47ef62599da3374b6a2908e495493
* typo: langugage -> languageAndras Timar2015-01-231-1/+1
| | | | Change-Id: Ifabd5a7851946b3e4109e22e6e9a1ff34575c1e5
* loplugin:cstylecast (MACOSX)Stephan Bergmann2015-01-221-1/+1
| | | | Change-Id: I8a2785e90dae7edacb6dfb3e4362e5fb6a981b0e
* Some more loplugin:cstylecast: sdStephan Bergmann2015-01-2116-37/+37
| | | | Change-Id: I3562efaab55655bc758fe94090b2b6d05b548098
* has_focus is not implemented, remove usesCaolán McNamara2015-01-211-3/+30
| | | | Change-Id: Iebd4d28471d85696328cb7772fec0bc793493bf4
* Related: ooo#34420-1.sxi concealed divide by zeroCaolán McNamara2015-01-201-2/+5
| | | | | | | | | | | on this and about 30 other documents where the NaN result is cast back to a long, giving rise to an assert in vcl/source/outdev/map.cxx:391 of long int ImplLogicToPixel(long int, long int, long int, long int, long int): Assertion `std::abs(n) < std::numeric_limits<long>::max() / nMapNum / nDPI' failed. Change-Id: Ia87e4ee6bbf0f10b7eba513e9a5ba3c42440d181
* font cache gets broken on adding an embedded fontCaolán McNamara2015-01-201-0/+0
| | | | Change-Id: I665cde5d4c89443238efb283c86277dedf621197