Commit Graph

170 Commits

Author SHA1 Message Date
126827b0fd fdo#43460 framework,i18npool,accessibility: use isEmpty()
Change-Id: I4cd9841127b1d4a294d7f001b646259c61eb1172
Reviewed-on: https://gerrit.libreoffice.org/4443
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-24 21:45:42 +00:00
95c0d568fd use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise.

Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05 08:13:23 +02:00
a808497dbb drop prefix from ::css
as css is already ::com::sun::star

Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-04-02 09:01:37 +02:00
2b7ee1db28 remove boilerplate comments
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
a6b9173005 fdo#60148 Clean up warnings from the Clang compiler plugin
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06 12:59:26 +00:00
4f4e4e40f5 loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25 17:59:40 +01:00
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
51a83689fe coverity#738556 Unitialized scalar field
Change-Id: Iad7ca3d9928e34d0510c85242dc20a6dca6f09bb
Reviewed-on: https://gerrit.libreoffice.org/2209
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-18 15:18:58 +00:00
f1bca26afc Remove redundant braces around for loops
...that had once been workarounds for compilers that did not yet support the
C++98 scoping rules for declarations in for-init-statements.

Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
2013-01-26 16:36:09 +01:00
a4c7ded1fd Cleanup: #include <tools/gen.hxx>
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530
Reviewed-on: https://gerrit.libreoffice.org/1484
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07 13:14:57 +00:00
254b11a2c6 Prefer prefix ++/-- operators for non-primitive types
Change-Id: Ib799053921886d1bd524bf4ffe3f586e4c676572
2012-12-24 16:40:57 +01:00
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
70626249cd API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's
not tie ourselves up here for no good reason.

This unpublishes all css::accessibility, and dependend API.

With that, we can change the rather unfortunately-named add/
removeEventListener to be add/removeAccessibleEventListener, thus
not conflicting with the XComponent methods of the same name.

Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29 16:58:16 +01:00
7470cc532f fdo#46808, Adapt reflection::ProxyFactory UNO service to new style
The service is deprecated, but we still have a handful of in-tree
users, and converting it lets me thread XComponentContext through
a bunch of classes.

Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-28 13:06:18 +01:00
9955dbebbd AllSettings with LanguageTag
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22 12:34:59 +01:00
a73c98a708 Better fix for fdo#56473, Crash when inserting a simple macro
old code used to use XCell->setString, new code uses rDoc.SetString which by default tries to detect number formats. The ScColumn::SetString that eventually
gets called seems to do lots of additional checks ( and apparently even if
an ScSetStringParam instance with mbDetectNumberFormat ( false ) was passed
it seems that it will still try to detect decimal number formats. With that
in mind I restore and un-unoified version of what XCell->setString used do

Change-Id: Ifaef74c78b198f492a390a3d5dc1721622a01ea4
2012-11-09 22:15:23 +01:00
465ab1c126 Related: fdo#56473 IDE: Crash when inserting a simple macro
After having discussed with Michael Meeks, a better way would be to be iterator free
Now, should all textwindowaccessibility part be iterator free?

Change-Id: I8079b3ffbc9d37bc2c3b9ede088485dd3a7e410e
2012-11-02 22:58:46 +01:00
9e716494a8 fix some VS 2010 specific issues
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82
Reviewed-on: https://gerrit.libreoffice.org/914
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-28 18:09:02 +00:00
bf7240d067 Resolves: fdo#56473 IDE: Crash when inserting a simple macro
Change-Id: I7bb6fe0005b9afa2d853a13a30d5b0c48ba8bdf2
2012-10-28 09:46:29 +01:00
4b313fd566 Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-19 11:45:36 +02:00
ac7acb0ab1 Merged SvTreeListBox and SvLBox.
There is no reason to keep SvLBox separate.

Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-11 23:35:15 -04:00
286a7733ac re-base on ALv2 code. 2012-09-29 15:07:42 +01: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
f2504a0a9f Fix some "Variables reassigned a value before the old one has been used"
Change-Id: I64eadd8f34e9d60e9d696fa572dc0001532eab02
2012-09-15 13:34:50 +02:00
2171077c0c Introduce cppu::supportsService helper, adapt some call-sites
...more to follow (easy hack?)

Change-Id: Icb02626495701a3905c124c7368b98c3258e91b2
2012-09-14 19:32:30 +02:00
2095b2e1d4 gridfixes: copied #i112562#'s fix from CWS gridcontrol06 herein
Change-Id: Ifa29a8b3c027970d46844b428a3529e680c0b09c
Reviewed-on: https://gerrit.libreoffice.org/541
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:15:44 +00:00
1ebed7b6c9 ::rtl::OUString to OUString correction in accessibility
Change-Id: Ib59e07ef5dcdd2f30bc5abee2e958cbda57e9629
Reviewed-on: https://gerrit.libreoffice.org/589
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-09-11 12:38:36 +00:00
e1276e83e0 OUString cleanup in accessibility
Change-Id: Ie4e51632bf81053f0d32428bb7ef5b01ec301ccc
Reviewed-on: https://gerrit.libreoffice.org/579
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-07 12:26:19 +00:00
7f7e0a6682 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I2a181d1442ef3b41ecba009d160d2d18d6fb71ac
2012-08-28 16:49:11 +02:00
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
3c1a1aacf5 fdo#39425: Remove DBG_NAME, DBG_CTOR, DBG_DTOR and debug.hxx in accessibility
Change-Id: I194f776c298f6e149f8e30e82c4b591fed594d55
2012-06-29 23:32:03 +02:00
caf0e31e24 fdo#39425: Replace DBG_ASSERT macros with OSL_ equivalents in accessibility
Change-Id: I4f8fb4ffa8bcd5a503374040ada191ccf1f89013
2012-06-29 23:31:48 +02:00
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
3dd8f023fa re-base on ALv2 code. 2012-06-11 17:22:31 +01:00
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
6b915b210a nuke unused typedef
Change-Id: I12a55e08a83b88221d992790c97c830761755582
2012-05-29 23:46:57 +09:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
5688b51bcb UniString::CreateFromInt32 -> rtl::OUString::valueOf 2012-04-05 13:59:05 +01:00
2a566b1775 Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
7f31e252e4 gbuildize accessibility 2011-12-23 16:43:00 +01:00
f43311dfb7 Fix for fdo43460, Part I, getLength to isEmpty
Part I
Modules
unoControl, accessibility and avmedia
2011-12-09 23:37:05 +01:00
e6e29733ed remove include of pch header in accessibility 2011-11-27 12:54:37 -06:00
bdda05135e WaE: class has virtual functions, but destructor is not virtual 2011-10-06 12:53:41 +03:00
5cb1597064 WaE: class has virtual functions, but destructor is not virtual 2011-10-06 12:02:04 +03:00
7fc35af5fd remove obsolete Forte NOOPT files 2011-09-24 08:33:45 +01:00
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
07f9a847f0 callcatcher: various unused methods 2011-09-12 09:09:59 +01:00
0b4e276445 catch by const ref 2011-07-29 10:55:26 +01:00
8a962baff6 use standard pattern for this 2011-06-07 08:56:50 +01:00