2602a41f76
coverity#706466 Uncaught exception
...
and
coverity#706463 Uncaught exception
Change-Id: I77cb09054f00d86cd3e206e44ef4942ddf148a7f
2014-08-30 18:16:49 +01:00
cb347ddc5c
stario -> css::io
...
Change-Id: Iad96e0a2bfd6c126c696f14919dbfd8e072dd230
2014-08-21 09:03:23 +02:00
edda7dbad7
starcontainer -> css::container
...
Change-Id: Ie6e75483aa4262a5f66a4c557015af8b3c02d592
2014-08-21 09:03:22 +02:00
123c64ab00
starawt -> css::awt
...
Change-Id: I76dd16aa2c42a649162ea2e37c824af30cdd557b
2014-08-21 09:03:21 +02:00
78b2d82111
comphelper: starbeans -> css::beans
...
Change-Id: Iedfc4460194f179b20d734cb7671894213c77008
2014-08-21 09:03:20 +02:00
f133857cc6
comphelper: starutil -> css::util
...
Change-Id: If4c0d404b0f7027837dcc245b5b7d21b1f749347
2014-08-21 09:03:20 +02:00
32093237b3
comphelper: starlang -> css::lang
...
Change-Id: Ie8adb5b81df51fd973cbb786f27ea3ef1462679c
2014-08-21 09:03:19 +02:00
007099ea32
comphelper: staruno -> css::uno
...
Change-Id: I21991280c5b7e4c6d0c200f4489c89a9f4fbc385
2014-08-21 09:03:18 +02:00
8c9fdc4a96
java: remove modifiers implied by the context
...
found by PMD
Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
2014-08-20 11:45:28 +02:00
3f210b0e75
java: remove unnecessary return statements
...
found by PMD
Change-Id: I3d150421948d17eaed34fac2b1a212da34288d1a
2014-08-20 10:35:54 +02:00
0764292c5d
java: use 'Short.valueOf' instead of 'new Short'
...
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19 14:57:18 +02:00
8a2c6c29af
java: use 'Long.valueOf' instead of 'new Long'
...
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19 14:57:17 +02:00
ff0ad0493e
java: use 'Integer.valueOf' instead of 'new Integer'
...
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19 14:57:17 +02:00
be1bb7b1cc
java: use Boolean.valueOf instead of instantiating Boolean objects
...
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19 14:57:16 +02:00
7a54951fbb
coverity#1231667 Unchecked return value
...
Change-Id: I40d8fc61b1e488955faa61c868877c7b6487c529
2014-08-17 16:39:22 +01:00
d005acae3a
Resolves: #i125386# secured user request and changed some bools to bitfield
...
(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-09 14:13:08 +01:00
0c5f51ebbc
java: remove commented out code
...
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05 11:31:50 +02:00
eeeef4e83c
Include <algorithm> for std::min
...
Change-Id: If2bf31494f1354ff3856ad8b32f6799042e23b18
2014-07-29 18:21:00 +03:00
136fa5432d
coverity#706282 Uncaught exception
...
Change-Id: Icca233fdc6d841d1bf51f918b83f3eef2cd5952e
2014-07-13 20:10:49 +01:00
b03675889d
coverity#706281 Uncaught exception
...
Change-Id: I469b812c666801db5e3a6fac1d6152afd80cf39a
2014-07-13 20:10:49 +01:00
d5dd121680
Use OUStringHash here.
...
Change-Id: I37625fb421e5b20f299fccccbc9d5ac74c31de3c
2014-07-10 20:09:55 -04:00
f8226e87b4
Pass a useful exception message.
...
Change-Id: Idde024a7b6896571d159c3983ef1985fa12d0c5a
2014-07-09 12:15:40 -04:00
f692c88e60
use SimpleReferenceObject in comphelper module
...
to replace hand-rolled version
Change-Id: Ie4e66d2f1f893c04be589877ef53f470ca74c9eb
2014-07-08 15:16:48 +02:00
0d78ad871e
DBG_ASSERT->assert when followed by dereference
...
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-07 10:48:25 +01:00
2134c9653e
comphelper: sal_Bool -> bool
...
Change-Id: I7d7ae1f5ddff0cf7d11a407b190256f37a71d48a
2014-07-03 11:51:01 +02:00
37b1835972
Revert "comphelper: sal_Bool -> bool"
...
Oops, this reverts commit c95ff75df274e3d84458e928ee96870bc8b663b3.
2014-07-02 18:54:32 +02:00
c95ff75df2
comphelper: sal_Bool -> bool
...
Change-Id: Icde90101b6adfa766c8abbeb55c518725e6596e1
2014-07-02 18:49:31 +02:00
4ddf6c7a70
Typo: conteiner->container
...
Change-Id: Idf1294c7da00621900d41c16473b862ee8fc502d
2014-06-29 00:12:55 +02:00
42bcbee2e6
clang: Result of operation is garbage or undefined
...
Change-Id: I49f58ae6a7c046af4c3de8d35219ffe2e4ba8f20
2014-06-26 16:29:14 +01:00
533c6cb6ba
fixes for up-casting to Reference<XInterface>
...
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-25 17:10:43 +02:00
e2080e70fe
new compilerplugin returnbyref
...
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-24 11:34:21 +02:00
1d38cb3655
fdo#71076, fdo#71767: Preserve number formats when charts are copied.
...
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19 14:46:56 -04:00
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
9ea1bb2c1d
loplugin:staticcall
...
Change-Id: Iae319f84028bb2468ca663afe9a82eb3cf46ae37
2014-06-13 17:54:23 +02:00
e8f40ec988
coverity#983616 Uncaught exception
...
Change-Id: I7414fffb0ab0aa7c52ba58d666c26abc4367798c
2014-06-13 11:56:33 +01:00
63312dbbd3
coverity#706280 Uncaught exception
...
Change-Id: I41d841718da2eab8a6f424df694ba8ea4e450bac
2014-06-13 11:18:47 +01:00
c8b78a1ca2
coverity#706287 uncaught exception
...
Change-Id: Ie2ec61c75d036dbad68bd43d5a2eb9834dadd735
2014-06-13 11:16:32 +01:00
5e46374df0
coverity#706286 uncaught exception
...
Change-Id: Ic951a16c3d44b36ce82f05381c98e13e74b8bc35
2014-06-13 11:16:32 +01:00
41066fef1c
comphelper: remove SAL_THROW macro
...
Change-Id: I692f1213c4bf42a84fae119f513e609d8874bf0c
2014-06-05 08:17:46 +02:00
f0ae48b684
remove unnecessary NULL parameter passed to UNO Exception
...
.. now that we have a default value for that parameter
Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
2014-05-29 09:01:40 +02:00
0f2824b117
remove more unnecessary use of OUString constructor
...
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
2014-05-27 08:20:12 +02:00
9af0abebfd
remove unnecessary use of Reference constructor in throw
...
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-27 08:20:11 +02:00
9b791f9c31
remove unnecessary use of OUString constructor when throwing
...
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
2014-05-27 08:20:11 +02:00
9c2b19c926
coverity#703930 Unchecked return value
...
Change-Id: Ifa4091eb08774309829ec9016b19e71cf9ea201a
2014-05-26 15:51:59 +01:00
e7bc3cab01
remove boilerplate in UNO Exception constructor calls
...
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
b09b5f8f7c
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19
...
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-22 23:21:18 +02:00
9c3e819f06
move boost rng wrapper from sc to comphelper
...
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-17 12:40:39 +00:00
3c1e30b77d
Correct common misspellings, and remove some ASCII art along the way.
...
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-17 12:38:38 +00:00
0b3d0fb2d9
fdo#78159: fix import of OOoXML embedded objects
...
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
2014-05-15 23:39:13 +02:00
c288b17cc5
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12
...
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14 23:18:57 +02:00