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
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
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
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
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
c10b8c2f06
-Werror,-Wunused-member-function
...
Change-Id: I3da2e9d7e886c73328b65275e938bcbe9b3661cc
2013-11-14 10:15:11 +01:00
5ccb600890
-Werror,-Wunused-member-function
...
Change-Id: I8321893bc64e1fe401ffd5acaaa52e012c374261
2013-11-14 10:15:11 +01:00
a6ba5addb7
-Werror,-Wunused-member-function
...
Change-Id: Iefe2c50a8fbd6ab95a77856b3a65de9e6beacefe
2013-11-14 10:15:11 +01:00
ad4268cc8a
-Werror,-Wunused-member-function
...
Change-Id: I91827c3728d56b8943e9769e3fefdcc727306e16
2013-11-14 10:15:10 +01:00
13e4f86a51
-Werror,-Wunused-member-function
...
Change-Id: I69caf8ce9395c6318f1452e5bed3752e1c282528
2013-11-14 10:15:10 +01:00
e52779d2f8
remove unnecessary use of OUString constructor
...
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
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
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
d08ef4d265
random OUString to String conversions
...
Change-Id: I9cfb8e7183b9cce7c690f3a43a64b61a2aa8c754
2013-10-18 09:59:31 +02:00
57a8f39ba6
-Werror,-Wunused-const-variable
...
Change-Id: Id9bd1fd6212eaa99c2e9efff6ea5d1d8c141f627
2013-10-09 10:23:29 +02:00
d9b2328c54
slideshow: remove cruft, align formatting.
...
Change-Id: I119cf2461f4a77057cdbc19349561cd24991e2dd
2013-10-08 12:34:04 +02:00
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
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
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
507c1c9905
Resolves: rhbz#1012379 draw audio-placeholder in presentation mode
...
Change-Id: Ied61f9b4947e1a6eda04c442d95037cc1c7ef460
2013-10-04 20:20:55 +01:00
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
7f436c1fd3
typo fixes in comments
...
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
1d1626f284
replace requestImmediateUpdate with normal notifyUpdate
...
Change-Id: I8f9421cf9c9ec4c5e9e4bb47aff6f18ad3dcafc6
2013-08-23 19:08:13 +08:00
22b1a83712
remove unused comment
...
Change-Id: I4076738c7186aeea2ab00a3d0424c86b7c005dbe
2013-08-23 11:22:39 +08:00
6aac349140
misc
...
Change-Id: I24736c4bd05644ed61e6df50f2267f6a2cd2f7f3
2013-08-23 11:18:29 +08:00
1e7918feeb
getTransilationOffset Impl
...
Change-Id: Ie02e1c4d2ab1357469213f13971ab04632611d67
2013-08-23 11:18:29 +08:00
7a66bd7713
Fix fdo#67908 - keep Visual around until after GL context is created.
...
Change-Id: Ie84decdccfa5bbf44c9cb05e2c2229f7384c1912
2013-08-13 11:05:01 +02:00
b3d898c201
-Werror=maybe-uninitialized
...
Change-Id: Ie6814e8ebb3fa17d545a86d18f5c9a895ab5a0ca
2013-08-09 15:10:21 +02:00
731f3d986e
request immdiateupdate for pointerSymbol, but bad performance
...
Change-Id: I943019f6f6c6aaddeb40bf7f56bd0ffefff8a6b3
2013-08-04 14:18:10 +02:00
dffc87dd13
pointer display on the screen
...
Change-Id: I43c91bdf6c364da282d354e5a07f871a9247f2d6
2013-08-04 14:18:10 +02:00
65134fb75c
minor updates for avahi/bonjour refacotration
...
Change-Id: I89e0115ddbea953de4ee0468c66e949070087a96
2013-07-25 17:28:02 +02:00
cca0b9ae02
patch for review
...
Change-Id: I86ac0123e0a7073eaf6b971458d2c7c984a6c6fa
2013-07-25 17:28:00 +02:00
689363662c
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
...
Change-Id: If2c1ce9ca27e27ed5ecc15a448b7332855e31309
Reviewed-on: https://gerrit.libreoffice.org/5058
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-07-23 21:25:59 +00:00
542b45af44
Mark as const
...
Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
2013-07-14 08:17:20 +09:00
cc7a301dad
Resolves: #i118671# take emergency exit when local slideshow...
...
is disposed from executing macros
(cherry picked from commit 58eca806173ea9ede4efda89a96996d147227473)
Change-Id: Ifd07faa0a4bb051dea7b57b775eaf8818a7ce6d3
2013-07-09 14:50:50 +01:00
1a44cf5f6d
Remove warning by using the right printf commands
...
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb
Reviewed-on: https://gerrit.libreoffice.org/4753
Reviewed-by: Petr Mladek <pmladek@suse.cz >
Tested-by: Petr Mladek <pmladek@suse.cz >
2013-07-09 10:10:39 +00:00
ba0a57702c
remove OUString wrap for string literals
...
For some functions and all kinds of Exceptions.
CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException
createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService
bash command:
for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
| cut -d ':' -f1 | sort -u
| xargs sed -i
-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
-e "s/\($i.*\)\"+ /\1\" + /g";
done
Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-06-29 21:52:54 +00:00
7a123cae33
boost::shared_dynamic_cast -> boost::dynamic_pointer_cast
...
Change-Id: I2db39313de7df003b59a00a6d6a210f29c3a24ea
2013-06-26 08:52:42 +01:00
db979ee28a
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
...
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*
Change-Id: I9a7cce0d3abef42c9d9d0ad56609d94d504854cb
Reviewed-on: https://gerrit.libreoffice.org/4128
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-06-10 08:41:50 +00:00
a775188f6b
Fix memory leak in OGLTransitionerImpl::createWindow.
...
XFree the result of glXChooseVisual, glXGetVisualFromFBConfig and
glXGetFBConfigs when done.
Change-Id: I145c7f5f083718d983ccea4b534d4e90056eb14e
Reviewed-on: https://gerrit.libreoffice.org/4195
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-06-10 04:58:56 +00:00
c32c11fbd4
MPLv2 subset improvements.
2013-06-04 17:45:42 +01:00
1e4422a4b4
re-base on ALv2 code. Includes:
...
Patches contributed by Mathias Bauer
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
http://svn.apache.org/viewvc?view=revision&revision=1397337
http://svn.apache.org/viewvc?view=revision&revision=1397315
http://svn.apache.org/viewvc?view=revision&revision=1396797
Patches contributed by Andre Fischer
Fixed getcsym.awk to handle #-comments that contain special regexp chars.
http://svn.apache.org/viewvc?view=revision&revision=1230971
118778: Added ADDITIONAL_REPOSITORIES environment variable and its
automatic setup in configure.
http://svn.apache.org/viewvc?view=revision&revision=1232004
118160: Added external CoinMP library.
http://svn.apache.org/viewvc?view=revision&revision=1233909
Patches contributed by Herbert Duerr
#i119168# use generic LICENSE file for langpacks and sdks
http://svn.apache.org/viewvc?view=revision&revision=1310178
macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars
http://svn.apache.org/viewvc?view=revision&revision=1183367
allow gbuild with empty sysroot on linux
http://svn.apache.org/viewvc?view=revision&revision=1179186
Patches contributed by Ingo Schmidt
native373: #164472# improvements for msi database
http://svn.apache.org/viewvc?view=revision&revision=1167540
http://svn.apache.org/viewvc?view=revision&revision=1167539
Patches contributed by Jurgen Schmidt
adapt setup package scripts to handle special DS_Store file for
developer snapshot builds
http://svn.apache.org/viewvc?view=revision&revision=1232430
imported patch extensions_i117681.patch
http://svn.apache.org/viewvc?view=revision&revision=1172102
Patches contributed by Michael Stahl
gbuild: RepositoryFixes.mk should be optional
http://svn.apache.org/viewvc?view=revision&revision=1166123
xslt filter: remove the FLA horror
wordml import filter: replace FLA usage with plain XSLT
http://svn.apache.org/viewvc?view=revision&revision=1363727
Patch contributed by Oliver-Rainer Wittmann
i#88652: applied patch, remove unicows deps
http://svn.apache.org/viewvc?view=revision&revision=1177585
Remove lots of OS2 conditionals, re-extract Rhino Java, unwind
cppunit pieces, cleanup Mac image bits, remove coin-mp and
re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand
MPLv2 subset checking.
Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03 11:41:36 +01:00
982462ac5c
eliminate type ambiguity for std::accumulate() invocation
...
else clang/libc++ cannot decide between bool and a reference into a bit-vector
specialization
(cherry picked from commit 6a88a21257124d953637c4b8ead9c9771e15b899)
Change-Id: I694bbad82b1a05ebe86c5c941f3ac85c71f5fc9e
2013-05-27 12:58:21 +01:00
6016963783
Resolves: #i120764# Reduce grid size for snake wipe transition to 8*8.
...
Patch by: Wang Zhe
Review by: Andre Fischer
(cherry picked from commit 2de9df3bc309f480c68a970b3353b718ca4e9c68)
Change-Id: I33b5d9975d52492d296e77b191ae1a394c8443a0
2013-05-16 16:17:54 +01:00
5e7c0378c2
slideshow: that define causes -Wunused-macros with 10.6 SDK too
...
So since that is the new baseline let's get rid of it.
Change-Id: I20e921afca5e66f22d5403f383fb9fd5f0591142
2013-04-10 16:21:41 +02:00
b248624126
fdo#46808, Convert frame::Frame to new style
...
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08 13:53:04 +02:00
ba044b1e96
remove needless forward rtl::OUString declarations
...
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07 14:23:12 +02:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
07c9bb1038
Drop workarounds for Mac OS X SDKs 10.4 and 10.5
...
Change-Id: Ifa07f9b5613b4a75c5b72178cb276b9c0b495a62
2013-04-07 03:04:31 +03:00
2c82e5d304
fdo#59071 Slideshow: allow automatic transitions with sub-second
...
Enable slide transition each 0.25 second instead of whole second.
Change-Id: I1907a1baf30cede91a0438d021e003204ea06651
2013-04-05 13:05:42 +02:00