summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2015-09-11convert Link<> to typedNoel Grandin2-3/+3
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
2015-09-10convert Link<> to typedNoel Grandin2-3/+2
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-09convert Link<> to typedNoel Grandin2-5/+3
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
2015-09-09convert Link<> to typedNoel Grandin2-7/+5
Change-Id: I49bf8192a2f5295890ead8ddc2452a5de4c93b20
2015-09-08convert Link<> to typedNoel Grandin11-19/+18
Change-Id: Ia2706c308c6297d05b2862e9f86fc0f2ee90e4f0
2015-09-08convert Link<> to typedNoel Grandin9-17/+15
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-07cppcheck: noExplicitCopyMoveConstructorCaolán McNamara1-4/+4
Change-Id: I8718ddd144bec48541e6412a8c9feb74d9391ecc
2015-09-07convert Link<> to typedNoel Grandin8-17/+17
Change-Id: I38f2c15b4f8bb1d7187b019d26a2644b087898c1 Reviewed-on: https://gerrit.libreoffice.org/18357 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04tdf#93097 oox: fix import of metadata from non-relative stream pathsMiklos Vajna2-0/+12
Commit ef2668bad976f1fbb70759887cafd35ea7833655 (PPTX import: fix missing document metadata, 2014-08-28) implemented metadata import for the PPTX filter, but in case the metadata stream is not an existing one, then OHierarchyHolder_Impl::GetListPathFromString() invoked by OStorage::openStreamElementByHierarchicalName() throws. The bugdoc is generated by a 3rd-party tool that always starts the stream path with a slash, and MSO seems to just ignore that: so let's do the same to be able to open the document. Change-Id: I6c0715adeb19b9055669f6a45055415dd2c44e28
2015-09-04convert Link<> to typedNoel Grandin2-15/+13
Change-Id: I743c74b134552eefb14d35e54491494160f1ffbd
2015-09-04convert Link<> to typedNoel Grandin8-21/+16
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03loplugin:stringconstantStephan Bergmann1-1/+1
Change-Id: If164df816050b88c74f131dd3afa7671496023a5
2015-09-03tdf#85303: SLIDESHOW cannot start at selected slide sometimesJulien Nabet1-7/+12
When Slide Show/Slide Show Settings is selected and Ok button is clicked the slide from "From" list box is stored in maPresPage and the fact that this var is not empty makes slideshow considers it must be used. So 2 things must be done: 1) Check first if "All Slides" has been selected In this case, don't read slide from "From" in next block (ATTR_PRESENT_DIANAME) and so let maPresPage empty 2) Empty maPresPage if "All Slides" has been selected to remove any existing value Change-Id: I6042ae2db6260e1f441a1c9db90f5de6de966f2a Reviewed-on: https://gerrit.libreoffice.org/18253 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03Fix some perl shebangs.Pedro Giffuni4-4/+4
Most important perl scripts already use a portable method but fix these nevertheless. (cherry picked from commit 93496a6c1e5b2ae1756dc9b8043e2267209387da) Change-Id: Id8b5e974356701e66f9dd8a6bd7a58fd4f5633ae
2015-09-03loplugin:stringconstant also for cases using char const v[] = "..."Stephan Bergmann1-1/+1
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
2015-09-03convert Link<> to typedNoel Grandin4-8/+5
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83 Reviewed-on: https://gerrit.libreoffice.org/18258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-02tdf#93830 txXfrm offset workaround works in rounded rectangle case as wellAndras Timar2-0/+25
Change-Id: I5d8df5c0d55e8dfd7c978b16b2b220c127f3dac9 Reviewed-on: https://gerrit.libreoffice.org/18226 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-09-02SetXXX(bool) with a default value of false are just wrongNoel Grandin1-1/+1
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-01sids unsortedCaolán McNamara1-2/+2
since commit 74ef8a4148f7d8fdf0d40481f879cdd13b27aafb Author: Maxim Monastirsky <momonasmon@gmail.com> Date: Sun Dec 7 01:18:06 2014 +0200 Introduce ParaspaceIncrease/Decrease commands in Writer and Calc Change-Id: I53dab158160ed9840404e60917fbb8725517bcd3
2015-08-31-fsanitize=float-divide-by-zeroStephan Bergmann1-2/+4
...as happens in CppunitTest_sd_filters_test with sd/qa/unit/data/ppt/pass/hang-16.ppt: > sd/source/core/sdpage.cxx:1101:57: runtime error: division by zero > SdPage::GetTitleRect() const sd/source/core/sdpage.cxx:1101:57 > CalcAutoLayoutRectangles(SdPage&, Rectangle*, rtl::OUString const&) sd/source/core/sdpage.cxx:1323:26 > SdPage::SetAutoLayout(AutoLayout, bool, bool) sd/source/core/sdpage.cxx:1595:5 > ImplSdPPTImport::Import() sd/source/filter/ppt/pptin.cxx:1025:21 > SdPPTImport::Import() sd/source/filter/ppt/pptin.cxx:161:12 > ImportPPT sd/source/filter/ppt/pptin.cxx:2744:17 > SdPPTFilter::Import() sd/source/filter/sdpptwrp.cxx:108:32 > sd::DrawDocShell::ConvertFrom(SfxMedium&) sd/source/ui/docshell/docshel4.cxx:453:16 > SfxObjectShell::DoLoad(SfxMedium*) sfx2/source/doc/objstor.cxx:790:23 > SdFiltersTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int) sd/qa/unit/filters-test.cxx:75:20 Change-Id: Ic6a339c0315e9bc3f28de8c26c3d9f2767c3509d
2015-08-31sd: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe69-167/+148
with the variadic variants. Change-Id: I01909ee45c31d17356e13b1ff2430440daff9aa7 Reviewed-on: https://gerrit.libreoffice.org/18146 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2-39/+39
Change-Id: I4f225ecbd40c240eca74756590afe678557cf023
2015-08-31sd: Don't crash when the sidebar is hiddenMaxim Monastirsky3-5/+6
Change-Id: I09a5019a98b529ba11f07392906a3e0fb7bc1bac
2015-08-30pClientData can be nullCaolán McNamara1-0/+0
Change-Id: I9375f84affdaef30d9b1ded31525e6b7b8709cbc
2015-08-29o3tl/cow_wrapper: remove boost dependencyDaniel Robertson3-0/+3
Remove boost dependencies from ::o3tl::cow_wrapper, and add the necessary includes to files including checked_delete and noncopyable that do not already include the necessary files. Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686 Reviewed-on: https://gerrit.libreoffice.org/18125 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-29check stream statusCaolán McNamara2-0/+8
Change-Id: I6b9537cf94ac1c5d996ba64ddf878745dadde254
2015-08-28check stream statusCaolán McNamara2-9/+25
Change-Id: I609c8c4f4e843601361b61f55e0325ad99db3c23
2015-08-28eof isn't a Error, so use good not GetErrorCaolán McNamara1-0/+0
Change-Id: Ie1df87c7eb9d391d0fa4a579f744051a1f1b2ae1
2015-08-28guard against 0 item sizeCaolán McNamara2-2/+9
Change-Id: I9c4c2f0fe2d892615b3c70e08da0cab6da13338a
2015-08-28check seeks and readsCaolán McNamara5-18/+32
Change-Id: I0c5c4784713376e0762bfbd197640f8d31b65562
2015-08-28clip strings to max available sizeCaolán McNamara2-6/+19
Change-Id: Icc1378c9c27b9b6d229bcffc6a63017f82be70d4
2015-08-28make PostUserEvent Link<> typedNoel Grandin26-63/+40
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-27check seeks and offsetsCaolán McNamara1-0/+0
Change-Id: I2b6ded138b9101415fc49e93e1ec3ebcd3a9d2ae
2015-08-27check seekCaolán McNamara1-0/+0
Change-Id: I358758999bb918e73cdee2224e575e72c2131453
2015-08-27check returns of SeekToEndOfRecordCaolán McNamara2-0/+0
Change-Id: Ia593dd0e2239a97f17bb03f005d22028da482445
2015-08-27check status of SeekToCaolán McNamara2-2/+4
Change-Id: Ia2bb397c3fdd783cab77a6b0dbc31c9e3d19326b
2015-08-27avoid loops in atom chainsCaolán McNamara2-1/+7
Change-Id: Icc40c0ee6c7d8d305cf7cc60cbf3e511c763aedd
2015-08-27check stream state after read attemptCaolán McNamara1-0/+0
Change-Id: Ie3836f2e95acab963634181a07565343501f00f8
2015-08-27check seek for successCaolán McNamara2-1/+5
Change-Id: I02420ffb3af009d08ce54a0932e2c7a287703a72
2015-08-27check SeekToEndOfRecord for successCaolán McNamara1-0/+0
Change-Id: I7413a4e9e491b65122eaadb38ad574161f1aa943
2015-08-27avoid hang in certain pptsCaolán McNamara2-1/+1
Change-Id: Iedba71b72fc815b274ca5e0da0903a558947cb06
2015-08-27check for stream status after a read, not after a seekCaolán McNamara2-10/+15
Change-Id: I984e99c1a1484547aa4d60bf301167f3cbc9f716
2015-08-27extend seek, loop ending tests to ppt specific codeCaolán McNamara2-14/+21
Change-Id: Id4419b6b902b742117e248870b6a663c9c58955f
2015-08-27config-less fallback valueCaolán McNamara1-0/+4
Change-Id: Id2ee43ff95b6d28252f58e4930b81faf8b3b4b7f
2015-08-27coverity#738814 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I16d5772b0f8455518866cb03729e9bab95be8087
2015-08-27Use a more meaningful name for the out-arg of GetHelpIdStephan Bergmann1-2/+2
Change-Id: I5fca36f79aa98606770c77dad5b757288bd47842
2015-08-27Clean up aEmptyStephan Bergmann2-4/+2
Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
2015-08-26Clean up aEmptyStrStephan Bergmann8-19/+15
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
2015-08-26various hangs, check seeks and record lengthsCaolán McNamara2-2/+4
Change-Id: Ided7f9376f41ee8cb1f6903e54a2d51e0e07e1a7
2015-08-26don't hang on unreachable record endsCaolán McNamara2-1/+6
Change-Id: I288f7ff0327831603eda6e827c8acbae678dfaff