summaryrefslogtreecommitdiff
path: root/sd/source
AgeCommit message (Collapse)AuthorFilesLines
2015-09-18check stream status and string lengthsCaolán McNamara1-1/+3
Change-Id: I99f3d4a2ec760228f485d01fce856deb9c068431
2015-09-18if nSize was 1 with unicode encodingCaolán McNamara1-1/+2
nSize would wrap around in lcl_getMaxSafeStrLen Change-Id: Ie99d4abc271a6fe72b256a6bfe0757609e9523f9
2015-09-18rework this so we don't read the string, backup and re-read the string againCaolán McNamara3-42/+40
Change-Id: If2715430a153fd86e7000af2c91bcdfc60464046
2015-09-18reusing i here from the outer loop is definitely bogusCaolán McNamara1-2/+2
Change-Id: I4ee52c76b2c1723639185bc99b85d83be5b4fdd7
2015-09-17revert for mac and win unit case crashes after boost->stdCaolán McNamara229-969/+1010
Change-Id: I82c7084f203a834c2d42f9527705288e6036019b
2015-09-17boost->stdCaolán McNamara229-1010/+969
Change-Id: I1e6a7fd66f90e6acd803c6cd464f1d73252f7bcb
2015-09-17convert Link<> to typedNoel Grandin23-149/+125
Change-Id: I66e81dafa08b2e2a43b4b696741676e093439024
2015-09-17convert Link<> to typedNoel Grandin3-11/+10
Change-Id: Ifdcd9121b16b7f33632cf6671449152ebee8beef
2015-09-17convert Link<> to typedNoel Grandin3-10/+9
Change-Id: Ibbfcfe019ea4f0a414e2760779d61f1948ac373d
2015-09-17remove unused Link<> vectorNoel Grandin1-2/+0
Change-Id: I983f02ade797ea7399dcbb5f56ce3391cbc65591
2015-09-17convert Link<> to typedNoel Grandin4-13/+9
Change-Id: Id5c1ef7e094ab3796a09f3f451903fff525aaf97
2015-09-17convert Link<> to typedNoel Grandin5-11/+10
Change-Id: Ic8def516b5a45dcb1d859eb74962a36c2b608f87
2015-09-17convert Link<> to typedNoel Grandin4-20/+18
Change-Id: Icb335b68df33eccf0b972fad64954806cd93b68d
2015-09-17convert Link<> to typedNoel Grandin6-41/+38
Change-Id: If1544b0e38500d11e18ca99725f9533a29b2beb7
2015-09-17convert Link<> to typedNoel Grandin4-11/+10
Change-Id: I83b3a4a637db8f623b18615227a495a15078561f
2015-09-17convert Link<> to typedNoel Grandin3-6/+5
Change-Id: I2f5b962da2d14f68b34029cac4ec7a7ed51937c6
2015-09-17remove unused Link<> fieldsNoel Grandin1-3/+0
Change-Id: I824cfe9c909be31e8205d05cc5c6136a17fd98bb
2015-09-17convert Link<> to typedNoel Grandin1-7/+6
Change-Id: I91bef82236613435fadc8fed48f37f3606f5466a
2015-09-17remove unused Link<> fieldsNoel Grandin1-7/+1
Change-Id: Ifad5e3646a519c2dd41ff62b798ebd0811377e5e
2015-09-17convert Link<> to typedNoel Grandin3-13/+17
Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641
2015-09-17convert Link<> to typedNoel Grandin2-5/+3
Change-Id: I9607eeb7ce800004bceeda25ae819cf8b5744979
2015-09-17convert Link<> to typedNoel Grandin2-12/+9
Change-Id: Ida49b6a482efa12703ce294b9665273ad2d8f68b
2015-09-17convert Link<> to typedNoel Grandin2-6/+5
Change-Id: I93017f16affe16e8e452cd829bc4f9b495670d4d
2015-09-17convert Link<> to typedNoel Grandin1-2/+2
Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
2015-09-16convert Link<> to typedNoel Grandin5-20/+15
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-15convert Link<> to typedNoel Grandin2-5/+4
Change-Id: I5c4021c9cb3fdeace7f7d99d580dc7fe2f7c354a
2015-09-15convert Link<> to typedNoel Grandin1-6/+9
Change-Id: Id8ea19a0fe04061c6ec35229f41c164b4ebd408c
2015-09-14Fix typo in (my) commit 6f971c4de0d5377a9dd8e010512f5abbd399231eMatteo Casalin1-1/+1
Change-Id: I6253addfede852c9c954de59c465a8cfd729ddf9
2015-09-14Avoid getTokenCount in ImplSdPPTImport::ImportMatteo Casalin1-9/+11
Change-Id: I7ed99aa72bc775b98f5ca738c35706629a58dc96
2015-09-14convert Link<> to typedNoel Grandin2-6/+4
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8
2015-09-13Avoid getTokenCount in CustomAnimationPreset::getProperties/hasPropertyMatteo Casalin1-14/+16
Change-Id: Ic5b9c152ef2faf8333ad797232e26b817668e965
2015-09-12Use sal_Int32 and LISTBOX_ENTRY_NOTFOUND for GetSelectEntryPosMatteo Casalin1-6/+6
Change-Id: I07f6f4426e87cd4066663e0ba7c26917bb984cbd
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin6-16/+13
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
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 Grandin1-4/+2
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-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-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-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