a30fc66dd2
remove unused hrc files
...
Change-Id: I7ce04c206250db40076bed699bee892bdfbf19b6
2014-04-22 13:03:19 +02:00
40064f479b
clean up hrc files
...
and remove some unused stuff
Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
2014-04-22 13:03:17 +02:00
e139290ca1
convert field assign address book page to .ui
...
Change-Id: I4d97bd75df0c75af6b643e67350a1af738bd7538
2014-04-22 09:36:59 +01:00
97a5ba4a71
remove comments why a file gets included
...
also remove some commented out code
Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
910638a560
convert select type address book page to .ui
...
Change-Id: I94c0ed3385e64f854875f62c32adaa066d3b1ead
2014-04-20 21:51:01 +01:00
f400bdce03
fixincludeguards.sh: extensions
...
Change-Id: If652bce4cf7621795b084bcbc0aa4c46dd903878
2014-04-19 11:10:10 +02:00
14137bcf73
create an entry point for .ui-ification of the address book wizard pages
...
Change-Id: Ief87c7acacb08ee1debebea5085e9de208f29445
2014-04-18 14:46:28 +01:00
cf4f433dfb
coverity#706522 Uncaught exception
...
Change-Id: If5638fa4c35a642791088f8ecda7dd0c13ac5a81
2014-04-17 21:13:51 +01:00
5047891d04
typo: positon -> position
2014-04-14 12:33:12 +02:00
2805ac13dc
typo: choosen -> chosen
2014-04-14 12:32:02 +02:00
a6611be6bc
Clean up function declarations and some unused functions
...
Change-Id: Ie81d270267b6c3c3620ade62eb393b28d995a654
2014-04-13 23:44:29 +02:00
e98e738a82
replace some SvStream seeking with calls to remainingSize()
...
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-11 23:08:11 +02:00
6835d9f307
It's "its", not "it's"
...
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
01f529b546
Whatever those odd dummy function definitions were supposed to be good for
...
...introduced in d2237276cb3e32493ff8f9f71e06301937434622 "INTEGRATION: CWS
vcl09 (1.6.10): #109426# make rpnp.so work on Linux" without any explanation,
but probably a misguided attempt at getting things working in the face of a
missing libgcc_s.so or libstdc++.so (though the names used here do not match any
there), and seemingly not necessary.
Change-Id: Ib092d426f4acfd3ece30adb754c1bb76d4eca381
2014-04-09 08:54:21 +02:00
de31f85d6c
coverity#706530 Uncaught exception
...
Change-Id: Ic975df93535b47dfcf39b9e58e7e9728adce082b
2014-04-05 20:34:35 +01:00
eb97362a42
coverity#706518 Uncaught exception
...
Change-Id: I2db2ba69d7aac319fa9b446766729813c09d344f
2014-04-05 20:34:35 +01:00
b7dcef0b45
coverity#706520 Uncaught exception
...
Change-Id: I80c4a2fdff5bb487bc40a37da45a62cde3eaa9da
2014-04-05 20:34:34 +01:00
73514d205b
coverity#706521 Uncaught exception
...
Change-Id: Ibb5623097f910d011c388c9c8d429871b62bf613
2014-04-05 20:34:34 +01:00
f2810ae4a7
coverity#706523 Uncaught exception
...
Change-Id: I20515693bed76163433421f7fd05b319ed472a54
2014-04-05 20:34:33 +01:00
453ee351f3
fdo#43157 : clean up more OSL_POSTCOND
...
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-04 07:23:43 -05:00
4da62012fe
Fix a memory leak by freeing last pBytes
...
Change-Id: I7d170d704fa8950057698856d12df63992e38381
Reviewed-on: https://gerrit.libreoffice.org/8822
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-04-04 07:20:50 -05:00
7938279a0d
/include/connectivity/dbtools.hxx: sal_Bool->bool
...
Change-Id: Ie1e1952e3d39d53756583482826dfc3b65b5f9e0
2014-04-04 13:44:18 +02:00
c5a518936d
Clean up unreferenced functions
...
Change-Id: Ie6560c806369a2d1698b4df43710f3aebb10ed6a
2014-04-04 10:05:58 +02:00
c5db1e1519
Remove unnecessary factory function prototype
...
Change-Id: I5fd41bca54c7b716003eea92e90ddfd08ebfa95a
2014-04-04 10:05:56 +02:00
5babf1b903
remove unnecessary scope qualifier from sal_Bool uses
...
i.e. convert "::sal_Bool" to "sal_Bool"
Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
8f7c677dbb
Avoid possible resource leaks by boost::scoped_array
...
Change-Id: Ibf92b3098c50388d8b6d27f4476e613a1f8918b5
2014-04-02 16:09:11 +09:00
362d4f0cd4
Explicitly mark overriding destructors as "virtual"
...
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-04-01 19:22:54 +02:00
6f892ed9fc
typo: overrride -> override
...
All detected by SpellCode
https://code.google.com/p/spellcode/
2014-03-29 19:16:33 +01:00
efe704cc59
Dead code
...
Change-Id: I05ecb627119eb545d1781fa42613e940fc22aac1
2014-03-28 15:27:38 +01:00
f7c8d7655f
Work around MSC "'override' cannot be used with 'inline'" bug
...
Change-Id: I6eeb47699193ee024e975915011b1c3c5483bf9e
2014-03-27 19:59:49 +01:00
567ef6d578
Second batch of adding SAL_OVERRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
80ef0dfedc
svtools: sal_Bool->bool
...
Change-Id: I42a341b5805e0b2a7d619ba552700db35815afd5
2014-03-25 14:32:57 +02:00
436cd90095
svtools: sal_Bool->bool
...
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
9604eb8758
svtools: sal_Bool->bool
...
Change-Id: I8f171f7f61ea06a79183e9bf9b15b8c35c98cc9b
2014-03-24 08:12:09 +02:00
51bef3b727
coverity#738626 Uninitialized pointer field
...
Change-Id: I8468009fafff845c249bddb88417a5ceeb556fb0
2014-03-22 20:36:28 +00:00
82e8011208
coverity#983370 Dereference before null check
...
Change-Id: I524ce73811f32b7da38ef127ee4633a2c6a9f933
2014-03-22 16:57:17 +00:00
b0ff06a5bc
coverity#984088 Uninitialized pointer field
...
Change-Id: I228f7c8f99b0cc3117fbeab78efbeddd74896d54
2014-03-19 20:22:51 +00:00
42bfcce123
loplugin:passstringbyref
...
Change-Id: If08dab3956da5c0ee90d6a788f6f34a936e792d7
2014-03-19 08:40:48 +01:00
96710f8e46
convert OUString::match to OUString::endsWith
...
Convert code like:
rTxt.match( "---", rTxt.getLength()-3 )
to:
rTxt.endsWith( "---" )
Change-Id: Iada74c5e714f7234f25b326526843a36255d5599
2014-03-19 08:55:21 +02:00
549c3b8119
Remove unused code
...
Change-Id: I1690f5b88b7bd04d336a45b1d745185285e13070
2014-03-17 12:56:42 +01:00
488817e3c4
No need for SAL_CALL here
...
Change-Id: I283c883bf49e33941de33b9e58d355f683c96ea3
2014-03-17 12:56:42 +01:00
b69dcab522
extensions: prefer passing OUString by reference
...
Change-Id: Ic411b2776d0c054d59bfdc847f67785c85c5cb9e
2014-03-17 13:30:53 +02:00
8578aabbc4
"prefix" and "postfix" are single words
...
Change-Id: I32824c614d070cd4649e18da4a0b91b03bccfaba
2014-03-14 07:57:18 +02:00
534425bfcd
convert new data type dialog to .ui
...
Change-Id: Ia354e003903c20435947e82afa293a34a367773a
2014-03-13 20:48:49 +00:00
c7f1ce594c
extensions: simplify deprecated XTypeProvider.getImplementationId
...
Change-Id: I234d36bc7ef9e8e27087067f6e43d7e522e52d4d
2014-03-10 17:39:55 +01:00
25cedf1dc7
Introduce com.sun.star.beans.theIntrospection singleton
...
...deprecating com.sun.star.beans.Introspection (single-instance) service.
Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-07 10:33:07 +01:00
68ec95b3f8
made ListBox handle more than 64k elements, fdo#61520 related
...
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.
Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2014-03-05 07:31:19 -06:00
4d6560f506
fdo#54938: Convert some places to use cppu::supportsService
...
The last cases are non obvious, so it's pratically done
Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547
Reviewed-on: https://gerrit.libreoffice.org/8445
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com >
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com >
2014-03-04 07:30:02 -06:00
b2371492df
Use cstdlib std::abs instead of stdlib.h abs
...
...because the latter lacks the abs(long) overload in some popular environments,
cf. <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401 > "stdlib.h does not
provide abs(long) overload."
Similarly, stdlib.h lacks the abs(float), abs(double), abs(long double)
overloads compared to cmath there, whose use was apparently intended in
sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx. Rewrote that to use
CPPUNIT_ASSERT_DOUBLES_EQUAL instead, which revealed that the comparisons need
rather large deltas of .1 resp. .2 (which the original code hid with an
implicit conversion to integral type, thus using an effective delta of 1).
Discovered with -Wabsolute-value ("absolute value function 'abs' given an
argument of type 'long' but has parameter of type 'int' which may cause
truncation of value") recently introduced on Clang trunk towards 3.5.
Change-Id: I4c41575ffdccb2944498b662bd3a53fd510cb0c0
2014-03-03 18:36:55 +01:00