Commit Graph

613 Commits

Author SHA1 Message Date
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Caolán McNamara
2c757293b8 reduce static_initialization_and_destruction chain
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
Thomas Arnhold
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Takeshi Abe
40bb1f631b removed unused forward declarations of class
Change-Id: I32894b853912741e935e2409d2857fe384f67665
2012-06-18 23:04:20 +09:00
Thomas Arnhold
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
Noel Grandin
d08578912f fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new SimpleFileAccess::create method

Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
Thorsten Behrens
c9337a8bfc Targeted string re-work xmlhelp/xmlscript 2012-06-01 16:18:09 +02:00
Caolán McNamara
8512e5c2b3 reduce static_initialization_and_destruction chain
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-16 12:04:10 +01:00
Michael Stahl
aea14bd071 work around spurious signed overflow warnings
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC):
/rtl/ustring.hxx:1293:233:
error: assuming signed overflow does not occur when assuming that (X -
c) > X is always false [-Werror=strict-overflow]
2012-05-08 11:31:50 +02:00
Thomas Arnhold
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
Caolán McNamara
41135b6dd8 WaE: silence warnings from msvc2008 (again) 2012-04-24 14:24:47 +01:00
Luboš Luňák
b3fcbe7d2b do not export usage of CLucene headers outside of l10ntools
that'd require CLUCENE_CFLAGS everywhere where it's used, and it's not necessary
2012-04-24 07:44:52 +02:00
David Tardon
69bd2f3630 gbuildize xmlhelp 2012-04-07 16:18:26 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Takeshi Abe
643a582793 removed duplicate #includes
in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
2012-04-04 01:39:08 +09:00
Michael Stahl
9429bbb0c4 .component files don't need executable bits 2012-03-23 21:58:14 +01:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
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
Thomas Arnhold
d8fc177009 remove all other deprecated header guards 2012-02-23 12:22:39 +01:00
Caolán McNamara
b06d05fbda reduce try-catch CLuceneError block 2012-02-23 10:31:21 +00:00
Caolán McNamara
97fc40055d not every extension's help will have help in all langs, catch that exception 2012-02-23 10:31:21 +00:00
Caolán McNamara
98d6d98f5c ditch archaic headerguards 2012-02-23 10:31:20 +00:00
Caolán McNamara
d5c14a99dc just link to HelpIndexer 2012-02-23 10:31:20 +00:00
Caolán McNamara
170b9551b2 tweak for cross-platformity 2012-02-23 10:31:19 +00:00
Caolán McNamara
8f6321b775 use different OUString ctor for RTL_TEXTENCODING_UCS4 2012-02-23 10:31:19 +00:00
Gert van Valkenhoef
c4e3596820 HelpIndexer and HelpSearch: remove Java 2012-02-23 10:31:18 +00:00
Gert van Valkenhoef
71231b9ea4 Bugfix resultsetforquery 2012-02-23 10:31:18 +00:00
Gert van Valkenhoef
70a7cd0923 Add C++ HelpSearch and call from XMLHelp. Fix string conversion bug. 2012-02-23 10:31:17 +00:00
Caolán McNamara
796818d7b5 tweak build 2012-02-23 10:31:17 +00:00
Gert van Valkenhoef
0f691cc689 HelpIndexer using rtl::OUString, called from xmlhelp 2012-02-23 10:31:16 +00:00
Caolán McNamara
15704e6319 bootstrap replacement c++ help component 2012-02-23 10:31:15 +00:00
Andras Timar
7636d37f8f fdo#40665 use CJKAnalyzer for ko, zh-CN, and zh-TW, too 2012-02-17 21:45:37 +01:00
Olivier Hallot
2727a29e57 Fix for fdo43460 Part XLVI getLength() to isEmpty()
Part XLVI
Modules
xmlhelp
2012-01-24 19:15:54 -02: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
Tor Lillqvist
7904a8cc56 I don't see NO_BSYMBOLIC being used anywhere 2011-12-11 02:57:59 +02:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Caolán McNamara
4c5fd05cd1 remove unused members, sablot went away a long time ago 2011-12-06 10:33:04 +00:00
Caolán McNamara
c3b54e6dd4 callcatcher: remove some unused code 2011-12-06 10:33:04 +00:00
Norbert Thiebaud
06bb56ed11 remove include of pch header from xmlhelp 2011-11-27 13:27:34 -06:00
Stephan Bergmann
c1758889cb Heavily simplified utl::ConfigManager. 2011-11-11 22:49:21 +01:00
Stephan Bergmann
2ff63bcdea Undo basis/brand split: merge basis share/ into brand share/. 2011-10-07 22:06:28 +02:00
Tor Lillqvist
c1e82b1c64 Drop apparently unneeded inclusion of l10ntools/compilehelp.hxx
Fixes compilation for non-desktop OSes (iOS and Android), for which we
haven't built and delivered l10ntools.
2011-09-25 15:22:02 +03:00
Caolán McNamara
3fed9f3b46 fix typos and includes 2011-08-29 09:56:09 +01:00
Caolán McNamara
3829892dbc merge together 5 or ascii isalpha/isalnum/isdigit implementations 2011-08-29 09:56:08 +01:00
Julien Nabet
1f7b66104d Some cppcheck cleaning 2011-07-31 00:02:18 +02:00
Caolán McNamara
f921ca3cc5 check return of osl_setFilePos 2011-07-22 10:17:52 +01:00
Matúš Kukan
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00
Jesús Corrius
d9708d06a4 mingw32-gcc doesn't support the cl.exe GR option 2011-06-24 13:18:13 +02:00