c353caee1c
loplugin: cstylecast
...
Change-Id: I53b69a488c70769cbb841db519bc28fd211dc087
2014-09-29 12:50:35 +02:00
57a4337e25
set names on a bunch more threads...
...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25 13:21:59 +02:00
0e507ae031
various: remove SAL_THROW macro
...
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
5d13b6e821
fix . in #define
...
as a consequence of
commit 9e3cc6b47444f988a68ca3ddcad779ed0480b00c
"fdo#68849: Add header guards to all include files"
Change-Id: Ibabf0d88ff4d928311ad5079ac3aa1fd6a2c1e6d
2014-05-30 09:01:35 +02:00
9e3cc6b474
fdo#68849: Add header guards to all include files
...
Added header guard to files in directories i18npool/, include/, and io/
Change-Id: I7ba5b5f0ffdf5dedb8fd40e8efa06936e7c23591
Reviewed-on: https://gerrit.libreoffice.org/9558
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-05-30 01:45:21 -05:00
ebc0a15515
remove more unnecesary OUString constructor use
...
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +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
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
1f2a47a6d3
io: sal_Bool->bool
...
Change-Id: I136c98cbe15d1c6629028392a9573066320b3a04
2014-04-23 11:11:49 +02:00
9a7fc5ee26
Typo: s/shure/sure
...
Change-Id: I1c55d3ee8be06deb6d48a6ad5cd30d170c8b9dbb
2014-04-18 00:30:35 +03: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
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
5d71f82959
coverity#707937 Uninitialized pointer field
...
Change-Id: I25b92686b08137a5292de620d4e348019c21a739
2014-03-12 11:02:18 +00:00
51f85041ef
coverity#707936 Uninitialized pointer field
...
Change-Id: I0ae177349408fd49832056fbc4c300e8e77b2417
2014-03-12 11:02:18 +00:00
00715826fe
coverity#707939 Uninitialized scalar field
...
Change-Id: I5cbb4e2fef4361085840c914e26bb494566a4600
2014-03-08 20:28:02 +00:00
3debbdf80c
coverity#707938 Uninitialized scalar field
...
Change-Id: Ic76e70a33ed33a94e06faf0168e9a740c736a19e
2014-03-08 20:28:02 +00:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
043e378521
Remove visual noise from io
...
Change-Id: I46f8c4f793596b0e6feb2db7b9302b9b6eb9644b
Reviewed-on: https://gerrit.libreoffice.org/8273
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2014-02-26 09:25:43 -06:00
0ce0c369aa
Remove unneccessary comments
...
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-23 03:38:49 +00:00
0ec840b1d9
bool improvements
...
Change-Id: Ia6f86e38cb46a5f7ac634ad0afb66701811e6758
2014-01-21 18:24:05 +01:00
9ed364774c
Adapt all (non-extension, SharedLibrary) .components to environment="..."
...
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
66b602e231
fdo#54938: Convert io to use cppu::supportsService
...
Change-Id: Id53289a68352558b039e0993b687d0447cea8036
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2013-12-09 17:30:03 +01:00
e52779d2f8
remove unnecessary use of OUString constructor
...
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
3a009c427f
fdo#60698: Merge all libs of io...
...
creating the libio. All these libraries are always used together, so we can put them
together in one single library.
This save almost 500 kb of the size of the final library.
Change-Id: Ib32fec36cc4eb80ca646ce472c1f1bcdd98ac62b
Reviewed-on: https://gerrit.libreoffice.org/6567
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2013-11-05 01:02:13 -06:00
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
ed445d95ed
Resolves: #i75731# check output stream and...
...
throw IOExceptioin if it is not intialized
(cherry picked from commit cf17f922f01bd75643749a7fd01a03f8167bccee)
Change-Id: I07f6def513ef54b736689bf22565645f0c313982
2013-10-22 13:17:11 +01:00
ee5661ecd3
fdo#54938: Adapt supportsService implementations..
...
to cppu::supportsService
Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14
Reviewed-on: https://gerrit.libreoffice.org/6370
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2013-10-22 10:28:10 +00:00
64b993e046
finish deprecation of O(U)String::valueOf()
...
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
12b1d1cda3
Mark as const
...
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-08-12 09:23:52 +09:00
2fc0fa62b2
Fix memory leak in OTextInputStream.
...
Delete mpBuffer when done in destructor or replaced in implResizeBuffer.
Change-Id: Ide1b44f10a482ce9bb6135fb879e62e0a8ccea29
Reviewed-on: https://gerrit.libreoffice.org/4637
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-07-01 12:26:09 +00:00
e2e2cc6114
remove usage of RTL_CONSTASCII_USTRINGPARAM
...
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
e8ff469da5
Remove any remaining remnants of unused component_canUnload feature
...
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
eeaa2ecd1e
remove unused component_canUnload functions
...
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19 16:52:03 +02:00
8ffb20747c
fix loplugin unused warnings
...
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-30 16:55:25 -04:00
5bb4a2ba1d
further OUString cleanup
...
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19 14:18:10 +01:00
ce33f85ffd
sal_Bool to bool
...
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04 23:14:41 +09:00
fbd4588afd
fdo#46808, convert io::TextOutputStream service to new-style
...
Change-Id: I12af47afc21c2b646197893a77698f4e0818f94f
2013-02-11 08:02:15 +02:00
ff85e8319a
fdo#46808, convert io::TextInputStream service to new style
...
Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
2013-02-11 08:02:15 +02:00
f73201e54a
Removal ::rtl:: prefixes and macros in IO
...
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM,
RTL_CONSTASCII_USTRINGPARAM macros in IO.
Change-Id: I410016990579e4a05843cfe396832a5fc8435e70
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com >
Reviewed-on: https://gerrit.libreoffice.org/1210
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br >
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br >
2012-12-01 14:45:35 +00:00
8967f80a50
Removal ::rtl:: prefixes and macros in IO
...
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM,
RTL_CONSTASCII_USTRINGPARAM macros in IO.
Change-Id: I9446ddf13ba18d2d80639afc9e1b61234945b115
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com >
Reviewed-on: https://gerrit.libreoffice.org/1200
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br >
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br >
2012-12-01 14:40:25 +00:00
fead8bc949
Removal ::rtl:: prefixes and macros in IO
...
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM,
RTL_CONSTASCII_USTRINGPARAM macros in IO.
Change-Id: I823fcdfe46d4d4093118f6eaab89c1ce42883a6c
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com >
Reviewed-on: https://gerrit.libreoffice.org/1194
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br >
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br >
2012-11-29 10:21:05 +00:00
3cba672351
Use prefix
...
Change-Id: I84ec9d6eed209eb429f5b5d4a667d3450a1435e1
2012-10-02 11:31:38 +03:00
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
278379697d
fdo#46808, Adapt io::Pipe UNO service to new style
...
Create a merged XPipe interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Change-Id: I682633c6252aab503eb2469c9bd2ba771f10bc4b
2012-09-03 15:55:04 +02:00
6fb127a62e
Replace use_internal_api with use_udk_api etc. where appropriate
...
Change-Id: I5e216ca01830a6568159ee8e9265938667f201a1
2012-08-22 15:12:22 +02:00
f25b78bd99
-Werror,-Wunused-private-field (Clang towards 3.2)
...
Change-Id: I9828862ea90a45848b3e8d21ec3ee960ce7c9015
2012-08-15 14:01:05 +02:00
adc49a81e9
remove empty ascii boxes and stuff
...
Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
2012-08-07 18:08:29 +02:00
00c9394baf
re-base on ALv2 code.
2012-07-04 12:14:59 +01:00
b9042fad7c
re-base on ALv2 code.
...
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
462935f367
removed unused forward declarations of class
...
Change-Id: I819d5b931c937ec52b14f60591546d1d86c38631
2012-06-16 22:09:38 +09:00