summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2014-05-24coverity#983801 Uncaught exceptionCaolán McNamara
Change-Id: Ib47f77fbd5ab03a04d40e95fa8338af238531a3b
2014-05-24coverity#983802 Uncaught exceptionCaolán McNamara
Change-Id: I06be01500a767e600a7f391a3e74a92d05b6d73f
2014-05-24coverity#1000603 Unchecked dynamic_castCaolán McNamara
Change-Id: Ia750c9cc1c6a4182d220ad22013ac1450c498539
2014-05-24coverity#1027647 Unchecked dynamic_castCaolán McNamara
Change-Id: I89a4cf7a8146205bc5c70e8e34111ff54afc5cf3
2014-05-23CustomAnimationCreateDialog: select previously set misc animationZolnai Tamás
Regression from 9695f38ca4ab26b40524f2eade98c45f0360131d. Change-Id: I8777fd8fa3e31c67b6645044d262fd4c5f645634
2014-05-23coverity#1078582 Dereference after null checkCaolán McNamara
Change-Id: I3b972510871f36a3c7877b38d3a012aa88acf4c5
2014-05-23coverity#705475 Dereference null return valueCaolán McNamara
Change-Id: I75c4525bf6e04ac25c0d9ab2f926faf40b82739b
2014-05-23coverity#705865 Dereference before null checkCaolán McNamara
Change-Id: Ib7b57da47d891725cd33073a8e7ed2f4baba74e9
2014-05-23coverity#705860 Dereference before null checkCaolán McNamara
Change-Id: I05f23c5d1581f6673660d59f7fe7e5f89d7d0919
2014-05-23coverity#1215279 Explicit null dereferencedCaolán McNamara
Change-Id: I543cde8225a78be9a9cefeaa7ebf6a5674caf9d0
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
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 Abe
Change-Id: Ifd98e11380bf00f6126e4c81bcd0cbaf5b22f70d
2014-05-22cp#1000077: Set 'modified' document property more consistently.Matúš Kukan
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 Arnhold
Change-Id: I60fc65799e2fd8402a8bdb1e2850b9b34cd38a27
2014-05-22Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: Ic88b22895c2eb4144d31f22a0f7bc98971873262
2014-05-21crash because iterator position wasn't changed in stl conversionCaolán McNamara
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 McNamara
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ás
Change-Id: I17f5636196ba2b14f46f805ce013af5e6bede9a8
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-21Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: Idb8f0df3848416d96299ebc47ac5bd53d766e52c
2014-05-20Related: fdo#78151 disable promote or demote outline levels in master viewCaolán McNamara
it doesn't make sense in master view to do that Change-Id: I838422f93131b8a92745a624738c5be3a7ed3459
2014-05-20Related: fdo#78151 fix 'pIds unsorted' warningCaolán McNamara
Change-Id: I00c533a25a851d8bf57f1b0758e98915d2291ee9
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin
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 Arnhold
Change-Id: I918733eb5f78b40ae990975035d11e396274c5cc
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
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 Abe
Change-Id: I61fe5f5fff157531de9962a2dd4e6e0431e8601c
2014-05-18fdo#46839 Convert line color picker to split buttonMaxim Monastirsky
Change-Id: I4987cc9ffba675009f2d2ae9f6b12ed4ee02fe13
2014-05-18sd: Use correct SID instead of 0Maxim Monastirsky
Change-Id: I181519578b2984463ad20f4b028917bcb49ba4d0
2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15Julien Nabet
Change-Id: I38e855966598342eb2352e70e04f7a5e09e54f83
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
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 McNamara
Change-Id: Ie58034f0475dc9a876eeb54f3bc6a3c415c3e0a1
2014-05-16coverity#708811 Unused pointer valueCaolán McNamara
Change-Id: I18ed52cc6c00c5c462629c4fff7804ea22035e3a
2014-05-163D model insertion UI: add *.dae and *.kmz filtersZolnai Tamás
Change-Id: I20f6bea3b1f5ba03cc461f461458f5460da716c3
2014-05-15sd html test: move local vars on top, clean-upTomaž Vajngerl
Change-Id: Iac393561337825e316a974801a6061944b8fd72a
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14Unify utl::TempFile ctorsStephan Bergmann
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
2014-05-14Keep only one class for toolbox color controlsMaxim Monastirsky
instead of 5 (mostly identical) classes. Also the following bugs were fixed: * All pickers now use split buttons. (fdo#45671) * Color palette now indicates the current color. (fdo#73891) (Previous changes related to that bug are reverted as part of this commit.) * Selecting a color from a float panel now updates the button. (fdo#77683) * For Font color/background color in Writer, the color that is shown on the button, is always the one that's actually used. (Can be a different color after hiding the toolbar.) * For Font color/background color in Writer, the button now indicates when we're in the format paintbrush mode. (Removed in 085e8a07e61ef2d3a82e11094d8773ab17cfdb3c for some reason.) Change-Id: Idb4829552240c52fb0882aca627c8177bbe2f839
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-13Sub Title -> SubtitleCaolán McNamara
Change-Id: I1a0bcf7548699845752ac3cf49232655c2fb4fc0
2014-05-13elated fdo#60338: #error on umask(3) calls in currently unused codeStephan Bergmann
(as dnssd_clientstub.c is only used on Windows), should we ever want to use it. Change-Id: I5d9082ae69c505e4d60bbe8e60fdeaaf963a4614
2014-05-12Resolves: rhbz#1096295 hard to distinguish selected from mouseoverCaolán McNamara
Change-Id: Id6c11afd161bea15266a54a595bf7ee305e954f0
2014-05-11coverity#1213133 Dereference after null checkCaolán McNamara
Change-Id: I6b4c1fb7001d7e85810e9c60eadcb378b79b48df
2014-05-11coverity#705853 Dereference before null checkCaolán McNamara
Change-Id: I0ef6645725699004d3ec93737135fe18640b1079
2014-05-11coverity#736795 Dereference before null checkCaolán McNamara
Change-Id: Ic96095d6c8bf6a0ecb05452f2411d025e3965a57
2014-05-11Fix previous commitJulien Nabet
Change-Id: Id9d59f73d3526114b295c75dadf908234ca5f54b
2014-05-11Fix previous commitJulien Nabet
Change-Id: Iebd7674cc8afb547821878dd1565b0f300d22f1f
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-10SdStyleSheetPool: de-dent thatMichael Stahl
Change-Id: Ifce20de3068e12c42bfcd115ad852371f97b971c
2014-05-10SdStyleSheetPool: fix numerous regressions when copying in Draw...Michael Stahl
... from commit 0c17ccc493d0c7a80f37600dae76a09a119bef78. Change-Id: Ib0848da26091899961c5ed95879f9306b13653dd