Commit graph

317496 commits

Author SHA1 Message Date
Luboš Luňák
8532cbd3e6 simply use string literals
Change-Id: Id82c9dc43d3af21d434ed5f9b7ef3bdae9c4289b
2012-12-11 15:15:48 +01:00
Caolán McNamara
a930214c40 support 'active' property in ListBox
Change-Id: Ib1219e8e7031febd4f9cc599cb19426f974eac9c
2012-12-11 14:04:51 +00:00
Takeshi Abe
7ba2c823ca sal_Bool to bool
Change-Id: Idf6003acc7ee07997150f77c886947dc1476218f
2012-12-11 22:29:27 +09:00
Takeshi Abe
0083b0d55c Drop unused function
Change-Id: I4d33262fbff0c802379eea2c048048c85f4c373c
2012-12-11 22:29:27 +09:00
Ivan Timofeev
abca8e3afa use SAL_WARN_UNUSED_RESULT for OUString::replaceAll
Change-Id: I30754e4d0cb0c490e6c125ba034e2e0eac3751e7
Reviewed-on: https://gerrit.libreoffice.org/1297
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-12-11 13:23:14 +00:00
Caolán McNamara
e4cdeebc48 add popup menu support to .ui loader
and hack up a mechanism to support menubuttons and map
the popups to the menubuttons

Change-Id: I6f3bd0e83b2c55f71aa85924fdc32d3a73ce0197
2012-12-11 13:15:42 +00:00
Caolán McNamara
89d3780bbe use a ListBox instead of a MenuButton in the thesaurus dialog
Change-Id: I0cbe7b4c6d329f2780cb3cac9bce6d722b7de469
2012-12-11 13:15:42 +00:00
Ivan Timofeev
c88508bc53 OUString::replaceAll unused results
Change-Id: I8d8dd139e57fb00decda8705157480439009cde8
2012-12-11 16:24:26 +04:00
Luboš Luňák
88096c2d4a matchIgnoreAsciiCaseAsciiL() -> matchIgnoreAsciiCase()
Change-Id: I6767c62265dcfbb55ce086385802db59d4d0b177
2012-12-11 13:22:53 +01:00
Marcos Paulo de Souza
3472541ab7 Remove RTL_* from uui
Change-Id: I411133e81a9b548aaef2333c705c1376f45304d7
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1294
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-11 12:21:44 +00:00
Marcos Paulo de Souza
e6ba54ceb8 Remove (RTL_CONSTASCII_USTRINGPARAM from lotuswordpro
Change-Id: I4912ffc42edbfa1456835e61163812c371eb14c6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com
Reviewed-on: https://gerrit.libreoffice.org/1293
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-11 12:19:16 +00:00
Radu Ioan
3e64874e7c rtl:: prefix removal from configmgr
- removed rtl:: prefix
- removed RTL_CONSTASCII_USTRINGPARAM
- corrected some misspells

Change-Id: I88bb0beec718a7fe38c61220aa61401419f23b42
Reviewed-on: https://gerrit.libreoffice.org/1291
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-11 12:08:38 +00:00
Eike Rathke
90874ab3c7 do not trigger liblangtag init during startup
Initializing the liblangtag database stuff takes much percentage of
startup time, avoid that.

Change-Id: Ieb12ff71c2b1421a5644acebaef4c8366694c249
2012-12-11 13:00:31 +01:00
Eike Rathke
4d24507451 avoid liblangtag processing for known locales, and know 'qtz'
For "simple" known (to us) locales avoid the overhead of liblangtag,
also in preparation of not having to initialize its database during
startup.

This also enables recognition of the 'qtz' pseudolocale for key ID
resources again, see fdo#57413

Change-Id: Id52a1ddc37b42063e3bf68a6dbeaeacfbfa704ef
2012-12-11 13:00:31 +01:00
Michael Meeks
055fca04a4 fdo#42553 - fix square gradient rendering by vcl. 2012-12-11 11:54:09 +00:00
Luboš Luňák
017ac0b09b enum is not something that has external linkage, so no point in visibility
and apple gcc-4.0.1 chokes on this

Change-Id: I4799d66f483f10d9b633077a16d25208c8b595e0
2012-12-11 12:29:35 +01:00
Michael Meeks
b8511cef9a fdo#35680 - fix wrong gradient rendering when grouped. 2012-12-11 11:01:47 +00:00
Fridrich Štrba
5d309c7e2e Fix a bug with fixed line-heights in Visio files
Change-Id: I861c49d2b0dfc57d6e777b14742cb324e4d4d0a8
2012-12-11 11:57:41 +01:00
Caolán McNamara
f7cee03665 prefer my own cjk char-as-word counting
Change-Id: I120acd40b83cad074869b404d4e74b5ec69d493d
2012-12-11 10:39:00 +00:00
Caolán McNamara
7c1ca63995 add regression test for EDB-23279
Change-Id: I9d31602750dc6516b7bee5c0796328cee07b10ea
2012-12-11 10:39:00 +00:00
Miklos Vajna
12ebc9c7a6 sw: splitted -> split in SwRTFReader
Change-Id: Iffa3296a15cbfaef8b7eca0648d9d954c92b3d4a
2012-12-11 11:11:28 +01:00
Lionel Elie Mamane
c9a40d21fa When parsing does not give a table name, take it from the column
Change-Id: Ie8a2c7e473d717cc22c51205dd8cdc59934de8b1
2012-12-11 11:08:53 +01:00
Luboš Luňák
22dadc5d15 fix include guard 2012-12-11 10:40:18 +01:00
Luboš Luňák
bbbbe235c9 'using namespace rtl;' in a header is baaaad 2012-12-11 10:40:17 +01:00
Luboš Luňák
15b91684a6 remove wrong and unused forward declaration for 'class vector' 2012-12-11 10:40:17 +01:00
Caolán McNamara
0efcfcdf40 cppcheck: size() == 0 -> empty()
Change-Id: I23b6b8fdbb9c4f367a590a21e40e7bbaa76f7fce
2012-12-11 09:12:03 +00:00
Luboš Luňák
621b0f29b1 PCH support for Library_sw
With MSVC2010 compile time goes 20 minutes -> 7 minutes. With Clang
it's however 7 minutes -> 10 minutes, apparently the overhead
caused by all the extra data is bigger than the gain.
2012-12-11 08:41:05 +01:00
Luboš Luňák
b1ed667873 this class is apparently a dupe of one in editeng 2012-12-11 08:41:05 +01:00
Luboš Luňák
64c3dbc331 include PCHOBJS in target's objectlist
Otherwise gb_CppunitTest_use_library_objects won't work with MSVC.
2012-12-11 08:41:05 +01:00
Luboš Luňák
d704f2c91f make PCH depend on LinkTarget/headers
Rather than LinkTarget/external_headers, as this doesn't really make
any difference, except if PCH is made to also use headers from the same
target (not a very good idea for development, but might be useful
e.g. for buildbots).
2012-12-11 08:41:04 +01:00
Ricardo Montania
a0c0b8cad9 String -> OUString in filter
Change-Id: I9041129289c24c4ee8a7a6d50e34b785969e8204
2012-12-11 06:20:21 +01:00
Marcos Paulo de Souza
e299004c7a Remove UniString from uui module
Change-Id: I6eb52f42c3364970553015492b9c488c04febed6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-12-10 21:26:59 -02:00
Luboš Luňák
17b272effc operator+ for stringbuffer
This is to complement the RTL_FAST_STRING variant, which allows any
combination, so even two stringbuffers.

Change-Id: Ic15d81246b3d0f3e22b51c0516409e95c3a4dc8d
2012-12-10 23:55:20 +01:00
Christos Strubulis
c13ad097fb Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10 21:38:28 +00:00
Michael Meeks
e7e4d67786 fdo#55570 - use a hash instead of set initially until sorting needed
This rather substantially accelerates the first use of autocorrection.
Interestingly, it also appears to accelerate the sorting of the items;
potentially inserting sorted items into a set is a pathological balancing
case, that is avoided by the hash algorithm's randomness.
2012-12-10 20:43:50 +00:00
Michael Meeks
cccb0bb123 fdo#55570 - re-factor SvxAutocorrWordList to hide it's innards 2012-12-10 20:43:45 +00:00
Michael Stahl
c479ccc438 fdo#57780: sw: lcl_ArrangeLowers: register drawing ...
... objects at the right page.  This was effectively disabled for all
anchor types except FLY_AT_PARA by a misplaced ! in the conditional,
and C++ not being a type safe language.

Change-Id: I64af2141e577ac896292eecd9f8c46c62a0548db
2012-12-10 21:08:07 +01:00
Bjoern Michaelsen
3c64d86637 no need for wget/curl when not fetching anything
Change-Id: I097675450a0eed87eccf90356c81657485609d13
2012-12-10 19:08:27 +01:00
Tor Lillqvist
c74fe188b1 Create executables that can be run on Windows XP
Specify subsystem version 5.01 in the linker options. Otherwise, when
built with the linker in Windows Kit 8.0, executables are created with
the "operating system version" and "subsystem version" fields set to
6.0 (which means Vista).

Attempting to run such executables on Windows XP fails with an error
that claims them to be "invalid Win32 executables" (which is a blatant
lie, of course).

We can well set the subsystem version to 5.01 as we don't
unconditionally use any APIs that wouldn't be present on XP.

Note that you need Visual Studio 2012 Update 1 to be able to create
code that runs on XP. The original version creates executables that
importx entries from kernel32.dll like GetTickCount64 that aren't
present on XP.

Apparently it doesn't hurt on XP that DLL headers specify a "too new"
subsystem version.
2012-12-10 19:43:18 +02:00
Stephan Bergmann
ee43379455 Revert "Use XNotifyingDispatch to avoid races"
This reverts commit 21ea372541.  Looks like
neither XNotifyingDispatch nor XSynchronousDispatch can be used to avoid this
race; sigh.
2012-12-10 18:25:09 +01:00
Stephan Bergmann
67a624f47f Fix SDK example
Change-Id: Ide65bcf203f78d1e8d3286f4ee19846a357fb364
2012-12-10 18:23:28 +01:00
Stephan Bergmann
70fd650dbd No config_global.h in SDK
Change-Id: I6e9947f056c0b70d629ac27d57b3d7d115f8d487
2012-12-10 18:23:14 +01:00
Andras Timar
16dcaa433d Updated core
Project: translations  85f724f5aa1d6a59662a7d1c7ea406a641814bd2
fdo#58068 fix invalid .po headers
2012-12-10 17:17:55 +00:00
László Németh
1a2ea25971 some Python 3.3 port (not important for LO 4.0)
Change-Id: Id151d59a9bab2454b9d359aefb5c35a9f05bb9ce
2012-12-10 17:15:56 +01:00
Luboš Luňák
02e2202894 do not try to use -std=c++11 after all
The very same libstdc++ that breaks with clang and -std=gnu++0x
has also the ABI breakage that prevents using C++11 anyway.
Moreover, there's still the idea that we should preferably use
the gnu variant, just like the default is -std=gnu++98, rather
than strict C++11 (the gcc manpage for -ansi e.g. says that
some builtins are disabled in this case).

Change-Id: I4dac01374ee7a34796161f6e0e76eb962953e709
2012-12-10 16:50:32 +01:00
Stephan Bergmann
0644809594 Reported graphite2 patch upstream
Change-Id: Idca64b8925199f3d275e7966c1d0e13fee4967a8
2012-12-10 16:17:23 +01:00
Stephan Bergmann
ad2e7f5be3 Fix SDK example
Change-Id: I3d31e0ad7e5015340a045230678760e3b20c59a1
2012-12-10 16:17:22 +01:00
Stephan Bergmann
f2609cc70f Do not fail for unset OSL_DEBUG_LEVEL (as happens in SDK)
Change-Id: I0e9b8a251ed790d1505566ef4fa991309986522d
2012-12-10 16:17:22 +01:00
Cédric Bosdonnat
1e9261aefd Template manager: paint white background under thumbnails
Change-Id: I55bbda1a7d04e462737b8cf24aba755b8ce96e8a
2012-12-10 16:11:58 +01:00
Cédric Bosdonnat
87e5851af8 Template manager: toolbars height was too small
Change-Id: Ie2cb1f4947baf99d90bfaaf62834482c8f7e6a05
2012-12-10 16:11:57 +01:00