Commit graph

37033 commits

Author SHA1 Message Date
Caolán McNamara
124a30f47b anonymous namespaces work fine now 2011-06-23 09:08:07 +01:00
Caolán McNamara
4e7325d751 ditch other unused stream operators 2011-06-23 09:08:07 +01:00
Caolán McNamara
d17279e61a ditch unused stream operators 2011-06-23 09:08:07 +01:00
Caolán McNamara
f1251f68b1 remove parse ByteString variant 2011-06-23 09:08:07 +01:00
Caolán McNamara
a346261808 this method is debugging only 2011-06-23 09:08:07 +01:00
Caolán McNamara
9eca65e23a ByteString->rtl::OString 2011-06-23 09:08:07 +01:00
Caolán McNamara
2d73bf3042 ditch unused APPEVENT strings 2011-06-23 09:08:06 +01:00
Caolán McNamara
ace57f2d4a ditch unused inline methods 2011-06-23 09:08:06 +01:00
Tor Lillqvist
588fe79ac9 Use the newly introduced sehandler.hxx (now in solenv/wntgcci/inc)
Where the OOo MinGW people get their __SEHandler from, no idea.
2011-06-23 00:27:35 +03:00
Tor Lillqvist
97529fc384 Fix includes for MinGW cross-compilation
Don't use backslashes. Use correct case in header names.
2011-06-23 00:27:35 +03:00
Caolán McNamara
17e84ae72d add comphelper as a depend if we use comphelper includes 2011-06-22 13:27:19 +01:00
Caolán McNamara
8fdcbfe586 dewrap fontconfig and link directly, remove non-fontconfig paths 2011-06-22 12:46:55 +01:00
Luke Symes
a7e20d7ae2 Implement GetLastEntryInView for SvTreeListBox.
This function matches up with GetFirstEntryInView, and will be useful
in saving the scroll state of a SvTreeListBox, in particular
the CustomAnimationList.

Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
2011-06-22 13:57:54 +03:00
Luke Symes
657a01ef25 Implement ScrollToAbsPos for listboxes.
Scrolls the listbox so the given entry is the first visible entry.
The existing MakeVisible is not good enough since it won't scroll
down if the given entry is already visible.

Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
2011-06-22 13:57:52 +03:00
Luke Symes
16c9d63da6 Set the listbox height to an integer multiple of the listbox entry height.
This ensures that we don't get a half visible entry at the bottom of the view.

Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
2011-06-22 13:57:50 +03:00
Fridrich Štrba
bfc8f93366 Use the sweep flag to determine the drawing direction
The previous solution was giving somehow acceptable results
in the majority of cases, but was pretty broken
with corner cases where the arc is exactly half of the whole ellipse and where
the large arc flag is largely irrelevant.
If the sweep flag is equal to 0 drawing goes in the sense of decreasing angles.
If it is set, drawing goes in the sense of increasing angles.
2011-06-22 12:54:25 +02:00
Fridrich Štrba
39770935e4 Fix deliver 2011-06-22 12:54:20 +02:00
Thorsten Behrens
de8b6ad8ff Teach LibreOffice proper svg:d support 2011-06-22 12:54:14 +02:00
Caolán McNamara
fb18147a63 make fontconfig non-optional on non-MacOSX unix 2011-06-22 11:19:06 +01:00
Caolán McNamara
0c6f800358 fix build errors 2011-06-22 10:38:44 +01:00
Caolán McNamara
7ccf55e61d ByteString->osl::OString[Buffer] 2011-06-22 09:25:35 +01:00
Caolán McNamara
32cc00e9bc ditch old string 2011-06-22 09:25:35 +01:00
Caolán McNamara
30a53d4ea9 simplify this now 2011-06-22 09:25:35 +01:00
Caolán McNamara
42bfc7c6dd junk unused archaic pre-stl containers 2011-06-22 09:25:35 +01:00
Caolán McNamara
a9bec36b04 remove unused appendUSASCIIParameter methods 2011-06-22 09:25:35 +01:00
Caolán McNamara
ac96c998b9 take advantage of default arguments 2011-06-22 09:25:35 +01:00
Caolán McNamara
e370ee9a88 ditch some old-style strings 2011-06-22 09:25:35 +01:00
David Tardon
93d8410023 use the new way of specifying UNO API includes 2011-06-22 10:08:36 +02:00
Tor Lillqvist
b1d08330f4 Fix MinGW compilation 2011-06-22 09:09:32 +03:00
Tor Lillqvist
1ad1d7c114 Drop unnecessary UNX vs. Windows ifdef
The UNX code compiles fine both with MSVC and MinGW. In fact, the
non-UNX code did not compile with a modern MinGW.
2011-06-22 09:09:32 +03:00
Tor Lillqvist
2062cdd6ca Add (dummy) svsys.h file for Android 2011-06-21 23:40:13 +03:00
Caolán McNamara
1b74a59a35 WaE: short-reads/writes 2011-06-21 12:25:28 +01:00
Tor Lillqvist
6423a66abf Use "Unix-style" (import) library names for MinGW, to match libs.mk 2011-06-21 13:27:24 +03:00
Tor Lillqvist
5b3e2b6534 Don't use backslashes in #include, eek 2011-06-21 13:27:23 +03:00
Caolán McNamara
ce404da339 convert string 2011-06-21 09:13:10 +01:00
Caolán McNamara
3b2dca63e7 convert string 2011-06-21 09:13:10 +01:00
Caolán McNamara
6c359e5757 ByteString->rtl::OStringBuffer 2011-06-21 09:13:10 +01:00
Tor Lillqvist
e72b8881cd Do depend on rsc always, we include rscsfx.hxx delivered from there 2011-06-21 03:19:23 +03:00
Tor Lillqvist
74948277ff Mark l10ntools for DESKTOP builds only 2011-06-21 03:09:00 +03:00
Tor Lillqvist
c812704530 Fix for cross-compiling with MinGW 2011-06-21 02:47:53 +03:00
Tor Lillqvist
62467741ec Use the import library name that i18npool expects with MinGW 2011-06-21 02:29:08 +03:00
Tor Lillqvist
a31a128023 Use MSVC-specific compiler options only when $(COM)==MSC 2011-06-21 02:24:39 +03:00
Tor Lillqvist
ec5b3a6157 Make the MinGW import library name match what libs.mk wants
Use the i prefix only for import libraries built with MSC. Add COMID
to the import library built with MinGW. This matches the shared
library name on Unix, and MinGW is a Unix-style compiler.
2011-06-21 00:01:25 +03:00
Tor Lillqvist
fc9e0ee821 Don't use the i prefix for import libraries with WNTGCC 2011-06-21 00:01:25 +03:00
Tor Lillqvist
14619535c9 This file is not used 2011-06-21 00:01:25 +03:00
Jesús Corrius
6bc21bfd34 Avoid possible null pointer dereference 2011-06-20 22:21:13 +02:00
Robert Nagy
c481fc6bb8 add missing newline to the end of file to silence the compiler 2011-06-20 17:08:12 +02:00
Caolán McNamara
b98ab2bee1 catch by const reference 2011-06-20 11:08:37 +01:00
Caolán McNamara
dfcb6799d7 catch by const reference 2011-06-20 11:08:37 +01:00
Caolán McNamara
86e420075c handle truncated stream 2011-06-20 11:08:37 +01:00