Commit graph

303005 commits

Author SHA1 Message Date
Thorsten Behrens
80fe015a86 Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Thorsten Behrens
d32cf8d820 Clear whole layer in slideshow sprites fdo#45219
The clear() previously offsetted the topleft rect corner for sprites
by _the sprite topleft_ position, which is rather unhelpful but for
sprites located at (0,0).
2012-03-16 17:02:23 +01:00
Thorsten Behrens
b926611351 Clear sprites to white fdo#45219.
Another fix for a rendering glitch mentioned in fdo#45219 -
vclcanvas sadly does not properly implement compositing, so all-
black background yields dark shadows on semi-transparent objects.

Ultimately though, we should retire vclcanvas instead.
2012-03-16 17:02:22 +01:00
Thorsten Behrens
e86bcf1134 Clear full sprite area for fdo#45219
Use clearAll() here, to really clear the whole sprite area (clear()
does respect potential clip polygons)
2012-03-16 17:02:22 +01:00
Thorsten Behrens
3f5efa1e76 Use transparency for gradients fdo#45219
vclcanvas has 1bpp alpha - so cut-off transparency at 98%
This looks for all practical cases close enough to full alpha.
2012-03-16 17:02:22 +01:00
Thorsten Behrens
4b475f31eb Return proper transparency value even for ignore_color.
Rather unexpectedly, calling setupOutDevState() with IGNORE_COLOR
does not return a proper transparency, but null. Fixed now.
2012-03-16 17:02:22 +01:00
Thorsten Behrens
ac2eaaab7a Align transparency cut-off with application defaults
So, the Impress transparence default is 50% - we'd want that to
*not* be fully transparent on vclcanvas, so shift the cut-off by one
2012-03-16 17:02:21 +01:00
Thorsten Behrens
024d661424 Make sure mask is rendered opaque in vclcanvas. 2012-03-16 17:02:21 +01:00
Thorsten Behrens
315d82d741 Remove nasty xor hack for non-Mac vclcanvas
This nowadays really is a pessimization.
2012-03-16 17:02:21 +01:00
Thorsten Behrens
50309b9574 Another partial fix for fdo#45219
Make sure transparent polygons really only cover the polygonal area,
not the whole bounding box for sprites.
2012-03-16 17:02:21 +01:00
Thorsten Behrens
83114b27fa Consistent use of alpha in cairocanvas
Use GetIndex() instead of GetBlue() (does the same, but more
self-documenting); use opaque when no alpha channel consistently.
2012-03-16 17:02:20 +01:00
Thorsten Behrens
af1514abf2 Performance: avoid scaling just-generated bitmap 2nd time
We're creating the bitmap to exactly match our output size -
so why rounding off total transformation again, incurring another
expensive bitmap scale down in the canvas?
2012-03-16 17:02:20 +01:00
Thorsten Behrens
3dcd8ca0a7 Cleanup: remove silly extra scope. 2012-03-16 17:02:20 +01:00
Stephan Bergmann
a277042e3e Some include and comment clean up 2012-03-16 16:39:50 +01:00
Stephan Bergmann
81cdce2993 Removed unused qadevOOo BASIC test code 2012-03-16 16:39:50 +01:00
Michael Stahl
804d0a8967 fdo#42750: delay painting borders until after subsidiary lines
With commit 0f0896c26f, borders are drawn
immediately, but then the subsidiary lines are drawn over the borders,
hiding 1 twip wide borders completely.
2012-03-16 15:49:42 +01:00
Michael Stahl
bb35d3b241 WNT_INTEL_MSC.mk: use tabs for consistency 2012-03-16 15:49:41 +01:00
Fridrich Štrba
06427dfad3 Uploading libcdr-0.0.5 2012-03-16 15:41:48 +01:00
Stephan Bergmann
32a5ad89a5 fdo#37593 Make sure needsUpdate compares canonicalized paths
...so that it does not erroneously always claim an update is needed, so that
SvtDocumentTemplateDialog::UpdateHdl_Impl does not always jump back to
OpenTemplateRoot() shortly after opening the dialog (and thus jumps away from
the last remembered folder).
2012-03-16 15:01:26 +01:00
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
Markus Mohrhard
1a6b52a1bf add indentation to sw's layout dumper 2012-03-16 14:39:48 +01:00
Kohei Yoshida
3570590195 Prevent out-of-bound array access.
Source range may not start from column 0.
2012-03-16 09:36:37 -04:00
Kohei Yoshida
b41cf4c615 We shouldn't skip empty columns, or else column index becomes out of sync. 2012-03-16 09:36:37 -04:00
Kohei Yoshida
9776cc1503 Check all this in one place i.e. in ValidQuery(). 2012-03-16 09:36:36 -04:00
Kohei Yoshida
efdb67ca92 We don't ever compare equality of two caches.
That'd be super-expensive anyway.
2012-03-16 09:36:36 -04:00
Noel Power
8ada1cd284 move excel related oox bits to sc 2012-03-16 12:31:01 +00:00
Luboš Luňák
8f29699cd1 asm fixes in openssl 2012-03-16 13:07:51 +01:00
Luboš Luňák
cb3f52275b asm fixes in nss 2012-03-16 13:07:34 +01:00
tinderbox
f62da81eb2 nss and openssl don't realiably build in parallel 2012-03-16 13:07:28 +01:00
Markus Mohrhard
bd8be4eae8 don't paste content if user cancels html import, fdo#47393 2012-03-16 10:48:09 +01:00
Luboš Luňák
3297ce2aa1 0x80000001 can't fit into (signed) long
As far as I can say, this value and all those negative values
are actually not valid in CGM anyway, but since I do not know
the code, I'm leaving them in, they shouldn't break anything.
2012-03-16 03:26:57 +01:00
Kohei Yoshida
0c1a63b1fb No need to trim capacity any more; it's allocated to the exact size. 2012-03-15 21:54:06 -04:00
Kohei Yoshida
9e19cf80c0 We don't need these extra order index array; items are already sorted.
This shaves off extra 5MB of memory with my test document.
2012-03-15 21:54:06 -04:00
Luboš Luňák
dbf3b4ab77 "foo"bar -> "foo" bar 2012-03-16 02:04:56 +01:00
Matúš Kukan
45504f9ba8 fix windows build
No idea if this is proper fix or it needs to be done otherwise.
2012-03-16 01:25:24 +01:00
Szabolcs Dezsi
010560f553 i#84393 Fix title field in header, footer
According to help Title should be the Title property of the document,
not the file name without extension. If that property is missing, we
fall back to file name without extension.
2012-03-15 23:10:53 +01:00
Markus Mohrhard
2118ec3630 update the relatice refs after the absolute refs, fdo#47285
The algoithm for updating absolute refs needs to calculate the old
position based on the information before any updates to the RefData
2012-03-15 22:26:22 +01:00
Markus Mohrhard
bd43abc94d ScNameMgrTable takes a reference, fdo#47307 2012-03-15 22:26:22 +01:00
Noel Power
e3b1592165 fix to update inputbar when setting a range for a formula fdo#46809 2012-03-15 20:10:12 +00:00
Noel Power
1bd695d3dd fix mishandling of 'End Sub' is there is a trailing comment fod#46889 2012-03-15 19:50:59 +00:00
Kohei Yoshida
20d55ad66f Consolidated file-local functions. 2012-03-15 15:41:24 -04:00
Kohei Yoshida
4703758a07 Removed unused. 2012-03-15 15:41:24 -04:00
Kohei Yoshida
3507f0f02d Use the same algorithm for database initialization. 2012-03-15 15:41:23 -04:00
Kohei Yoshida
b9880a798a Fixed memory leak. 2012-03-15 15:41:23 -04:00
Kohei Yoshida
fd05423b75 Better algorithm to (re-)populate the cache.
With my test document, this brings the reload time down from 30 seconds
to 19 seconds.  I was expecting a much better outcome, but this is still
better than the current.
2012-03-15 15:41:23 -04:00
Kohei Yoshida
e6c65b0397 DataListType -> ItemsType. 2012-03-15 15:41:23 -04:00
Lionel Elie Mamane
08ba87c558 fixup: use introduced preprocessor constant instead of hardcoded constant 2012-03-15 18:54:48 +01:00
Lionel Elie Mamane
80c235510a fdo#46843 look for order by clause as fifth child of select_statement
Since commit 33b9b857ea (dba34c: #i20306# support for window function and limit fetch first, ... added), order by is the fifth child. It was the fourth one before.
2012-03-15 18:37:01 +01:00
Caolán McNamara
66d532fca4 can't use auto_ptr with an array, wrong delete vs new[] 2012-03-15 16:26:41 +00:00
Noel Grandin
96328945af Convert tools/table.hxx to std::map in ScEEParser class in SC module 2012-03-15 20:11:35 +04:00