Commit graph

678 commits

Author SHA1 Message Date
Mariusz Dykierek
e9ca381275 A copy-paste bug detected by cppcheck 2012-01-23 12:58:10 +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
Tor Lillqvist
08651bcc73 Try without xmlhelp on non-desktop OSes 2012-01-16 16:52:55 +02:00
Stephan Bergmann
5ebd4bd13c Clang -Wunused-variable. 2012-01-16 13:56:43 +01:00
Stephan Bergmann
2091a7fe87 Clang -Wunused-variable. 2012-01-16 13:56:42 +01:00
Stephan Bergmann
9892e4c8d9 Clang -Wunused-variable. 2012-01-16 13:56:40 +01:00
Rich Wareham
15fd86b975 sdext/source/presenter/*: remove extraneous vertical whitespace
Replace 5 lines of vertical whitespace in sdext/source/presenter/* with
a single line so that more can be seen on the screen at once.

Fixes bug 44635
2012-01-12 14:43:15 +00:00
Olivier Hallot
f19d269ab4 Fix for fdo43460 Part XXXII getLength() to isEmpty()
Part XXXII
Modules
sdext
2012-01-10 23:08:01 -02: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
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
David Tardon
aee436760e function component_canUnload is exported 2011-12-27 15:44:42 +01:00
Takeshi Abe
5451e9c702 catch exception by constant reference 2011-12-26 03:38:50 +09:00
Matúš Kukan
b769901d5a unusedcode: remove various unused classes 2011-12-22 15:33:50 +01:00
Caolán McNamara
c1c3ef64bc callcatcher: remove some unused code 2011-12-21 09:30:20 +00:00
Michael Meeks
29b6eda7e5 remove un-used code, and make a start at rampant vspace wasting 2011-12-20 15:51:21 +00:00
Andras Timar
8f480ee628 fix racecondition in sdext/source/minimizer/makefile.mk 2011-12-19 15:45:37 +01:00
Bjoern Michaelsen
f2a1882be4 fix racecondition in sdext/source/pdfimport/makefile.mk 2011-12-19 10:45:09 +01:00
Michael Stahl
6fd2d81517 fdo#43707: tweak workarounds for fdo#42865:
Apparently on Windows the SAL_DLLPUBLIC_EXPORT does not work for unknown
reasons, so use the old mapfiles on that platform.

Should fix regressions from 1fb5eb21, 48dbaa51, a9da5a0b.
2011-12-15 17:28:35 +01:00
Tor Lillqvist
5f03eb4bc6 The common_build stuff is surely obsolete 2011-12-11 02:58:01 +02:00
Andras Timar
567e4ba273 we don't pack runtime with internal extensions 2011-12-09 09:23:45 +01:00
Michael Meeks
f1db9ee6c3 Fix misc. bugs in presenter view switch screen feature: make it work. 2011-12-08 19:45:40 +00:00
Stefan Knorr (astron)
1671c16d60 much improved presenter console monitor switch artwork 2011-12-07 11:19:12 +00:00
Michael Meeks
5ccc0361bf WaE: fix Mac build wrt. fprintf 2011-12-05 22:30:49 +00:00
Michael Meeks
fb7f82382b presenter console: clean and simplify over-abstract code 2011-12-05 20:53:23 +00:00
Michael Meeks
857b4f5357 presenter console: add 'Switch monitors' button to help get setup
For years, we've been carefully detecting the laptop display, and choosing
it as the default display to project to - thus many of our users have
configured around this. Provide a way for them to undo the folly, and any
subsequent mis-detections easily.

Initial Artwork is clearly in need of some bug-fixing.

Cleanup hyper-pre-optimised madness in ProtocolHandler.cxx too, called
a few dozen times - and has nested switch statements on characters.
2011-12-05 20:53:23 +00:00
Markus Mohrhard
cf58b6f81d fix typo 2011-12-01 12:29:10 +01:00
August Sodora
443a7229f9 Remove uses of charAt 2011-12-01 11:10:28 +01:00
August Sodora
13673b71bc Remove uses of OUString::setCharAt 2011-11-28 14:56:40 +01:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
dd896dd28e remove include of pch header from sdext 2011-11-27 13:21:13 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
August Sodora
93253ee6ab Remove some uses of OUString::setCharAt 2011-11-26 00:49:26 -05:00
Thorsten Behrens
b0e1f78408 First cut at making pdfimport unit tests work again. 2011-11-25 16:44:27 +01:00
Andras Timar
eb339bf18c remove (empty) help of Presentation Minimizer fdo#39306 2011-11-22 19:15:51 +01:00
Caolán McNamara
5317e0501f WaE: unused variable, and catch by const 2011-11-22 12:46:43 +00:00
Tor Lillqvist
469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
This commit for the old build system. (Don't bother for components not
relevant for Android.)

The Android package installer (as invoked through "adb install", from
"ant debug install") silently ignores native libraries in app packages
(.apk files) whose names don't start with "lib" and end with ".so".

The package builder (as invoked through "ant debug") in the SDK gladly
includes also thusly named native libraries in the .apk, though. Yay
for consistency.
2011-11-17 15:22:59 +02:00
Michael Stahl
1fb5eb2162 fdo#42865: sdext: no mapfile
In order to not have the offending local _ZNSs4_Rep20_S_empty_rep_storageE
symbol in PresenterScreen.uno.so and pdfimport.uno.so,
build them with hidden visibility.
2011-11-15 20:52:02 +01:00
Stephan Bergmann
b11bd0323e Removed comphelper -> unotools processfactory.hxx duplication. 2011-11-14 11:50:26 +01:00
Andras Timar
3c3f1e3959 enable localization of extension descriptions in sdext 2011-10-31 15:25:19 +01:00
Andras Timar
a18bfb0830 Revert "enable localization of extension descriptions in sdext"
This reverts commit 1846533707.
2011-10-30 22:56:43 +01:00
Andras Timar
1846533707 enable localization of extension descriptions in sdext 2011-10-30 21:47:13 +01:00
Felix Zhang
a38cbc58bb remove unused methods from sdext:presenter 2011-10-25 11:12:54 +02:00
Andras Timar
bce48fb94b Revert "localize description.xml of presenter-screen extension"
This reverts commit 89f7e17692.
2011-10-20 15:07:50 +02:00
Andras Timar
89f7e17692 localize description.xml of presenter-screen extension 2011-10-20 11:10:53 +02:00
Stephan Bergmann
bf1f0183d5 Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). 2011-10-18 23:10:56 +02:00
Julien Nabet
9895d3169f Some callcatcher cleaning 2011-10-16 01:06:33 +02:00
Andras Timar
dbf650a31d eliminate @MINIMIZEREXTENSIONPRODUCTNAME@ variable 2011-10-05 22:11:46 +02:00
Caolán McNamara
d7829740dd keep it simple, original won't compile except on msvc anyway 2011-10-04 15:53:58 +01:00
Tor Lillqvist
1e085b43c1 WaE: class has virtual functions, but destructor is not virtual 2011-10-04 17:12:05 +03:00