summaryrefslogtreecommitdiff
path: root/comphelper
AgeCommit message (Collapse)Author
2014-09-11create a master document template typeCaolán McNamara
of application/vnd.oasis.opendocument.text-master-template with suffic otm https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html desktop/icons/oasis-master-document-template.icns is just a copy of desktop/icons/oasis-master-document.icns because I can't draw Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1 Reviewed-on: https://gerrit.libreoffice.org/11350 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-30coverity#706466 Uncaught exceptionCaolán McNamara
and coverity#706463 Uncaught exception Change-Id: I77cb09054f00d86cd3e206e44ef4942ddf148a7f
2014-08-21stario -> css::ioThomas Arnhold
Change-Id: Iad96e0a2bfd6c126c696f14919dbfd8e072dd230
2014-08-21starcontainer -> css::containerThomas Arnhold
Change-Id: Ie6e75483aa4262a5f66a4c557015af8b3c02d592
2014-08-21starawt -> css::awtThomas Arnhold
Change-Id: I76dd16aa2c42a649162ea2e37c824af30cdd557b
2014-08-21comphelper: starbeans -> css::beansThomas Arnhold
Change-Id: Iedfc4460194f179b20d734cb7671894213c77008
2014-08-21comphelper: starutil -> css::utilThomas Arnhold
Change-Id: If4c0d404b0f7027837dcc245b5b7d21b1f749347
2014-08-21comphelper: starlang -> css::langThomas Arnhold
Change-Id: Ie8adb5b81df51fd973cbb786f27ea3ef1462679c
2014-08-21comphelper: staruno -> css::unoThomas Arnhold
Change-Id: I21991280c5b7e4c6d0c200f4489c89a9f4fbc385
2014-08-20java: remove modifiers implied by the contextNoel Grandin
found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
2014-08-20java: remove unnecessary return statementsNoel Grandin
found by PMD Change-Id: I3d150421948d17eaed34fac2b1a212da34288d1a
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-17coverity#1231667 Unchecked return valueCaolán McNamara
Change-Id: I40d8fc61b1e488955faa61c868877c7b6487c529
2014-08-09Resolves: #i125386# secured user request and changed some bools to bitfieldArmin Le Grand
(cherry picked from commit 5e3cbe056c19bea5018dbf1fd4b2bc8f8b030ff3) Conflicts: comphelper/inc/comphelper/embeddedobjectcontainer.hxx comphelper/source/container/embeddedobjectcontainer.cxx sfx2/source/appl/linkmgr2.cxx svtools/source/misc/embedhlp.cxx Change-Id: I7e9b20a87ca6afe8cb91c577860a6c6b72368ee9
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-07-29Include <algorithm> for std::minTor Lillqvist
Change-Id: If2bf31494f1354ff3856ad8b32f6799042e23b18
2014-07-13coverity#706282 Uncaught exceptionCaolán McNamara
Change-Id: Icca233fdc6d841d1bf51f918b83f3eef2cd5952e
2014-07-13coverity#706281 Uncaught exceptionCaolán McNamara
Change-Id: I469b812c666801db5e3a6fac1d6152afd80cf39a
2014-07-10Use OUStringHash here.Kohei Yoshida
Change-Id: I37625fb421e5b20f299fccccbc9d5ac74c31de3c
2014-07-09Pass a useful exception message.Kohei Yoshida
Change-Id: Idde024a7b6896571d159c3983ef1985fa12d0c5a
2014-07-08use SimpleReferenceObject in comphelper moduleNoel Grandin
to replace hand-rolled version Change-Id: Ie4e66d2f1f893c04be589877ef53f470ca74c9eb
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-03comphelper: sal_Bool -> boolStephan Bergmann
Change-Id: I7d7ae1f5ddff0cf7d11a407b190256f37a71d48a
2014-07-02Revert "comphelper: sal_Bool -> bool"Stephan Bergmann
Oops, this reverts commit c95ff75df274e3d84458e928ee96870bc8b663b3.
2014-07-02comphelper: sal_Bool -> boolStephan Bergmann
Change-Id: Icde90101b6adfa766c8abbeb55c518725e6596e1
2014-06-29Typo: conteiner->containerJulien Nabet
Change-Id: Idf1294c7da00621900d41c16473b862ee8fc502d
2014-06-26clang: Result of operation is garbage or undefinedCaolán McNamara
Change-Id: I49f58ae6a7c046af4c3de8d35219ffe2e4ba8f20
2014-06-25fixes for up-casting to Reference<XInterface>Noel Grandin
Fix regressions introduced with 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking Reference constructor to reduce code noise" Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: Iae319f84028bb2468ca663afe9a82eb3cf46ae37
2014-06-13coverity#983616 Uncaught exceptionCaolán McNamara
Change-Id: I7414fffb0ab0aa7c52ba58d666c26abc4367798c
2014-06-13coverity#706280 Uncaught exceptionCaolán McNamara
Change-Id: I41d841718da2eab8a6f424df694ba8ea4e450bac
2014-06-13coverity#706287 uncaught exceptionCaolán McNamara
Change-Id: Ie2ec61c75d036dbad68bd43d5a2eb9834dadd735
2014-06-13coverity#706286 uncaught exceptionCaolán McNamara
Change-Id: Ic951a16c3d44b36ce82f05381c98e13e74b8bc35
2014-06-05comphelper: remove SAL_THROW macroNoel Grandin
Change-Id: I692f1213c4bf42a84fae119f513e609d8874bf0c
2014-05-29remove unnecessary NULL parameter passed to UNO ExceptionNoel Grandin
.. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
2014-05-27remove more unnecessary use of OUString constructorNoel Grandin
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
2014-05-27remove unnecessary use of Reference constructor in throwNoel Grandin
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 use of OUString constructor when throwingNoel Grandin
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
2014-05-26coverity#703930 Unchecked return valueCaolán McNamara
Change-Id: Ifa4091eb08774309829ec9016b19e71cf9ea201a
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-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-17move boost rng wrapper from sc to comphelperThomas Arnhold
so we can re-use it in other modules Change-Id: I6057b1e955f745019fd48f91a754279df0f2b948 Reviewed-on: https://gerrit.libreoffice.org/9348 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
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-15fdo#78159: fix import of OOoXML embedded objectsMichael Stahl
MimeConfigurationHelper::GetDefaultFilterFromServiceName() checks that there is both an import and an export filter, and for OOoXML the export has been removed; tweak the check to require only import for OOoXML. Currently it still works invoke the OOoXML filter, but it is clearly better to store the embedded documents only in ODF, so tweak OCommonEmbeddedObject::store* methods to do that. (regression from aeeaccf59abbc485d7786486f1accc1cb4d4dbf7) Change-Id: Ib71f23fd110cbd4b570517f2dde2c53e3aa6301d