summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2014-05-28update_pchThomas Arnhold2-1/+4
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28coverity#707105 Uncaught exceptionCaolán McNamara2-12/+3
Change-Id: Ice8f9633a9dddd492ce8c5d1d88961ecbed59216
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara4-13/+10
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5
2014-05-27coverity#1209951 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: I11bdec73ea12e189cca41f5f275616a138cf5793
2014-05-27coverity#1209953 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: Ia167c532afc8ba900629b3f056021deed45185ea
2014-05-27Avoid possible memory leaks in case of exceptionsTakeshi Abe6-52/+42
Change-Id: Id75c459cfa59fe2adfc0f748dc33d0bc9e271507
2014-05-27cid#707134 Uncaught exceptionNoel Grandin2-2/+3
Change-Id: I5f4f71df60defe2a2849b40a4eddeb48bfe3a2c9
2014-05-27cid#707135 Uncaught exceptionNoel Grandin2-2/+2
Change-Id: I49d85f11bfe3a7cfdf3fd6cf252473a3f25bebe3
2014-05-27cid#707139 Uncaught exceptionNoel Grandin1-2/+3
Change-Id: I4d821c576fef09ca7935a931b1632238ae550df9
2014-05-27remove unnecessary use of Reference constructor in throwNoel Grandin1-2/+1
Convert code like this: throw IOException("xx", Reference< XInterface >(static_cast<OWeakObject*>(this)) ); to this: throw IOException("xx", static_cast<OWeakObject*>(this) ); Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin3-3/+3
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-26coverity#983778 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I27ebb40f21a15c7e1696217a53d8c07e1d1161ad
2014-05-26coverity#707122 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: I4a2da7874493169ad60b81be59d14269418aae96
2014-05-26Avoid possible memory leaks in case of exceptionsTakeshi Abe7-27/+26
Change-Id: I185e957da57f4da7dbd2b95496bcd5349fc7d039
2014-05-26coverity#1209647 Missing break in switchCaolán McNamara1-0/+4
Change-Id: I1942735bd2c8922abc95e927a249fd82ecdb31c5
2014-05-26coverity#705221 Missing break in switchCaolán McNamara1-1/+2
Change-Id: Ib798371f42dff6fcc67ea16c3f0ddf579160a87e
2014-05-24Remove redundant checksMatteo Casalin2-20/+14
Change-Id: I4357e425e0459c9cc8873eba8a8ed1c5a34e9327
2014-05-24sal_uInt16 to size_tMatteo Casalin2-4/+4
Change-Id: I46d85e82376a3135408ab77ad31b76a5edbe9ce7
2014-05-24coverity#983801 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ib47f77fbd5ab03a04d40e95fa8338af238531a3b
2014-05-24coverity#983802 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I06be01500a767e600a7f391a3e74a92d05b6d73f
2014-05-24coverity#1000603 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: Ia750c9cc1c6a4182d220ad22013ac1450c498539
2014-05-24coverity#1027647 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: I89a4cf7a8146205bc5c70e8e34111ff54afc5cf3
2014-05-23CustomAnimationCreateDialog: select previously set misc animationZolnai Tamás1-1/+1
Regression from 9695f38ca4ab26b40524f2eade98c45f0360131d. Change-Id: I8777fd8fa3e31c67b6645044d262fd4c5f645634
2014-05-23coverity#1078582 Dereference after null checkCaolán McNamara1-1/+1
Change-Id: I3b972510871f36a3c7877b38d3a012aa88acf4c5
2014-05-23coverity#705475 Dereference null return valueCaolán McNamara1-0/+3
Change-Id: I75c4525bf6e04ac25c0d9ab2f926faf40b82739b
2014-05-23coverity#705865 Dereference before null checkCaolán McNamara1-1/+0
Change-Id: Ib7b57da47d891725cd33073a8e7ed2f4baba74e9
2014-05-23coverity#705860 Dereference before null checkCaolán McNamara1-1/+2
Change-Id: I05f23c5d1581f6673660d59f7fe7e5f89d7d0919
2014-05-23coverity#1215279 Explicit null dereferencedCaolán McNamara1-6/+9
Change-Id: I543cde8225a78be9a9cefeaa7ebf6a5674caf9d0
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin1-1/+1
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23Avoid possible memory leaks in case of exceptionsTakeshi Abe2-53/+39
Change-Id: Ifd98e11380bf00f6126e4c81bcd0cbaf5b22f70d
2014-05-22cp#1000077: Set 'modified' document property more consistently.Matúš Kukan1-11/+0
Update document info at one place, so that it works for other formats like .doc, .docx, ... too. Change-Id: If71799b491d2210f0d3bdbdb05f91f26c986a260
2014-05-22cppcheck: Function parameter 'aBox' should be passed by referenceThomas Arnhold2-11/+11
Change-Id: I60fc65799e2fd8402a8bdb1e2850b9b34cd38a27
2014-05-22Avoid possible memory leaks in case of exceptionsTakeshi Abe9-38/+28
Change-Id: Ic88b22895c2eb4144d31f22a0f7bc98971873262
2014-05-21crash because iterator position wasn't changed in stl conversionCaolán McNamara1-3/+12
regression from e0284f4bba59912e1c49cb36936e041e891a5833 Here's the original code using the pre stl iterators. if( !pPara && nDepth > 0 && rSet.GetItemState( EE_PARA_NUMBULLET ) == SFX_ITEM_ON && pOutliner->GetDepth( (sal_uInt16) pOutliner->GetAbsPos( (Paragraph*) pList->First() ) ) > 0 ) pPara = pOutliner->GetParagraph( 0 ); // Put NumBulletItem in outline level 1 Hidden in there is a pList->First() which only gets called if the prior conditions are true. pList->First() resets the index of the internal pList iterator position of pList to 0 i.e. the next call to pList->Prev will now return 0. The equivalent in the post-stl-conversion code is to jump the reverse_iterator iter to the last position in the reverse view. Create a level 10 entry in master view, select level 10, and use the bullets and numbering dropdown from the side panel to see this crash Change-Id: I52c22ea52020feb0fb75924f63ebe225be462071
2014-05-21don't crash on formatting outline level 10 in master viewCaolán McNamara1-24/+29
There are only 9 outline level styles, but we are allowed (for some nutball reason) to create 10 levels, trying to change the format of level 10 will then crash when trying to apply its formatting to the non-existent underlying style Change-Id: Ic240322f98d832bc59edb502dd6d4988aa022481
2014-05-21glTF objects: set playback loop by defaultZolnai Tamás1-1/+5
Change-Id: I17f5636196ba2b14f46f805ce013af5e6bede9a8
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet8-23/+23
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-21Avoid possible memory leaks in case of exceptionsTakeshi Abe7-34/+19
Change-Id: Idb8f0df3848416d96299ebc47ac5bd53d766e52c
2014-05-20Related: fdo#78151 disable promote or demote outline levels in master viewCaolán McNamara1-63/+71
it doesn't make sense in master view to do that Change-Id: I838422f93131b8a92745a624738c5be3a7ed3459
2014-05-20Related: fdo#78151 fix 'pIds unsorted' warningCaolán McNamara1-2/+2
Change-Id: I00c533a25a851d8bf57f1b0758e98915d2291ee9
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin4-5/+5
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-19sd: remove using namespace from headersThomas Arnhold2-5/+4
Change-Id: I918733eb5f78b40ae990975035d11e396274c5cc
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold12-65/+0
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19Avoid possible memory leaks in case of exceptionsTakeshi Abe10-40/+34
Change-Id: I61fe5f5fff157531de9962a2dd4e6e0431e8601c
2014-05-18fdo#46839 Convert line color picker to split buttonMaxim Monastirsky2-2/+2
Change-Id: I4987cc9ffba675009f2d2ae9f6b12ed4ee02fe13
2014-05-18sd: Use correct SID instead of 0Maxim Monastirsky1-1/+1
Change-Id: I181519578b2984463ad20f4b028917bcb49ba4d0
2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15Julien Nabet7-17/+17
Change-Id: I38e855966598342eb2352e70e04f7a5e09e54f83
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante3-11/+6
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-16coverity#708815 Unused pointer valueCaolán McNamara1-1/+0
Change-Id: Ie58034f0475dc9a876eeb54f3bc6a3c415c3e0a1
2014-05-16coverity#708811 Unused pointer valueCaolán McNamara1-3/+1
Change-Id: I18ed52cc6c00c5c462629c4fff7804ea22035e3a