summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)Author
2014-02-06Typo: pasword -> passwordJulien Nabet
Change-Id: I612bf6bb620a76f9fa3542145e942969b9365d98
2014-02-06coverity#707771 coverity gold, Uninitialized m_refCountCaolán McNamara
Change-Id: I98398a3cd7a86a5f31c711f7f1cff0d467a1d2e5
2014-02-06coverity#707770 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie324197ac0069d8c534cee7a2bae524f9d7f2207
2014-02-02drop unused aURLSTCaolán McNamara
Change-Id: Id009e6c372a5586be2eb84882d3feec8af78e30d
2014-02-01cppcheck: redundant assignmentJulien Nabet
Change-Id: I62fbbe97c24deb45d8a79463e463a6783201ba98
2014-01-31Remove UNOIDL "array" and "union" vaporware remnantsStephan Bergmann
...and deprecate what cannot be removed for compatibility. Change-Id: I1ea335af775b867b468b8285113631167729a92a
2014-01-30reset Stati is presumably to reset stateCaolán McNamara
Change-Id: Ib448d4e43178dedea6bdaebfc78d850b07aebe3e
2014-01-30fdo#39468 Translate German commentsSven Wehner
Also remove ASCII art, and fix minor typos. Note: I left the unknown word "Stati" as is. This could be an incorrect plural for "status". Change-Id: Ic19407c0ebb3aba3ebba4940b2511ba5b8dc825e Reviewed-on: https://gerrit.libreoffice.org/7716 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-29Remove some redundant castsStephan Bergmann
Change-Id: I03317f55f5e08b131302190f34169054bacbeb28
2014-01-29bool improvementsStephan Bergmann
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-28bool improvementsStephan Bergmann
Change-Id: If3402725c9cbff5df45043bd2ecd22dd6241c052
2014-01-28coverity#705810 Dereference before null checkCaolán McNamara
Change-Id: I2fab51f08c461faaf4b88b4b7c0b887ba877226c
2014-01-28coverity#705811 Dereference before null checkCaolán McNamara
Change-Id: I275739819715f1537e80d621b19a88a6fdbab95b
2014-01-27bool improvementsStephan Bergmann
Change-Id: I757e19313576d2c3d13af1cb720f182f0de91613
2014-01-26fdo#54938 Convert extensions to cppu::supportsServiceAlexandre Vicenzi
Change-Id: If3675c28a204168d7385b1421dbb70b2a9b719e2 Reviewed-on: https://gerrit.libreoffice.org/7648 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-23Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Missing overloads of insert() for bool have been added to OStringBuffer and OUStringBuffer (which required dropping one !VALID_CONVERSION check that would now pick that overload, but would be flagged by compilerplugins/clang/pointertobool.cxx). Change-Id: I2d64cd923b8f47bfaa31e753def6515c29a3f8c9
2014-01-23SfxNoLayoutSingleTabDialog not needed anymoreCaolán McNamara
all single tab dialogs are .ui enabled now. So now we can remove SfxNoLayoutSingleTabDialog and merge SfxSingleTabDialog and ~SfxNoLayoutSingleTabDialogBase together Change-Id: If0acc792d85b7d399572257d7e9b0e12993ba3fe
2014-01-22remove SvStream::operator<< methodsNoel Grandin
.. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-22bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
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-20misuse of OUString::boolean on sal_uInt8 valuesCaolán McNamara
regression since 64b993e046f23baaacaff1572b7d2a816588b5ef Change-Id: Ifc907a34430c36a64318fc42342e630e2b84ad13
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-17Window::Notify should return boolStephan Bergmann
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-14Fix indentationTor Lillqvist
Change-Id: I93309674ef50e8ca7438874378fb01484bb7f9f3
2014-01-14Avoid use of nonexistent variable evem in commented-out codeTor Lillqvist
Change-Id: Icc9def55a814fc1309ce143a84effc140a90a92b
2014-01-14fdo#47689: Avoid crashing mdworker: Don't use uninitialized variableTor Lillqvist
It's the isCustom field that should be checked to see whether the customAttribute field has been assigned or not. Change-Id: I5d2af26b675ab0cbc0e1844eb98ebaf5145eb73d
2014-01-13GetCharPos returns EDIT_NOLIMIT on failureCaolán McNamara
Change-Id: Ie65526e66a71561aa64ed3517097d1274ffe7db4
2014-01-10Remove odd code that does not make any senseStephan Bergmann
For one, NPPrint.mode must be either NP_FULL or NP_EMBED, so assigning TRUE is odd. And for another, the value of printInfo->mode is read again in the next line, so assigning anything to it here looks like an error anyway. Change-Id: Icd5a7ceabd07ed8b716e2fc90b214b7da5301451
2014-01-10Be explicit when using bool as integral valueStephan Bergmann
Change-Id: I21e24bd39a0872df3077d45c257251c253957489
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-06Resolves: #i123817# prepare codebase for updating to boost 1.55Herbert Dürr
(cherry picked from commit c31988351c10e9f3fd783730d95da34efd52c153) Conflicts: basic/source/comp/parser.cxx basic/source/comp/token.cxx dbaccess/source/ui/dlg/generalpage.cxx sc/source/ui/unoobj/chart2uno.cxx vcl/quartz/salbmp.cxx Change-Id: Ic9580f2d4a44959cb3e38906eb4153b2c2a54899
2013-12-27cppcheck: reduce scopeJulien Nabet
Change-Id: I14956a86b8c83b9432c1eda511371beb026fd680
2013-12-27Transex3: NO_LOCALIZE_EXPORTZolnai Tamás
In the past, NO_LOCALIZE_EXPORT macro must be used to skip uneeded parsing of src files which has no localizable content. It is unsued by now and it is more effective to handle this files on gmake level: gb_SrsTarget_add_nonlocalizable_files gb_SrsTarget_add_nonlocalizable_templates Plus remove some empty src file. Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-19A singleton is not a serviceStephan Bergmann
Change-Id: I9059370e21e753a9578f231fd0c0eb0a1d6a981e
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-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
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-16uiconfig is a l10n-relevant targetBjoern Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-16convert control font dialog to .uiCaolán McNamara
Change-Id: I44f6f587dffe047d4aef7e32233bafe54a77cb6d
2013-12-13cppcheck: Possible inefficient checkingJulien Nabet
Change-Id: I0d9f1eadb6dc863f1e5606ef2d166881e6cf6c0a
2013-12-13Targetted text updates, with seasonable changes before l10n freeze.Michael Meeks
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-12Do not use C++-UNO internal static_type functions in client codeStephan Bergmann
...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-10Drop duplicate #includeTakeshi Abe
Change-Id: Ib8969d5cd4898b81a5dcd90dc313abd28adfe052