Commit Graph

227 Commits

Author SHA1 Message Date
Matúš Kukan
c26e2328ff turn some OSL_ENSURE into SAL_WARN_IF to avoid warnings about unused variables
And one OSL_ASSERT too.

Change-Id: I51f0083b9b9336e80c3b6a898c295173ad48f77c
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-01-09 09:37:58 +01:00
David Tardon
e02f655318 fix Fade Smoothly transition
Change-Id: I833bd800491bce81ccaef97d9320a4df10aaff79
2012-11-22 10:47:16 +01:00
David Tardon
65435f2197 do not paint background if no fade color was set
The condition got lost in commit 2e8b2e6de1 .

Change-Id: I8c9a6baf56dfe36d55e02476823e2847d77a7f58
2012-08-17 14:42:52 +02:00
David Tardon
49e6bf7c96 fix copypasta
Change-Id: Iaf0ef140ac60088bce95d82f8b09e4e218e12dab
2012-08-17 14:42:51 +02:00
David Tardon
2e8b2e6de1 fix "uncover" slide transitions with presenter console
It turns out it is really not a good idea to render _anything_ on the
first run of performIn/performOut in classes derived from
SlideChangeBase. That is because the functions are called separetely for
every view, so, if there is more than one view, like when the presenter
console is active, it will be done only for the first of them. This
commit introduces another function, prepareForRun, that can be used
reliably for that purpose.

Change-Id: I2c690fb145ccc05a680d4c2991c73900336e6f42
2012-08-14 15:16:19 +02:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Michael Meeks
535e83550e re-base on ALv2 code. Includes:
Avoid some uses of non portable #!/bin/bash in shell scripts.
    Patch contributed by Pedro Giffuni
    http://svn.apache.org/viewvc?view=revision&revision=1235297
    remove redundant namespace, patch contributed Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1162610
    removal of OS/2 port changes, and preferring our similiar
    tools/inc/tools/solar.h DLLPOSTFIX cleanup.
    i118595 - Removal of the use of getopt() from rscdep.
    Patch contributed by Andre Fische
    http://svn.apache.org/viewvc?view=revision&revision=1202270
2012-07-11 18:12:35 +01:00
David Tardon
9bd1acd164 sprinkle explicit over constructors
Change-Id: I6599147a74e5c99f964b08935ec7c77f2d4cadef
2012-07-03 17:47:18 +02:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
David Tardon
9b3963ce53 remove duplicated assignment 2012-02-17 13:59:29 +01:00
Thorsten Behrens
9c59cd15b1 Use SAL_N_ELEMENTS in slideshow where possible. 2012-01-09 18:57:11 +01:00
Thorsten Behrens
ce123a5c6f Fix totally busted whitespace in slideshow module. 2012-01-09 18:48:56 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
Norbert Thiebaud
05b879dabf remove include of pch header from slidewhow 2011-11-27 13:22:08 -06:00
Joseph Powers
41449a86c4 unusedcode.easy: slideshow::internal cleanup 2011-08-31 07:37:32 -07:00
David Tardon
ca648de248 gbuildize slideshow 2011-04-21 20:56:05 +02:00
Thomas Arnhold
c64a901829 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:13:33 +01:00
Kayo Hamid
c8f58bc85e some caretaker code cleanup in impress 2010-12-06 10:43:55 +00:00
Caolán McNamara
55ae7b1537 add modelines to .hxx files as well 2010-10-28 15:50:10 +01:00
Thorsten Behrens
7f5ebf8bae MS interop: support for cutblack slidetransition added
Adds CUTBLACK slide transition to ppt import and slideshow
2010-10-26 16:25:58 +02:00
Sebastian Spaeth
80b0861510 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:43 +02:00
Rene Engelhard
5ce76a9b8c fix build failure (must be pos1--, not i--) 2010-09-28 22:08:13 +02:00
NeilBrown
bb58dbf969 Improve randomisation in 'dissolve' transition.
The loop for randomizing a list in the dissolve transition is poor.

It randomly chooses two element and swaps them, and does this N/2 times.
Thus a total of N elements are moved.
It is probable that several elements will be swapped multiple times,
leaving it probable that several other elements will not be swapped at all.

This fact is quite visible when transitioning between two very different
slides (e.g. 2 photos).  While there is a lot of randomness, there is a
clearly perceptible top-to-bottom 'wipe' happening at the same time.

So change the loop to provide true randomness.
We randomly choose an element for the last position.
Then randomly choose one of the remaining elements for the second
last position, etc.

Signed-off-by: NeilBrown <neilb@suse.de>
2010-09-28 15:12:03 +01:00
Frank Schoenheit [fs]
2ee0a0a806 autorecovery: merged changes from m74. Still need to find out how to re-do two patches (to module_hidden_ooo.scp and file_ooo.scp in scp2/source/ooo) which do not apply anymore. 2010-03-11 11:26:05 +01:00
Jens-Heiner Rechtien
9e19ff00c7 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Frank Schoenheit [fs]
7ffad11ac2 autorecovery: ENSURE_OR_RETURN => ENSURE_OR_RETURN_FALSE, added new ENSURE_OR_RETURN taking a return value 2010-01-29 08:49:42 +01:00
Armin Le Grand
602841adb3 #i97509# continued matrix tooling and adapting the usages now to all the ooo code 2009-09-22 18:14:05 +02:00
Oliver Bolte
57060ba91a CWS-TOOLING: integrate CWS transogl03redux
2009-02-09 13:59:40 +0100 thb  r267511 : #i96946# Added seemingly missing change for the color space selection for the slide textures
2009-02-04 10:47:12 +0100 cmc  r267353 : #i96946# integrate ogltrans work
2009-02-19 13:21:10 +00:00
Vladimir Glazounov
40fc2023ff INTEGRATION: CWS aw033 (1.4.58); FILE MERGED
2008/05/14 14:44:41 aw 1.4.58.2: RESYNC: (1.4-1.5); FILE MERGED
2007/12/12 13:25:05 aw 1.4.58.1: #i39532# clipping changes
2008-08-19 23:08:15 +00:00
Vladimir Glazounov
e9a2a60067 INTEGRATION: CWS aw033 (1.6.58); FILE MERGED
2008/07/11 11:38:29 aw 1.6.58.5: RESYNC: (1.7-1.8); FILE MERGED
2008/05/14 14:44:37 aw 1.6.58.4: RESYNC: (1.6-1.7); FILE MERGED
2007/12/18 15:00:24 aw 1.6.58.3: #i39532# corrected clipping changes
2007/12/12 13:25:05 aw 1.6.58.2: #i39532# clipping changes
2007/11/22 15:11:24 aw 1.6.58.1: #i39532# polygon bezier changes
2008-08-19 23:08:03 +00:00
Kurt Zenker
ee29582f65 INTEGRATION: CWS canvas05 (1.14.16); FILE MERGED
2008/04/21 07:53:50 thb 1.14.16.4: RESYNC: (1.15-1.16); FILE MERGED
2008/01/22 14:01:19 thb 1.14.16.3: #i10000# Post-resync build breaker
2008/01/22 00:53:47 thb 1.14.16.2: RESYNC: (1.14-1.15); FILE MERGED
2007/10/01 13:49:14 thb 1.14.16.1: #i79258# Merge from CWS picom
2008-06-24 11:14:57 +00:00
Kurt Zenker
ff0a0fb6a4 INTEGRATION: CWS canvas05 (1.8.18); FILE MERGED
2008/04/21 07:53:56 thb 1.8.18.2: RESYNC: (1.8-1.9); FILE MERGED
2007/10/01 13:49:14 thb 1.8.18.1: #i79258# Merge from CWS picom
2008-06-24 11:14:33 +00:00
Kurt Zenker
682ecc3210 INTEGRATION: CWS canvas05 (1.8.18); FILE MERGED
2008/04/21 07:53:59 thb 1.8.18.2: RESYNC: (1.8-1.9); FILE MERGED
2007/10/01 13:49:14 thb 1.8.18.1: #i79258# Merge from CWS picom
2008-06-24 11:14:15 +00:00
Kurt Zenker
41070d7ea6 INTEGRATION: CWS canvas05 (1.7.46); FILE MERGED
2008/04/21 07:53:47 thb 1.7.46.2: RESYNC: (1.7-1.8); FILE MERGED
2007/10/01 13:49:14 thb 1.7.46.1: #i79258# Merge from CWS picom
2008-06-24 11:14:01 +00:00
Kurt Zenker
d3b17bdb71 INTEGRATION: CWS canvas05 (1.6.46); FILE MERGED
2008/04/21 07:53:53 thb 1.6.46.2: RESYNC: (1.6-1.7); FILE MERGED
2007/10/01 13:49:14 thb 1.6.46.1: #i79258# Merge from CWS picom
2008-06-24 11:13:46 +00:00
Rüdiger Timm
03efd7dc52 INTEGRATION: CWS changefileheader (1.5.46); FILE MERGED
2008/03/31 14:00:26 rt 1.5.46.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:18:52 +00:00
Rüdiger Timm
3438752a52 INTEGRATION: CWS changefileheader (1.4.74); FILE MERGED
2008/03/31 14:00:26 rt 1.4.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:17:49 +00:00
Rüdiger Timm
af32f857bb INTEGRATION: CWS changefileheader (1.5.74); FILE MERGED
2008/03/31 14:00:26 rt 1.5.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:17:34 +00:00
Rüdiger Timm
8e67572fc0 INTEGRATION: CWS changefileheader (1.10.74); FILE MERGED
2008/03/31 14:00:26 rt 1.10.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:15:26 +00:00
Rüdiger Timm
cb7a824e60 INTEGRATION: CWS changefileheader (1.6.74); FILE MERGED
2008/03/31 14:00:26 rt 1.6.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:13:12 +00:00
Rüdiger Timm
07a83fc857 INTEGRATION: CWS changefileheader (1.15.26); FILE MERGED
2008/03/31 14:00:26 rt 1.15.26.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:12:07 +00:00
Rüdiger Timm
4e981c8591 INTEGRATION: CWS changefileheader (1.7.46); FILE MERGED
2008/03/31 14:00:25 rt 1.7.46.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:11:00 +00:00
Rüdiger Timm
ee55042db9 INTEGRATION: CWS changefileheader (1.8.46); FILE MERGED
2008/03/31 14:00:25 rt 1.8.46.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:10:39 +00:00
Rüdiger Timm
1db6949b7a INTEGRATION: CWS changefileheader (1.4.74); FILE MERGED
2008/03/31 14:00:25 rt 1.4.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:09:32 +00:00
Rüdiger Timm
d4147f4c69 INTEGRATION: CWS changefileheader (1.6.74); FILE MERGED
2008/03/31 14:00:25 rt 1.6.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:09:17 +00:00
Rüdiger Timm
ca80a9c885 INTEGRATION: CWS changefileheader (1.5.74); FILE MERGED
2008/03/31 14:00:25 rt 1.5.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:08:47 +00:00
Rüdiger Timm
84046dfba1 INTEGRATION: CWS changefileheader (1.5.46); FILE MERGED
2008/03/31 14:00:25 rt 1.5.46.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:08:32 +00:00
Rüdiger Timm
13c78db80f INTEGRATION: CWS changefileheader (1.7.74); FILE MERGED
2008/03/31 14:00:25 rt 1.7.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:08:17 +00:00