Commit Graph

6172 Commits

Author SHA1 Message Date
Tor Lillqvist
dff5dd906f Just link statically to CreateUnoWrapper() in the DISABLE_DYNLOADING case 2012-04-18 01:23:48 +03:00
Caolán McNamara
9ff94ae0fa png parsing regression test 2012-04-17 16:46:14 +01:00
Ivan Timofeev
5329047650 vcl: hack: pData->aSz.Width() is set only for MenuBar, use aOutSz.Width() 2012-04-14 20:59:56 +04:00
Thomas Arnhold
30fb54aca3 remove formfeeds 2012-04-12 12:35:48 +02:00
Andrew Higginson
8a3aae9b69 Resolves: fdo#31022 about dialog is suboptimal 2012-04-10 12:49:49 +01:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Caolán McNamara
aefbfc7101 callcatcher: update and remove newly unused methods 2012-04-07 15:54:16 +01:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
27cea710fd Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Thomas Collerton
9f92346e7c Remove unused code (vcl) 2012-04-06 12:41:38 +02:00
Tor Lillqvist
bc21df0516 No dialogs to be shown from vcl in a non-NativeActivity Android app 2012-04-04 22:29:49 +03:00
David Tardon
2049940bac remove useless line (probably mis-merge) 2012-04-04 14:23:04 +02:00
Martin Hosken
9b6b1558a3 Fix cursor movement in graphite fonts 2012-04-04 14:44:33 +07:00
Luboš Luňák
248edba9de adjust code for what the original Intersect() usage probably meant
Daniel Bankston is right, the call probably meant to check whether
the intersection is not empty, as an optimization.
2012-04-03 13:53:18 +02:00
Daniel Bankston
2d691f26c6 Ignore return type of Region::Intersect
Caller of Region::Intersect was not ignore the return value in a conditional, so I refactored the conditional to not depend on the return value of Intersect without affect the original functionality of the code.  This usage of Intersect may be a possible defect and should be checked out.
2012-04-03 13:41:40 +02:00
Daniel Bankston
93acb28e10 fdo#44610 - EasyHack
Since they always return sal_Bool values that are not used by any callers, I changed the Region class methods (both versions of each Union, Intersect, Exclude, XOr) from sal_Bool return type to void return type.
2012-04-03 13:41:40 +02:00
Muthu Subramanian
27d9df17c1 n714787: Duplicate code removal. 2012-03-29 16:10:25 +05:30
David Tardon
38f8241859 set correct paper tray in UI 2012-03-29 08:06:17 +02:00
Noel Power
5ae64e4b0c fix vertical align when switching mode in multibar fdo#44140
switching between SumAssign & OkCancel mode in the multibar results in a slight 'jumping' of the toolbar items when end up out of allignment with the other toolbar items.
2012-03-27 12:38:49 +01:00
Thorsten Behrens
06c16e1e26 Fix vcl alpha blending n#714787
The way alpha compositing took place in vcl's alpha vdev was subtly
wrong - it was supposed to implement porter-duff 'over', but didn't.
This is now fixed also for cases where the source surface contains
alpha, and needs to blend correctly into fully-transparent
background.

For reference: http://en.wikipedia.org/wiki/Alpha_compositing
2012-03-27 02:57:21 +02:00
Santiago Martinez
564d216f77 Remove unused code in vlc. 2012-03-26 14:58:28 +01:00
Caolán McNamara
8a539e49c4 ditch some UniStrings and intermediate temporaries 2012-03-26 12:18:08 +01:00
Michael Stahl
6295fd6012 .cxx files don't need executable bits 2012-03-23 21:58:13 +01:00
Michael Stahl
68c1111c77 GenericSalLayout::KashidaJustify: STL assertion
error: attempt to dereference a singular iterator.
(regression from 6bb68cae7c)
2012-03-23 15:37:22 +01:00
Michael Stahl
d07567fe19 GenericSalLayout::KashidaJustify: fix infinite loop
insert() inserts before the given iterator and returns iterator to newly
inserted element, hence need to increment that iterator
(regression from 6bb68cae7c)
2012-03-23 15:37:22 +01:00
Michael Stahl
d99a715e6a GenericSalLayout::KashidaJustify: STL assertion
error: attempt to compare a dereferenceable iterator to a singular iterator.
(regression from 6bb68cae7c)
2012-03-23 15:37:21 +01:00
Andras Timar
fb067f9bb2 replace OpenOffice.org to LibreOffice in registry keys 2012-03-23 11:45:18 +01:00
Tor Lillqvist
871cc191fc Add a wrapper for InitVCL(), to be called from Java on Android 2012-03-22 22:49:48 +02:00
Caolán McNamara
55a4020907 remove ToDouble/ToFloat 2012-03-20 12:57:34 +00:00
Petr Mladek
3a878d3dbf vcl: better check in GraphiteLayout::expandOrCondense:
Improves the commit d066f7e4af that
fixed crash when printing the bugdoc from i#103958
2012-03-20 11:35:13 +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
3dcd8ca0a7 Cleanup: remove silly extra scope. 2012-03-16 17:02:20 +01:00
David Tardon
504aead057 Revert "fix setting of paper tray from print dialog (fdo#43932)"
This reverts commit 6d4cca9c22.
2012-03-15 14:15:41 +01:00
Takeshi Abe
467ac438a3 add 'Japanese Postcard' paper size to both Paper format and Print dialog 2012-03-14 10:05:48 -04:00
David Tardon
6d4cca9c22 fix setting of paper tray from print dialog (fdo#43932)
This fixes the simple case when all pages are to be printed from the
same paper tray. The use of this setting is still confusing when there
is application-set tray for a page (e.g., for a page style in Writer,
through Format->Page), because the change in Preferences is applied (and
will be used for pages without application-set tray), but Preferences
shows the application-set value on second try again...

IOW, it still s---s, but it s---s a bit less .-)
2012-03-14 14:24:36 +01:00
Caolán McNamara
da91ce535e remove unused FontFamily argument in ImplFindByAttributes
move ImplFindByLocale to windows only code, rename to
findDevFontListByLocale
2012-03-12 11:43:51 +00:00
Caolán McNamara
7e16ec0347 pointless comparison 2012-03-12 11:43:50 +00:00
Caolán McNamara
68f7b7a373 STATE_CHANGE_FORMAT is an unused state now 2012-03-08 12:02:35 +00:00
Caolán McNamara
6220ed4e6e callcatcher: update list 2012-03-07 11:06:48 +00:00
Caolán McNamara
0e7f815038 nothing uses ImplAsyncStateChangedHdl anymore now 2012-03-06 11:26:36 +00:00
Caolán McNamara
a7f82767e0 last user of Window::PostStateChanged was TaskBar 2012-03-06 11:26:35 +00:00
Norbert Thiebaud
cecbf71539 iterator are not ordered 2012-03-05 04:08:28 -06:00
Caolán McNamara
159b5088ee Resolves: fdo#31306 some icons don't get grayed when disabled
some of our menu icons are not RGBA, but our fade-out code only
handled images with an alpha channel, so we need to extend it
for bitmaps with alpha channel icons
2012-03-05 09:19:04 +00:00
Norbert Thiebaud
330461ffa3 iterator end should be tested with != not < 2012-03-04 21:36:15 -06:00
Norbert Thiebaud
2ea4964b2e help GlyphItems vector to be sized correctly up-front 2012-03-04 21:12:48 -06:00
Norbert Thiebaud
6bb68cae7c GenericSalLayout: manage the collection of GlyphItem with a vector.
There was a TODO to replace a manually managed array of Glyphs
to use std::list

a GlyphItem is 36 bytes long. the colleciton of GlyphItems is
mostly used in a sequential access. random insert/delete are fairly rare.
using std::list would increase the size by at least 8 to 16 bytes per
element (depending on the size of void*) (25 to 50% overhead)
and would greatly degrade data locality for most iterations loops.
so std::vector seems more appropriate here.
2012-03-04 21:12:47 -06:00
Tor Lillqvist
f6dcf2878a Revert "Added 'Copy to Clipboard' button to error dialogs"
The UI change was too intrusive.

This reverts commit dfc9c72d77.
2012-03-02 21:23:24 +02:00
Tor Lillqvist
945a2863fe IMPL_LINK_NOARG follow-up to bd205223ec 2012-03-01 22:27:13 +02:00