Commit graph

774 commits

Author SHA1 Message Date
Julien Nabet
c53812a1b7 Some cppcheck cleaning
Change-Id: Ic30cdeffabec1eb1a6c153ac450a3d28064ef534
2012-05-20 15:25:37 +02:00
Takeshi Abe
9902f0ee3d removed unused const rtl::OUString
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-05-17 22:44:43 +09:00
Caolán McNamara
120cd2b578 WaE: MSVC2008 C4309 truncation of constant data
Change-Id: I7cae514cfd3c51bde5e8e0df2c51bed23904569d
2012-05-17 14:03:25 +01:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Caolán McNamara
8512e5c2b3 reduce static_initialization_and_destruction chain
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-16 12:04:10 +01:00
Tomas Chvatal
516f81a176 Do not call getOrigName ever
When one take look on what the code did:

   name = nameA;
   origName = nameA;

   GooString *getOrigName() { return origName; }
   GooString *getName() { return name; }

This code is used even with poppler 10 which was branched 4 years ago.
So simply do not bother with this code at all.

Change-Id: Iba877e765fb763878f5ccd3e1fa62c29cadc9085
2012-05-15 15:10:29 +02:00
Petr Mladek
cf7f6ba13f better fix for poppler 0.20
Do not call gfxFont->getName() twice; Thanks David Tardon for catching this.

Heh, I wonder if gfxFont->getOrigName() ever given any different value
than getName() ;-)

Change-Id: Idaf95a6a024076c6d450519923b6129166a5f8bd
2012-05-14 15:38:31 +02:00
Ionut Biru
704f3155cc poppler 0.20 changed its api
Modification introduced in
http://cgit.freedesktop.org/poppler/poppler/commit/?id=c0affb1845c339f89ca67608cb9fd9134ff902f5

Signed-off-by: Ionut Biru <ibiru@archlinux.org>
2012-05-14 10:06:52 +02:00
Gábor Stefanik
5c379de958 fdo#46223: Fix Presenter Console help screen layout
Change-Id: I18d2fda46d3a6427b1691c1ff7838097bb25d0ec
2012-05-12 17:48:40 +02:00
Michael Stahl
a9550f63cd normalize variable names in gbuild user makefiles
Variables should have module name as prefix to prevent collisions.
2012-05-10 10:47:44 +02:00
David Tardon
63417ac5d3 fdo#49136 use localized .xcu files 2012-05-04 16:45:35 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Stephan Bergmann
de562138ea Bump extension versions after changing to passive registration
...otherwise, if they are bundled, their per-user data is not regenerated, leading
to inconsitencies.
2012-04-24 20:22:48 +02:00
David Tardon
1f1f8ac4db remove leftover component_writeInfo 2012-04-24 07:24:18 +02:00
Korrawit Pruegsanusak
bcb4defef7 Fix fdo#45848
regression from 5dd4f9ecb2
The change:
-    if(m_GlyphsList.size()>1)
+    if(!m_GlyphsList.empty())
is incorrect, so change it back.
2012-04-21 20:49:04 +01:00
David Tardon
0909f448fe convert presenter console to passive registration 2012-04-19 13:33:19 +02:00
David Tardon
abd74a8ef0 convert pdfimport to passive registration 2012-04-19 13:33:18 +02:00
David Tardon
6d9a524352 convert presentation minimizer to passive registration 2012-04-19 13:33:17 +02:00
David Tardon
23d3532f9d fix presentation minimizer registration 2012-04-18 09:49:03 +02:00
David Tardon
0ac093f344 mpAccessibleConsole is not a child of itself .-) 2012-04-18 09:49:02 +02:00
Caolán McNamara
119b0a666d callcatcher: update list 2012-04-16 15:21:38 +01:00
Matúš Kukan
2d0e58e1fc unusedcode: PresenterAnimation and PresenterAnimator 2012-04-14 19:41:07 +02:00
Caolán McNamara
3934efe28c sigh, need a 64bit zlib too on windows, reverting 2012-04-13 14:06:55 +01:00
Caolán McNamara
452af5f452 gbuildize internal zlib
and stick headers into the solver in the same hierarchy as is "standard"
so we don't have to patch so much, similiarly rename to libz
2012-04-13 13:15:25 +01:00
Rob Snelders
912e36e911 Remove VERBOSE part 3 2012-04-10 13:37:11 +02:00
Matúš Kukan
0a45deba2b enforce only one possible use of gb_CustomTarget
This brings two changes:
- no more recursive calling of make
- gbuild_simple is now not used => removed
2012-04-09 21:04:39 +02:00
David Tardon
5fcacd8408 rename gb_CppunitTest_uses_ure 2012-04-08 15:17:45 +02:00
David Tardon
fbbb833dda compile- and run-time use of UNO must be split
There are unit tests that do not use URE, e.g., in cppuhelper.

This reverts commit 33e9f3d3d6.

Conflicts:

	sot/CppunitTest_sot_test_sot.mk
	svl/CppunitTest_svl_urihelper.mk
2012-04-08 15:12:18 +02:00
David Tardon
36e7740104 add function for converting path to URL 2012-04-08 14:53:09 +02:00
David Tardon
e3cf2b45f7 simplify use of configuration from unit tests 2012-04-08 14:53:09 +02:00
David Tardon
e5f16b8d3e always use --protector for UNO tests 2012-04-08 14:53:08 +02:00
David Tardon
33e9f3d3d6 drop uses_ure 2012-04-08 14:53:08 +02:00
David Tardon
fe209e78db let use_api handle the use of type rdbs at runtime
Or is there any use case where we would need to use UNO API headers, but
not require the appropriate type database at runtime?
2012-04-08 14:53:07 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +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
Szabolcs Dezsi
8a01ee6243 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 14:30:05 +02:00
Szabolcs Dezsi
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
David Tardon
a4b8a1c9f5 fdo#33914 do not play sound in presenter console 2012-04-04 14:23:05 +02:00
David Tardon
6ab4fac5a5 set alpha too 2012-04-04 14:23:04 +02:00
Matúš Kukan
be3c5c7c56 sdext: use CustomTarget makefiles 2012-04-04 11:31:58 +02:00
Luboš Luňák
802518c59a always pass --headless to cppunits
They should not need any actual UI anyway, and most of them already
pass the option manually.
http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
2012-04-02 12:26:20 +02:00
Takeshi Abe
2cab28c2b8 removed duplicate includes in filter / i18npool / sdext 2012-03-30 22:30:45 +09:00
Michael Stahl
72bf6cc0dd .pdf files don't need executable bits 2012-03-23 21:58:18 +01:00
Christina Rossmanith
e55595d0e0 maTransform had to go ( was always = identity) 2012-03-22 06:37:49 +01:00
Caolán McNamara
08fd513e71 callcatcher: update list 2012-03-20 20:35:53 +00:00
Christina Rossmanith
dbd9198aa9 Remove unused code (sdext) 2012-03-20 13:57:59 +00:00
Christina Rossmanith
fdd1863907 Remove unused code (sdext) 2012-03-20 13:51:48 +00:00
Christina Rossmanith
591e0fc5e9 Remove unused code 2012-03-20 13:49:19 +00:00
Julien Nabet
9481eb32e7 cppcheck report: logical disjunction always evaluates to true 2012-03-20 14:24:46 +01:00