Commit graph

295596 commits

Author SHA1 Message Date
Tor Lillqvist
aca52b3cf6 Revert "Build dbaccess and connectivity only for DESKTOP platforms for now"
Nah, breaks the build for non-DESKTOP platforms anyway, as headers
delivered there are needed elsewhere. So just keep building that stuff
even if it presumably will not be needed on either of the non-DESKTOP
platforms.

This reverts commit 9b4212f14b.
2011-10-26 12:18:11 +03:00
Michael Meeks
12ad53ec67 fix android build post feature/gtk3 2011-10-26 09:25:50 +01:00
Tor Lillqvist
2998604bda Make OSL_ENSURE explanation text match the test 2011-10-26 10:48:33 +03:00
Tor Lillqvist
5669a82f09 WaE: '%' : unrecognized character escape sequence 2011-10-26 10:46:20 +03:00
Tor Lillqvist
aafc761738 WaE: default constructor could not be generated
MSVC warning C4510: 'TokenType' : default constructor could not be
generated and warning C4610: struct 'TokenType' can never be
instantiated - user defined constructor required.

The default constructor could not be generated because of the const
member eTokenType, so unconstipate that. The g_TokenTypes array is
const itself anyway.
2011-10-26 10:35:13 +03:00
Tor Lillqvist
8c1c09dced WaE: reinterpret_cast used between related classes
MSVC warning C4946: reinterpret_cast used between related classes:
'sw::mark::IMark' and 'sw::mark::ICheckboxFieldmark'.

This time changing the reinterpret_cast to static_cast didn't work,
that caused compilation errors:

cannot convert a 'sw::mark::IMark*' to a
'sw::mark::ICheckboxFieldmark*'; conversion from a virtual base class
is implied
'const_cast' : cannot convert from 'const sw::mark::IMark *' to
'sw::mark::ICheckboxFieldmark *'
  Conversion from pointer to base class to pointer to derived class
  requires an explicit cast (other than const_cast)

dynamic_cast is what we want here. Also added an OSL_ASSERT sanity
check. Thanks to sberg and hub for discussing this on IRC.
2011-10-26 10:10:42 +03:00
Tor Lillqvist
2175576c12 WaE: unreferenced local variable 2011-10-26 09:43:48 +03:00
Tor Lillqvist
f8766d5258 WaE: unreachable code 2011-10-26 09:40:02 +03:00
Thorsten Behrens
c0913d78c2 Fix fdo#41995 fallout - recognize .svg in odf containers
More code paths that needed fixing - Writer sports its own Graphic
loading implementation, so that had the need for the stream name
fwd-ing, too. The svg deep type detection was necessary for e.g. the
flat odf - which has inline svg without any filename.
2011-10-25 23:23:40 +02:00
Fridrich Štrba
494c6b5524 Realy not need to make this one depend on boost 2011-10-25 23:16:32 +02:00
Tibby Lickle
04eecf3055 Added line marker support
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-10-25 23:04:44 +02:00
Laurent Alonso
5f6e5f7662 Fix a typo + don't open a row or cell if no table is started 2011-10-25 22:17:00 +02:00
Kohei Yoshida
8e2170523c I don't need to include this header. 2011-10-25 15:16:43 -04:00
Kohei Yoshida
abb13e9c63 fdo#41369: Use the 'Default' style as the parent style.
Some buggy XLS documents such as those generated by 1C (app used in
Russia) don't include built-in style definitions, and the cell formats
in those docs are not associated with any style at all.  Let's
associate them with the 'Default' style in such cases.
2011-10-25 15:13:52 -04:00
Noel Power
41437e7ab0 revert autogenerated foo and correct brackets in placeholder 2011-10-25 20:01:43 +01:00
Noel Power
87d8dc5a02 more support for basic/vba unit tests
add moggis work and some tweaks from me too
2011-10-25 19:26:55 +01:00
Noel Power
d371b20db4 add registrymodifications.xcu to allow override of default config 2011-10-25 19:26:54 +01:00
Kohei Yoshida
2091557777 To destroy a cell instance, we need to call ScBaseCell::Delete().
We can't call delete on them directly, as their destructors are
intentionally not public.  Instead, we need to call Delete().
2011-10-25 13:47:46 -04:00
Michael Meeks
b5423ef42e WaE: misc. windows related fixes 2011-10-25 17:11:10 +01:00
Michael Meeks
232c6f1309 gtk3: cleanup timeout source, to avoid annoying warnings with old glibs 2011-10-25 16:25:28 +01:00
Michael Meeks
4d2803d706 initial cut at 'last working' feature to help windows builders 2011-10-25 16:25:27 +01:00
Tor Lillqvist
457af8039a WaE: truncation of constant value 2011-10-25 17:21:43 +03:00
Tor Lillqvist
4f32f6f990 WaE: ignore also MSVC warning C4706: assignment within conditional expression
Sad, but it's too tedious to refactor code like:
    while( (pLayout = GetLayout(pLayout)) )
    {
        ...
    }
2011-10-25 17:21:40 +03:00
Tor Lillqvist
6047d5952d WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation 2011-10-25 17:21:38 +03:00
Tor Lillqvist
ec1531b327 WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation 2011-10-25 17:21:36 +03:00
Tor Lillqvist
ab2cc86cf5 WaE: unreachable code 2011-10-25 17:21:33 +03:00
Caolán McNamara
bfdb63316b add stdio for MacOSX 2011-10-25 14:01:36 +01:00
Caolán McNamara
04c5a36ab8 avoid using com.sun.org apis 2011-10-25 13:50:33 +01:00
Caolán McNamara
db02967f36 WaE: unused variables 2011-10-25 13:50:33 +01:00
Olivier Hallot
a5d6dca3e9 Fix for fdo41997 continuation of VCL cleanup 2011-10-25 13:42:00 +01:00
Lucas Baudin
0862556f1e gtk3: add <cstddef> to vcl/inc/vcl/sysdata.hxx, it seems that g++ 4.6.1 doesn't like to have 'NULL' in plan C++ without this include 2011-10-25 13:41:59 +01:00
Lucas Baudin
9d0f5c8a0c gtk3: Use some static variable in GtkSalGraphics in order to avoid re-loading all GtkStylaContexts 2011-10-25 13:41:59 +01:00
Lucas Baudin
82746a3875 gtk3: add toolbar rendering, there is some graphical bugs if you have more than one row in the toolbar (is it detectable in GtkSalGraphices?) 2011-10-25 13:41:59 +01:00
Lucas Baudin
3c0dd61c41 gtk3: Use CheckBox style (there is still a problem with the hover stage) 2011-10-25 13:41:58 +01:00
Michael Meeks
dc4c10d725 gtk3: post merge fixups 2011-10-25 13:41:58 +01:00
Michael Meeks
28525627b1 gtk3: caveats on using g_main_prepare for older glibs; needs re-work 2011-10-25 13:41:58 +01:00
Michael Meeks
12b3f6a9d8 gtk3: add some missing SolarMutexGuards (thanks to mst for noticing) 2011-10-25 13:41:58 +01:00
Michael Meeks
a07e8231a5 gtk3: fix cairo canvas crash for non X (or svp) backend 2011-10-25 13:41:57 +01:00
Michael Meeks
6328bfd857 gtk3: cleanup fullscreen unpleasantness 2011-10-25 13:41:57 +01:00
Michael Meeks
1e6151c19e generic: fix error trap push/pop/reset semantics 2011-10-25 13:41:57 +01:00
Michael Meeks
1bfd9b5465 generic: fix misc. initialization problems & simplify a little 2011-10-25 13:41:56 +01:00
Michael Meeks
0dc6cb349c generic: undo attempt at cross-platform headless for now 2011-10-25 13:41:56 +01:00
Michael Meeks
931e6bf52f cleanup some missing conditionals causing problems for mac 2011-10-25 13:41:56 +01:00
Michael Meeks
16b9b1aa33 gtk3: fix display changed signal emissions 2011-10-25 13:41:55 +01:00
Michael Meeks
81d1ba2755 gtk3: substantial performance win for editing document headers 2011-10-25 13:41:55 +01:00
Michael Meeks
8077f57f39 generic: overcome Mac specific build errors 2011-10-25 13:41:55 +01:00
Michael Meeks
e8b967a090 headless: add required clip map reset for simpler clipping cases 2011-10-25 13:41:54 +01:00
Michael Meeks
69e4dd1206 basebmp: B2IRange::isEmpty is surprisingly, unhelpfully lame - workaround 2011-10-25 13:41:54 +01:00
Michael Meeks
a53082c7c8 generic: more unix conditional compilation pieces and win32 porting 2011-10-25 13:41:54 +01:00
Michael Meeks
8d068d15b2 generic: share the PspGraphics code between gtk/unx and svp 2011-10-25 13:41:53 +01:00