Commit Graph

72 Commits

Author SHA1 Message Date
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
6f2691bb6c Remove visual noise from slideshow
Change-Id: I87d07afbffa9d4633ed31bdb88f2dad660c25a18
2014-02-25 21:22:48 +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
Noel Grandin
e52779d2f8 remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
Thorsten Behrens
d9b2328c54 slideshow: remove cruft, align formatting.
Change-Id: I119cf2461f4a77057cdbc19349561cd24991e2dd
2013-10-08 12:34:04 +02:00
Stephan Bergmann
b3d898c201 -Werror=maybe-uninitialized
Change-Id: Ie6814e8ebb3fa17d545a86d18f5c9a895ab5a0ca
2013-08-09 15:10:21 +02:00
Siqi LIU
731f3d986e request immdiateupdate for pointerSymbol, but bad performance
Change-Id: I943019f6f6c6aaddeb40bf7f56bd0ffefff8a6b3
2013-08-04 14:18:10 +02:00
Siqi LIU
dffc87dd13 pointer display on the screen
Change-Id: I43c91bdf6c364da282d354e5a07f871a9247f2d6
2013-08-04 14:18:10 +02:00
Armin Le Grand
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
Thomas Arnhold
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
Luboš Luňák
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
Cao Cuong Ngo
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
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Michael Meeks
ab8e375736 fdo#59881 - sdremote: revert un-necessary locking change.
Change-Id: Id455dd87f01bbea0c5a4ae26734c0aba5699ac71
2013-01-29 11:26:04 +11:00
Michael Meeks
58b05ce98e fdo#59881 - sdremote: give up on threaded / UNO usage.
Process incoming commands in the main thread in a Timeout, build
thumbnail / previews there too - to avoid the deadlocks mentioned
in the bug.

Change-Id: I5f5e8d6fbc2e059d4194f72f3e086e1aa87ab2cc
2013-01-28 21:25:44 +11: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
Norbert Thiebaud
6933730601 targeted string re-work
Change-Id: Ia1ab054537ac379f08ecd1950ca686d08be35d03
2012-06-02 16:48:36 -05:00
Rob Snelders
912e36e911 Remove VERBOSE part 3 2012-04-10 13:37:11 +02:00
Julien Nabet
a160601163 Fix Prefer prefix ++/-- operators 2012-04-08 01:01:31 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 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
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
Alexander Bergmann
8963cc01f5 EasyHack: Removed gcc conditionals 2012-02-13 17:33:15 +00:00
Olivier Hallot
806dce17d6 Fix for fdo43460 Part XXXIV getLength() to isEmpty()
Part XXXIV
Modules
shell, slideshow, sot, starmath
2012-01-11 18:43:07 -02:00
Caolán McNamara
d57887eaad Resolves: rhbz#759647 ::dispose clears mpPresTimer before releaseTimer called 2011-12-06 16:26:05 +00:00
Norbert Thiebaud
05b879dabf remove include of pch header from slidewhow 2011-11-27 13:22:08 -06:00
Tor Lillqvist
bb11326047 WaE: type name first seen using 'struct' now seen using 'class' 2011-10-25 13:55:36 +03:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Matúš Kukan
7e5b4be4cf add prefixes for component_getFactory 2011-07-28 14:37:59 +02:00
Jan Holesovsky
a0c13ffcce Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	sd/source/ui/func/fuinsfil.cxx
	sd/source/ui/func/fuprobjs.cxx
	sd/source/ui/slideshow/slideshowimpl.cxx
	sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
	sd/source/ui/toolpanel/ToolPanelViewShell.cxx
	sd/source/ui/view/drawview.cxx
	sd/source/ui/view/drtxtob.cxx
	sd/source/ui/view/outlnvsh.cxx
	sd/source/ui/view/outlview.cxx
2011-03-18 15:40:35 +01:00
Bjoern Michaelsen
c61cd1a5a2 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-12 20:06:58 +01:00
Thomas Arnhold
c64a901829 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:13:33 +01:00
Caolán McNamara
42b4aaf23b callcatcher: removed uncalled and uncallable methods 2010-12-03 20:57:54 +00:00
Christian Lippka
c5ef576239 impressdefaults1: #i113019# fixes to make changing of user paint settings during slideshow work 2010-12-02 13:34:17 +01:00
Christian Lippka ORACLE
ef238fc511 impressdefaults1: #i113018# use red as default pen color, enable pen context menu 2010-12-01 10:02:17 +01:00
Gert Faller
24e156423d RTL_CONSTASCII_USTRINGPARAM macro 2010-11-02 21:16:14 +00: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
Armin Le Grand
613cb2b85d aw081 #i110731# added basegfx::fround to get to integer cleaner 2010-04-15 13:31:48 +02: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]
c96b2fdb50 autorecovery: commit resolved merge (after rebase to m71) 2010-02-04 10:38:39 +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
thb
7dd531f8d6 eraser01: merge with DEV300 m68 2010-01-07 13:07:30 +01:00
ericb
af5c661b94 #i97972# commit all changes since Thorsten rebase. Thanks to Nelle, Jonathan, Christian and ericb 2009-12-15 23:12:19 +01:00
Andre Fischer
1ae23cece0 #i48179# Fixed some Solaris compilation problems. 2009-11-03 09:26:54 +00:00
Andre Fischer
d4813204c6 #i48179# Resolved some compilation problems. 2009-10-20 08:39:11 +00:00
Andre Fischer
83168b2ff9 #i48179# Resolved merge problems. 2009-10-16 13:24:22 +00:00
Jens-Heiner Rechtien
7168fa353e slideshow1: merge with DEV300 m61 2009-11-30 15:37:50 +00:00
Andre Fischer
5caa432685 #i48179# Fixed stepping back for animations with active auto_reverse. 2009-10-14 12:38:02 +00:00