Commit graph

1332 commits

Author SHA1 Message Date
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Caolán McNamara
a43bd90706 callcatcher: remove some unused code 2012-03-12 11:43:49 +00:00
Caolán McNamara
d99251cecd leak in IMHandler::signalIMPreeditChanged early return 2012-03-06 11:26:37 +00:00
Caolán McNamara
c1e467f799 remove TransliterationWrapper::compareSubstring 2012-03-06 11:26:34 +00:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Tor Lillqvist
ebe26f72e9 WaE: 'unused' attribute ignored when parsing type 2012-03-01 01:55:01 +02:00
Caolán McNamara
b36d555440 drop UniString::CreateFromInt64 2012-02-27 09:45:57 +00:00
Thomas Arnhold
48bfb52d71 expand and remove NS_* macro 2012-02-21 14:02:45 +01:00
Takeshi Abe
3006397439 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09:00
Stephan Bergmann
fe981519f5 gb_JunitTest_JunitTest takes only one argument 2012-02-20 16:39:59 +01:00
Petr Vorel
37159db96f Remove unused code 2012-02-19 14:42:10 +04:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Caolán McNamara
7cded3aad7 WaE: unused variables 2012-02-17 12:21:37 +00:00
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +01:00
Elton Chung
ea1fa6963d Remove unused code 2012-02-10 15:42:53 +00:00
Greg Kroah-Hartman
b950727ac8 utl: delete unused NodeValueAccessor::bind() method 2012-02-09 21:45:24 +00:00
Caolán McNamara
849a2471bd update unused list 2012-02-08 09:12:27 +00:00
Josh Heidenreich
8b9615be88 Added (and improved) READMEs for modules which used to be in libs-gui 2012-02-08 07:46:57 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Jesús Corrius
7be0cc289d A few safe replacements of pathes->paths 2012-02-01 14:43:37 +01:00
Stephan Bergmann
ca3e3e7e31 Move unotools/configuration.hxx to comphelper
...so that other code in comphelper can use it.
2012-01-31 15:50:10 +01:00
Stephan Bergmann
e8bb827571 Fixed cppheader.xsl nillable treatment.
* cppheader.xsl had initially been written under the false assumption that a
missing oor:nillable attribute defaults to "false" instead of "true".  That has
been fixed.
* As a result, many places that use the new simplified officecfg/*.hxx headers
broke as they did not expect value types to be wrapped boost::optional.  To keep
the code simple, I decided to change all occurrences in
officecfg/registry/schema/ of properties that specify a default <value> and do
not explicitly specify oor:nillable="true" to oor:nillable="false".  Strictly
speaking, this is an incompatible change, but in many cases it should be what
was intended, anyway.
* Some places that use the new simplified officecfg/*.hxx headers still had to
be adapted to boost::optional wrapping.
* This showed that unotools/configuration.hxx did not yet work for those wrapped
properties and needed fixing, too.
2012-01-30 12:27:47 +01:00
Ivan Timofeev
9cde190a46 remove '#define OUSTRING ::rtl::OUString' 2012-01-30 12:23:34 +04:00
Stephan Bergmann
452d86c9cb Replace SvtUndoOptions with (simplified) direct configuration access.
Also, code in sw can be simplified under the premise that always
/org.openoffice.Office.Common/Undo/Steps > 0.
2012-01-27 15:04:26 +01:00
Caolán McNamara
595b734501 drop unnecessary include 2012-01-27 12:59:48 +00:00
Stephan Bergmann
d3e3040953 Replace SvtCacheOptions with (simplified) direct configuration access. 2012-01-26 20:56:44 +01:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
Stephan Bergmann
252e599b22 Replace SvtInetOptions with (simplified) direct configuration access. 2012-01-26 16:26:39 +01:00
Stephan Bergmann
a2195b2dc3 Replace SourceViewConfig with (simplified) direct configuration access. 2012-01-25 18:18:52 +01:00
Stephan Bergmann
d70aa23c2d Add configuration wrappers for groups, too (to add listeners etc.). 2012-01-25 18:18:52 +01:00
Caolán McNamara
1cb538925d make unotools ByteString free 2012-01-23 11:37:04 +00:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Stephan Bergmann
b149b0433d ucbhelper::GetLocalFileURL does not use its arg. 2012-01-20 12:14:45 +01:00
Olivier Hallot
6a1390eaf6 Fix for fdo43460 Part XLII getLength() to isEmpty()
Part XLII
Modules
unotools
2012-01-19 22:07:59 -02:00
Eike Rathke
1de8ddb72e convert one freshly introduced DBG_ERRORFILE to SAL_WARN 2012-01-18 14:05:54 +01:00
Eike Rathke
923934d0f4 nitpick, it's i18n, not l18n 2012-01-18 14:02:36 +01:00
Marcel Metz
6cd5f6f506 Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:41 +01:00
Marcel Metz
157d414977 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:29 +01:00
Eike Rathke
a2685c5fd4 bumped locale data wrapper to use XLocaleData4 and provide date acceptance patterns 2012-01-11 13:18:48 +01:00
Thomas Arnhold
2c3d0ff9f8 Use SAL_N_ELEMENTS
Some more like Thorstens diff 9c59cd15b1

Done with some regex magic (and a check if this var is an array):

s/sizeof\(\s*$var\s*\)\s*\/\s*sizeof\(\s*\*$var\s*/SAL_N_ELEMENTS\($var/gs
2012-01-10 16:52:33 +01:00
Caolán McNamara
3c62fbcdd7 simplify LocalFileHelper::ConvertURLToPhysicalName 2012-01-10 10:09:28 +00:00
Caolán McNamara
4e83af0dc7 make indent sane 2012-01-09 20:33:30 +00:00
Caolán McNamara
45b19123a6 simplify CharClass
multiple variants of toUpper (etc)
some that take a non-const OUString or String and modify it
some that take a const OUString or String and return a new one
some that take part of a const OUString or String and return a new one
2012-01-09 13:28:37 +00:00
Caolán McNamara
00e52e1e2d make indent sane 2012-01-09 13:28:37 +00:00
Caolán McNamara
66c3510ed3 mark uncopyable with boost::noncopyable 2012-01-09 13:28:36 +00:00
Takeshi Abe
ff580eb39b catch exception by constant reference 2012-01-08 03:35:43 +09:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
a1cfce768f Removed unnecessary tools includes. 2012-01-05 15:38:11 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00