1718 Commits

Author SHA1 Message Date
Caolán McNamara
7c2e5331a7 coverity#982470 Dereference after null check
Change-Id: Ifa6a78eae364bd5f4adc717543dde508d7b1f445
2014-03-15 20:55:49 +00:00
Marcos Paulo de Souza
b8183958e6 fdo#60698: Split out slideshow code from animations
Also remove the TargetPropertiesCreator service since just slideshow uses this.

Change-Id: I80816f6225b7bd9fb18f48e69eb5dfd6709b6e56
2014-03-10 09:15:54 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Julien Nabet
36774806da (a/A)utomaticaly -> (a/A)utomatically
Change-Id: Ice4327bdb8e5a14ef082f013fa513b2267f0fbf3
2014-02-25 22:00:50 +01:00
Alexander Wilms
6f2691bb6c Remove visual noise from slideshow
Change-Id: I87d07afbffa9d4633ed31bdb88f2dad660c25a18
2014-02-25 21:22:48 +01:00
Stephan Bergmann
ddcd150760 loplugin:bodynotinblock, loplugin:literaltoboolconversion
Change-Id: I6773a4947900a6b58b556c3bac61cac784562d81
2014-02-25 15:17:54 +01:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Stephan Bergmann
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Tobias Lippert
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
Caolán McNamara
d5c30421ca coverity#738842 Uninitialized scalar field
Change-Id: Ic362a2e18452920f1474880fc1c2aac8cc8f56b0
2014-02-19 16:53:14 +00:00
Caolán McNamara
aea2c1d59e coverity#738843 Uninitialized scalar field
Change-Id: I3323ceab5eacc02123384dc6bf24a7d565641a12
2014-02-19 16:53:14 +00:00
Caolán McNamara
37a0068960 coverity#984143 Uninitialized scalar field
Change-Id: I2940b86ce45dfc6b7399b76c84f88c5658f4a923
2014-02-19 09:29:43 +00:00
Markus Mohrhard
171bde3d1e glx 1.3 is already supported in out base line
Change-Id: I4304368ebb5f40cb946290a717240143f845e0c9
2014-02-12 01:01:36 +01:00
Stephan Bergmann
59a5ccb952 bool improvements
Change-Id: I89e8351001dcdda9303473f38ece3b57c0d9e72c
2014-01-17 18:45:15 +01:00
Caolán McNamara
a932e78060 longparas: remove now broken STRING_LEN uses
Change-Id: I89799855925b7c246262ae56c2637e20e51cffee
2014-01-14 10:53:28 +00:00
Caolán McNamara
d4dd5c34db longparas: convert ValidateKashidas to sal_Int32
we can use -1 as the failure return code as return value is always checked and
isolated from the rest of the code.

Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
2014-01-13 20:35:21 +00:00
Noel Grandin
82625bb98e remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like:
    buf.append( static_cast<sal_Unicode>('!') );
to:
    buf.append( '!' );

Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
Andras Timar
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Stephan Bergmann
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
Tor Lillqvist
b415ec8cad Fix fallout from 461e0f9eaf9895ecd0eba67b35a4d2cec8a5e5c5
Change-Id: I9df591c084175848bb58a97db2241f18cbe53db2
2013-12-05 15:28:15 +02:00
Noel Grandin
73342dbb82 remove unnecessary RTL_CONSTASCII_STRINGPARAM
A final pass through the code, converting code to use the new
OUString and OString methods that can detect string literals.

Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-22 08:07:19 +02:00
Noel Grandin
2241fd5302 remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiL
Convert code like:
    aStr.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN"))
to:
    aStr.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN")
which compiles down to the same code.

Change-Id: Ia69289d853d292b2f27b68863cb6f6ecdbf1a71e
2013-11-22 08:07:18 +02:00
Stephan Bergmann
5668e73beb avmedia: Implement "block untrusted referer links" feature
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block
untrusted referer links' feature" for details.  This adds some further /*TODO?*/
comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not
blocked during a slideshow presentation.

Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20 14:44:27 +01:00
Noel Grandin
5112f6a6c6 remove RTL_CONSTASCII_STRINGPARAM in OString constructor
Convert code like:
    OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX"));
to:
    OString aKeyName("NDX");
which compiles down to the same code

Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-20 13:56:07 +02:00
Noel Grandin
610b2b94b3 remove unnecessary use of OUString constructor when assigning
change code like
   aStr = OUString("xxxx");
to
   aStr = "xxxx";

Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
Marcos Paulo de Souza
a6e09b196a Moved some hxx that were included once...
..and are included by another headers

Change-Id: I1adfac86525105188b68f512bcbf3b4f4a0fc490
2013-11-14 11:30:37 +00:00
Stephan Bergmann
c10b8c2f06 -Werror,-Wunused-member-function
Change-Id: I3da2e9d7e886c73328b65275e938bcbe9b3661cc
2013-11-14 10:15:11 +01:00
Stephan Bergmann
5ccb600890 -Werror,-Wunused-member-function
Change-Id: I8321893bc64e1fe401ffd5acaaa52e012c374261
2013-11-14 10:15:11 +01:00
Stephan Bergmann
a6ba5addb7 -Werror,-Wunused-member-function
Change-Id: Iefe2c50a8fbd6ab95a77856b3a65de9e6beacefe
2013-11-14 10:15:11 +01:00
Stephan Bergmann
ad4268cc8a -Werror,-Wunused-member-function
Change-Id: I91827c3728d56b8943e9769e3fefdcc727306e16
2013-11-14 10:15:10 +01:00
Stephan Bergmann
13e4f86a51 -Werror,-Wunused-member-function
Change-Id: I69caf8ce9395c6318f1452e5bed3752e1c282528
2013-11-14 10:15:10 +01:00
Noel Grandin
e52779d2f8 remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
Armin Le Grand
223f6b631c Resolves: #i123433# Detect pseudo-vertices at svg import...
unify svg:d handling, correct svg:d import for relative sub-polygons in svg
import; changed default for moveto writes for svg:d in ODF to absolute

(cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841)

Conflicts:
	basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
	basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
	basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
	basegfx/source/polygon/b2dpolypolygontools.cxx
	basegfx/source/polygon/b2dsvgpolypolygon.cxx
	basegfx/source/polygon/b3dpolypolygontools.cxx
	basegfx/source/tools/makefile.mk
	basegfx/test/boxclipper.cxx
	basegfx/test/clipstate.cxx
	basegfx/test/genericclipper.cxx
	canvas/source/tools/surfaceproxy.cxx
	sdext/source/pdfimport/tree/drawtreevisiting.cxx
	sdext/source/pdfimport/tree/writertreevisiting.cxx
	xmloff/inc/xexptran.hxx
	xmloff/source/draw/XMLImageMapContext.cxx
	xmloff/source/draw/XMLImageMapExport.cxx
	xmloff/source/draw/shapeexport2.cxx
	xmloff/source/draw/shapeexport3.cxx
	xmloff/source/draw/xexptran.cxx
	xmloff/source/draw/ximp3dobject.cxx
	xmloff/source/draw/ximpshap.cxx
	xmloff/source/style/MarkerStyle.cxx
	xmloff/source/text/XMLTextFrameContext.cxx
	xmloff/source/text/txtparae.cxx

Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
2013-10-31 15:56:14 +00:00
Tor Lillqvist
a7724966ab Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete.

Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
Noel Grandin
d08ef4d265 random OUString to String conversions
Change-Id: I9cfb8e7183b9cce7c690f3a43a64b61a2aa8c754
2013-10-18 09:59:31 +02:00
Thomas Arnhold
0b0244183a update pch
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-15 05:20:47 +02:00
Stephan Bergmann
57a8f39ba6 -Werror,-Wunused-const-variable
Change-Id: Id9bd1fd6212eaa99c2e9efff6ea5d1d8c141f627
2013-10-09 10:23:29 +02:00
Thorsten Behrens
d9b2328c54 slideshow: remove cruft, align formatting.
Change-Id: I119cf2461f4a77057cdbc19349561cd24991e2dd
2013-10-08 12:34:04 +02:00
Thorsten Behrens
eff346b78c oglcanvas: XCanvas != XBitmap kill another instance
This crept in from gsoc, some whitespace / formatting alignment
with slideshow conventions, added doxygen class mission statement.

Change-Id: Ie9837fc437d9827dc8fa6b1c25a3f46a638bac51
2013-10-08 12:33:58 +02:00
Thorsten Behrens
492c23afcc Fix opengl transitions some more.
More fixup after a775188f6bbf3bbf8448b2b7398a1902908bb5e2 -
shuffling use of framebuffer config array to a place where it's not
yet free-ed again.

Change-Id: Icc50d08e2d42e6fbdb46de668a98d31e364f0bdc
2013-10-07 22:20:39 +02:00
Thorsten Behrens
21ec9beae2 XCanvas does no longer imply XBitmapCanvas
Remove the implication that XCanvas IS-A XBitmapCanvas, i.e. one can
access underlying pixels. That's a preparation for display-list based
canvas implementations, and was a rather silly assumption in the first
place.

Also fixes up all client sites.

Change-Id: I7a3d6f68ef46fe94b23cce7759cc0b8b6ca4dae9
2013-10-07 17:33:45 +02:00
Caolán McNamara
507c1c9905 Resolves: rhbz#1012379 draw audio-placeholder in presentation mode
Change-Id: Ied61f9b4947e1a6eda04c442d95037cc1c7ef460
2013-10-04 20:20:55 +01:00
Stephan Bergmann
075d472a9d Use std::auto_ptr::reset where applicable
(avoids warnings about std::auto_ptr ctor being deprecated)

Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-10-02 16:49:49 +02:00
Andras Timar
7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
Thomas Arnhold
286d04a96e update pch
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05 20:00:43 +02:00
Siqi LIU
1d1626f284 replace requestImmediateUpdate with normal notifyUpdate
Change-Id: I8f9421cf9c9ec4c5e9e4bb47aff6f18ad3dcafc6
2013-08-23 19:08:13 +08:00
Siqi LIU
22b1a83712 remove unused comment
Change-Id: I4076738c7186aeea2ab00a3d0424c86b7c005dbe
2013-08-23 11:22:39 +08:00
Siqi LIU
6aac349140 misc
Change-Id: I24736c4bd05644ed61e6df50f2267f6a2cd2f7f3
2013-08-23 11:18:29 +08:00
Siqi LIU
1e7918feeb getTransilationOffset Impl
Change-Id: Ie02e1c4d2ab1357469213f13971ab04632611d67
2013-08-23 11:18:29 +08:00
Michael Stahl
4290075d39 slideshow: remove NOOPT for smilfunctionparser.cxx
This was introduced for i#39915, which is about an infinite loop when
compiling with Apple GCC 3.3 => obsolete

Change-Id: I67d7c7975574f371aecac8f6dd4cf7800dd0725d
2013-08-16 15:15:32 +02:00