summaryrefslogtreecommitdiff
path: root/sdext
AgeCommit message (Collapse)Author
2014-04-10It's "its", not "it's"Tor Lillqvist
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-08fdo#45001 fdo#77105 PDF Import: rotated text fixesVort
1. Fix 180 degrees text rotation; 2. Make rotated text fully editable. Change-Id: Ie937f29031bbd0146207ce83678db351b65d2f8d Reviewed-on: https://gerrit.libreoffice.org/8890 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-04fdo#43157 : clean up more OSL_POSTCONDMichaël Lefèvre
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16 Reviewed-on: https://gerrit.libreoffice.org/8832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-31fdo#49431 PDF Import: Improve line and space detection algorithmVort
Change-Id: Ia0d53e90f49fa020e0738e295a4584254e2b474e Reviewed-on: https://gerrit.libreoffice.org/8800 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-25coverity#982469 Unchecked dynamic_castCaolán McNamara
Change-Id: I6fa95fbd64f69cca1837b57f9c632f0bdbaec1d0
2014-03-25coverity#982468 Unchecked dynamic_castCaolán McNamara
Change-Id: Ie98fa4199ebfa96495bdb7fa4582b09926fac8f1
2014-03-23fdo#44710 PDF Import: Correction of position of rotated textVort
Change-Id: Ie53b25a6cec88c07a317c50bd0965282fac64ff0 Reviewed-on: https://gerrit.libreoffice.org/8725 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-12Remove unused HelpCloseListenerStephan Bergmann
Change-Id: I9040a1262b31f8d0f19594b6efcf12b2c38be7be
2014-03-03fdo#40513 PDF Import: Hack: Replace incorrect values of font's ascent propertyVort
Change-Id: Ib7bd6e15fff5213b5d935c6f03f2c65ea3f6ca50 Reviewed-on: https://gerrit.libreoffice.org/8416 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from sdextAlexander Wilms
Change-Id: I792249b9e92db9af4daee0bd835e04044d29bca5 Reviewed-on: https://gerrit.libreoffice.org/8308 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23coverity#983817 Uncaught exceptionCaolán McNamara
Change-Id: I91883489d9557c5e3779c6b16bf377c1b95e49da
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20fdo#75195 PDF import: Revert commit 128adf7e5c06fff378c8d72b44ec4be1e462984fVort
Change-Id: Icb03088809e57a388317f98046f9de3197772a41 Reviewed-on: https://gerrit.libreoffice.org/8126 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20cid#983380 Dereference before null checkNoel Grandin
Change-Id: I9504738a5291b85362a80e630d9e413825fa6572
2014-02-18fdo#37246 PDF Import: Color to string conversion fixVort
Change-Id: I5ec9f0246f6c2d1b12a389906d04133b2f5a6f9f Reviewed-on: https://gerrit.libreoffice.org/8106 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-12fdo#45003 PDF import: Implementing linejoin and linecap propertiesVort
Change-Id: I4b09cd7b970d5aca4500ae333edef0e4c2f618b9 Reviewed-on: https://gerrit.libreoffice.org/8009 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-08cppcheck: duplicateExpressionJulien Nabet
See http://nabble.documentfoundation.org/Cppcheck-Same-expression-on-both-sides-of-in-PresenterPaneBorderManager-cxx-sdext-td4094873.html Change-Id: I7dbb8d0254ca77127250d6ca02de7b945ef8051e
2014-02-08Rename makefile to match the name of test.Matúš Kukan
Change-Id: I00f11f644b92f18f7a139bb8ece67c57a971f17e
2014-02-04fdo#35143 PDF import: Reimplementation of whitespace detection functionVort
Change-Id: I5b230aaebf72b70bbb7e206414a5ac0e01f01f86 Reviewed-on: https://gerrit.libreoffice.org/7564 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-02fdo#54938 Convert basctl, mysqlc, sdext, svgio, writerp. to cppu::supportsSer.Alexandre Vicenzi
Change-Id: I60128dbb5bf83f25eea847fe655d7126c9077414 Reviewed-on: https://gerrit.libreoffice.org/7756 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-01-28bool improvementsStephan Bergmann
Change-Id: I969de97522ae2e3f8693e82a500a73e28451ef77
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-10Use proper bool operationsStephan Bergmann
Change-Id: If9d439faba5a02b50152dfa1090b9eb1afa0fc18
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-18fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa
Change-Id: I8dfbbb36cca3cf71c8d347b248dd206c447db6d2 Reviewed-on: https://gerrit.libreoffice.org/7136 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa
Change-Id: I6f75d0df0ddafc892fef0ce1bfdcdd6c70151afc Reviewed-on: https://gerrit.libreoffice.org/7104 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Unnecessary use of OUString constructor inside OUStringBuffer constructorNoel Grandin
Convert code like: OUStringBuffer sVal(OUString("0x")); to: OUStringBuffer sVal("0x"); Change-Id: Idc5a3f6a8bf1dc33f93c2b488f866c8ea58d582a
2013-12-17Remove unnecessary use of OUString constructor in OUStringBuffer::append callsNoel Grandin
Convert code like aStrBuffer.append(OUString(" AS ")); to aStrBuffer.append(" AS "); Change-Id: I8c1884b5a875f40f0b5e511b6ef38c6c8eeee656
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-05sdext: clean up some pointless #ifdefsMichael Stahl
Change-Id: Ic23c0ccc45d7a98b3581feab43fc4c8c8aef9013
2013-12-02Drop duplicate #includeTakeshi Abe
Change-Id: Ife8ebbb5e46704c5d2ff46cc345b4ed926e7dc12
2013-11-29Further XCanvas != XBitmapCanvas cleanup.Thorsten Behrens
It seems I missed a few places in 21ec9beae29b19b8ec6f0a16fd0e708e4f210208, getting that straight now hopefully. Change-Id: I34fc8df2d1ee65bef0639b3de9487ff311bed89a
2013-11-29Fix fdo#71527 no unguarded ptr dereference here.Thorsten Behrens
This is the real problem - mxPane can be validly NULL. Change-Id: Ie8d055db9bfb68cb9031fa970518343f5aec6619
2013-11-29Revert "Resolves: fdo#71527 don't crash in presenter console"Thorsten Behrens
This reverts commit bae01385c895a100b5371879889e606927cff877. Change-Id: Id149bae0904fd6c2120209d69490d0b257ac3f64
2013-11-21remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin
Convert code like this: if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aStr == "rem") which compiles down to the same code. Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9
2013-11-20Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20cppcheck: Variable is reassigned a value before the old one has been usedCaolán McNamara
Change-Id: Ifc16473c426bca2235e84b0d71291756074712bb
2013-11-20Resolves: fdo#71527 don't crash in presenter consoleCaolán McNamara
but we're now dropping slides in there for some reason so this is just a don't crash band-aid and not the fix for the deeper problem Change-Id: I2f70471d03979ffb86b6289e7a432f4505c1b556
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14GCC diagnostic push / pop requires HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPEMichael Stahl
Change-Id: I0765649b94b370caf92a29a8ff2224e335196612