Commit graph

307588 commits

Author SHA1 Message Date
Michael Meeks
13cb9d9d1a misc dead code and cosmetic cleanup. 2012-06-19 15:02:09 +01:00
Michael Meeks
15bfc2866d fix license header for new files. 2012-06-19 15:02:09 +01:00
Caolán McNamara
8cd35e01a4 WaE: silence warning
Change-Id: Ie0ed609076d59fbb9f3209e406de76aaa731073e
2012-06-19 14:21:59 +01:00
Caolán McNamara
d9e4c74811 merge together hand-crafted traditional/simplified chinese tests
merge together a gadzillion hand-crafted
isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK
implementations which should fix a goodly amount of them

add a MsLangId::isFamilyNameFirst for locales where
family name appears first while I'm at it.

Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
2012-06-19 14:11:50 +01:00
Caolán McNamara
2a598619d7 Related: #i89077# Singapore uses simplified chinese
Change-Id: If6b17c0a19455edb7d7fb94c5d552267c1fe5984
2012-06-19 14:11:50 +01:00
Caolán McNamara
749ffa2991 move odd IsSimilarChinese debugging thing to local scope
Change-Id: I3abcd97b15d9a8500435fab795a7834fa5745dc9
2012-06-19 14:11:50 +01:00
Caolán McNamara
447e5b4b36 death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19 14:11:50 +01:00
Caolán McNamara
aae1b8ffad reduce amount of static Strings
Change-Id: Ic397223332982619d62a30326fa8ceddd59010f3
2012-06-19 14:11:50 +01:00
Caolán McNamara
37b30a6d7d why on earth are these double null terminated
Change-Id: If7246afada76ca078ace48ef6f8bdb6a72adc00a
2012-06-19 14:11:49 +01:00
Caolán McNamara
16bf6e9c5f use a temporary rather than calling Erase
Change-Id: I77c80d332e4bef34c31accf6e2ab77e59f9bf93e
2012-06-19 14:11:49 +01:00
Caolán McNamara
67d0936315 where is the logic of having 5 pChars if we only need 4
Change-Id: I16c1f5ee7a05aa011d00e6f1de86e1aa5d9621b8
2012-06-19 14:11:49 +01:00
Caolán McNamara
64a9f8942d if the string is created of len 0, then no point passing any arguments
Change-Id: I0055ad846f438765c5259e02025e6ef5f32c6169
2012-06-19 14:11:49 +01:00
Caolán McNamara
d531ef63a4 if the string is created from 4 sal_Unicodes then it cannot be of 0 len
Change-Id: I14695ec0871e186266770d7cfe90f532de31ea57
2012-06-19 14:11:49 +01:00
Petr Mladek
1a2549dcdd Revert "Remove License/Credits menu items"
GPLv3 has to be easily accessible. We should not hide it under too many
mouse clicks.

This reverts commit f4c567f8d4.
2012-06-19 14:56:53 +02:00
Luboš Luňák
ad08216f8f match properly the type in the extern declaration
Change-Id: Iaad7538ed7933a1f45bb5e16dc0adec75af53300
2012-06-19 14:29:55 +02:00
Petr Mladek
aab6aba148 fix help localization from source tarballs
localize tool need to get strings also from src directory

Change-Id: If8e94198002888d1fcf9b0b0416b7b5dcaa46386
2012-06-19 13:52:50 +02:00
Petr Mladek
c7b98f2fd8 put the two new optinal desktop files into right file lists
Change-Id: I9e62bb0c14f2ba0d481cb4e926935af2394a652d
2012-06-19 13:52:50 +02:00
Luboš Luňák
1eb52e99b1 treat for tinderbox with obsolete gcc and -Werror *sigh* 2012-06-19 12:12:23 +02:00
Luboš Luňák
dd4ce342c2 no references to temporaries
Change-Id: I6c7a7b88b64ec8c0eef8eac30ea3e6e40e271f76
2012-06-19 11:52:41 +02:00
Luboš Luňák
8bb5411cb5 mark const data as const
Change-Id: Icbd8a343b6cb1615b667451043c23b6f131a0f04
2012-06-19 11:52:41 +02:00
Luboš Luňák
886e29cff7 rework handling the case of recursive ooxml shapes again
Another attempt, whoever has written this apparently didn't consider
the possibility of recursion at all, and this still feels a bit hackish.

Writerfilter keeps just one oox::shape::ShapeContextHandler object during
the entire time of parsing the document, because e.g. <v:shapetype> needs
to be reachable even across VML block (see sw testcases for bnc#705956).
This however presents a problem when VML contains <w:txbxContent> which
contains another VML, as this code previously just took whatever has been
read and returned it to writerfilter, and it broke with recursion.
So now try to mark recursion entry and returns the right shape.

Related to 36c12c246d886b2d96d7a2d4d0c250db9d925c74 and the previous
commits it reverted.

Change-Id: I949a6b52ec7540aa59b047c7b6e908b10fb3bdc1
2012-06-19 11:52:40 +02:00
Luboš Luňák
544ab2ed62 add finding out page width to a testcase
Change-Id: I0de5e694adedf8812cc31036860991c853f38d93
2012-06-19 11:52:40 +02:00
Luboš Luňák
831c2d9528 Revert "rework getting shape for the .docx import filter"
Stupid containers with shared_ptr. Trying to remove the object
from it gets it deleted because it's owned by the shared_ptr
and there's no sensible way to wrestle it out of it. This will
need to be redone somehow.

This reverts commit 04d600d4be.
2012-06-19 11:52:39 +02:00
Luboš Luňák
e28c8f3b75 OSL_ENSURE -> SAL_WARN_IF
Change-Id: Ib8e9976e618e676465f0baf1f38be7e3297ac853
2012-06-19 11:52:39 +02:00
Stefan Knorr (astron)
c3ef1efe47 Fix display of About dialog when buttons contain long strings
Thanks to Jean-Baptiste Faure for spotting.

Change-Id: Ie05a15fca7f40c9a621a6aa758a19f7455d312a6
2012-06-19 11:24:30 +02:00
Caolán McNamara
1d8cc547ff document what methods are from the pre-stl containers
Change-Id: I84070021f2896dbb60c649a6b7961f2f3e0d3585
2012-06-19 09:41:00 +01:00
Christophe Christophe Marion
bd6f2bb7ee Remove a useless include 2012-06-19 09:13:23 +01:00
Caolán McNamara
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
Miklos Vajna
2e4c6b5169 oox: fix all vmlshapecontainer doxygen errors
Change-Id: Ieccd1f5e89c550095cd83a3f11939eec210f789e
2012-06-19 10:07:44 +02:00
Miklos Vajna
2123ede032 n#758883 dmapper: paragraph-level run props should affect numberings as well
Change-Id: I707105f6da53a6cb790d743738875acde561e20f
2012-06-19 09:30:11 +02:00
Miklos Vajna
14d6cf1f8f n#758883 dmapper: always set list id during stylesheet import
This way the sprm handlers can be aware that a numbering is provided by
that style.

Change-Id: I5b5f1570a9e50fd8b3372f5ac7a6cd48e9751254
2012-06-19 09:30:11 +02:00
Jan Holesovsky
538b449ed5 Add a note about MinGW debugging TODO.
Change-Id: I272c06f557c1667ecb15396be71bcd38e472ef73
2012-06-19 09:22:29 +02:00
David Ostrovsky
d633da4399 deliver pyuno/python.exe in one step
Change-Id: I886f4a6aec492ae498ce86d71686c8d9fb26203d
2012-06-19 08:38:27 +02:00
Rene Engelhard
d25453e200 evoab2: add libebook-1.2.so.13 (evolution 3.4)
Change-Id: I03d9c2416de66d694948b9fe560f83317d6b03ef
2012-06-18 23:20:26 +02:00
Tor Lillqvist
ed880251bd WaE: unused parameters
Change-Id: I8dc4dadd3e26578500b555cdf850c3fb95bc1401
2012-06-18 23:05:10 +03:00
Tor Lillqvist
533092a738 touch depends on sal, toolkit depends on touch
Change-Id: I77e108391b48a9dc50491f8e76de8f277f92dfc6
2012-06-18 23:01:49 +03:00
Tor Lillqvist
daaa550121 Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()
Pass on to VirtualDevice where used to set the MapMode of the device
appropriately. Adapt DocumentLoader, use to scale the page rendering
to exactly fit the virtual device.

Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
2012-06-18 22:38:41 +03:00
Tor Lillqvist
8dd75128a5 ByteBufferWrapper tweaks
operator() gets called in a Java GC thread. A JNIEnv* saved in the
constructor (which is called from the UI thread) is not valid in other
threads (although for now, Dalvik notices, warns, and works around
it). So don't bother keeping the JNIEnv*. Instead fetch one when
needed. Move the method implementations from inline in the header to
libotouch's android.cxx.

Change-Id: I7de6fc54bb8d9a59146576d6e8c325fe917393ee
2012-06-18 22:38:30 +03:00
Tor Lillqvist
36244dcfa1 Drop accidentally duplicated section
Change-Id: I7444c59efa4fceff9046341cbac934488dd67514
2012-06-18 20:22:46 +03:00
Lionel Elie Mamane
b86f2147e4 fdo#43967 legacy report designer wizard formats dates improperly
1) Set FormatsSupplier property only if underlying object has one.
   Else, exception is thrown and the format is not set
2) getTyperelatedFieldData uses the format keys, so initialize them
   before call, not after.

Change-Id: I68c4c96a9da9a6afdc3ab8964e973588f53ee814
2012-06-18 16:47:30 +02:00
Stefan Knorr (astron)
f4c567f8d4 Remove License/Credits menu items
The About dialog now houses these functions.

Change-Id: I7f751027564897a063d2910644c69680d471b6d9

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-18 16:34:44 +02:00
Ruslan Kabatsayev
a7f69caf25 GTK: don't crash on X errors
Change-Id: I5b1353b409bc7043d2d1c313a3606ed807eced4b

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-18 16:32:52 +02:00
Caolán McNamara
e31de5e002 detect wrong UniString ctor
there's no way j was intended to be used as a rtl_TextEncoding
here. From context it's clearly meant to create a UniString from
a subset of the input ByteString

Change-Id: Ic0a0773f90686d73ec4eb8b8e03a454585758578
2012-06-18 15:13:52 +01:00
Caolán McNamara
06e2005ed8 convert LocaleDataWrapper to OUString
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-18 15:13:51 +01:00
Caolán McNamara
8e01e88145 add a route to compare a O[U]String to one code unit
Seems very awkward to create an entire temporary O[U]String just to compare it
to another when we want to know if that other contains just one char of a given
value

Change-Id: Iacd4e0d87dc5c5211fa06c61c55e1ed85b1e91f3
2012-06-18 15:13:51 +01:00
Caolán McNamara
40445a57c6 use boost::noncopyable
Change-Id: I1a72115796dfe876fe20bc3fecd9897c90da8db5
2012-06-18 15:13:51 +01:00
Caolán McNamara
5819bec966 ditch last (?) String::String(const sal_Unicode*)
Change-Id: I47ce16581a9923729a7e5e1e5cedaf91e4b215ac
2012-06-18 15:13:51 +01:00
Caolán McNamara
0e0aca151b callcatcher: drop unused macro-generated GetChildWindowId methods
add _WITHID variants for the cases where we (apparently?) still need
them.

Change-Id: I3b8290869368487f04ecd93a5f3a717de7fd10b4
2012-06-18 15:13:51 +01:00
Takeshi Abe
40bb1f631b removed unused forward declarations of class
Change-Id: I32894b853912741e935e2409d2857fe384f67665
2012-06-18 23:04:20 +09:00
Stephan Bergmann
213d5355d7 Clean up some more
...making use of Java 5 variadic function parameters.

Change-Id: I1b538ec7fbb3021a225031543e25dad081a7a409
2012-06-18 14:23:19 +02:00