Commit Graph

63 Commits

Author SHA1 Message Date
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
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
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
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
ab8e375736 fdo#59881 - sdremote: revert un-necessary locking change.
Change-Id: Id455dd87f01bbea0c5a4ae26734c0aba5699ac71
2013-01-29 11:26:04 +11:00
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
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
9bd1acd164 sprinkle explicit over constructors
Change-Id: I6599147a74e5c99f964b08935ec7c77f2d4cadef
2012-07-03 17:47:18 +02:00
6933730601 targeted string re-work
Change-Id: Ia1ab054537ac379f08ecd1950ca686d08be35d03
2012-06-02 16:48:36 -05:00
912e36e911 Remove VERBOSE part 3 2012-04-10 13:37:11 +02:00
a160601163 Fix Prefer prefix ++/-- operators 2012-04-08 01:01:31 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
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
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
8963cc01f5 EasyHack: Removed gcc conditionals 2012-02-13 17:33:15 +00:00
806dce17d6 Fix for fdo43460 Part XXXIV getLength() to isEmpty()
Part XXXIV
Modules
shell, slideshow, sot, starmath
2012-01-11 18:43:07 -02:00
d57887eaad Resolves: rhbz#759647 ::dispose clears mpPresTimer before releaseTimer called 2011-12-06 16:26:05 +00:00
05b879dabf remove include of pch header from slidewhow 2011-11-27 13:22:08 -06:00
bb11326047 WaE: type name first seen using 'struct' now seen using 'class' 2011-10-25 13:55:36 +03:00
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
7e5b4be4cf add prefixes for component_getFactory 2011-07-28 14:37:59 +02:00
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
c61cd1a5a2 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-12 20:06:58 +01:00
c64a901829 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:13:33 +01:00
42b4aaf23b callcatcher: removed uncalled and uncallable methods 2010-12-03 20:57:54 +00:00
c5ef576239 impressdefaults1: #i113019# fixes to make changing of user paint settings during slideshow work 2010-12-02 13:34:17 +01:00
ef238fc511 impressdefaults1: #i113018# use red as default pen color, enable pen context menu 2010-12-01 10:02:17 +01:00
24e156423d RTL_CONSTASCII_USTRINGPARAM macro 2010-11-02 21:16:14 +00:00
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
613cb2b85d aw081 #i110731# added basegfx::fround to get to integer cleaner 2010-04-15 13:31:48 +02:00
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
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
c96b2fdb50 autorecovery: commit resolved merge (after rebase to m71) 2010-02-04 10:38:39 +01:00
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
af5c661b94 #i97972# commit all changes since Thorsten rebase. Thanks to Nelle, Jonathan, Christian and ericb 2009-12-15 23:12:19 +01:00
1ae23cece0 #i48179# Fixed some Solaris compilation problems. 2009-11-03 09:26:54 +00:00
d4813204c6 #i48179# Resolved some compilation problems. 2009-10-20 08:39:11 +00:00
83168b2ff9 #i48179# Resolved merge problems. 2009-10-16 13:24:22 +00:00
7168fa353e slideshow1: merge with DEV300 m61 2009-11-30 15:37:50 +00:00
5caa432685 #i48179# Fixed stepping back for animations with active auto_reverse. 2009-10-14 12:38:02 +00:00
2586cbf670 CWS-TOOLING: integrate CWS boost134
2009-09-09 10:30:24 +0200 fs  r275970 : #i100127# provided by rene: check whether system-boost's function.hpp compiles without exception support
2009-09-04 21:58:00 +0200 fs  r275832 : indention
2009-09-04 21:57:10 +0200 fs  r275831 : #i10000# type in boost/spirit check. Thanks to thb
2009-09-04 10:58:54 +0200 fs  r275787 : #i100127# provided by tono@openoffice.org: mingw needs using directives for std::min/max
2009-09-04 10:31:54 +0200 fs  r275782 : #i100127# (approved by hjs) on Solaris, set GNUTAR to /usr/sfw/bin/gtar, this is available on baseline machines (Solaris 10.x), but not necessarily available in LD_LIBRARY_PATH
2009-08-19 21:47:55 +0200 rene  r275161 : #i10000# check for the header actually used now
2009-08-17 21:55:31 +0200 fs  r275073 : CWS-TOOLING: rebase CWS boost134 to trunk@275001 (milestone: DEV300:m55)
2009-07-16 09:39:25 +0200 fs  r274031 : #i100127# extract download/% with GNUTAR instead of TAR
2009-07-14 09:18:15 +0200 fs  r273960 : CWS-TOOLING: rebase CWS boost134 to trunk@273858 (milestone: DEV300:m52)
2009-07-13 09:55:14 +0200 fs  r273919 : #i100127# use boost 1.39, not 1.34
2009-07-13 09:45:57 +0200 fs  r273918 : use GNUTAR when extracting download/%.tar.gz, not TAR (necessary with boost 1.39 tarball)
2009-07-10 21:10:52 +0200 fs  r273905 : #i100127# spirit now part of boost
2009-07-06 12:12:13 +0200 fs  r273732 : #i10000# lngconvex, used in src/wizards, is built in shell => added missing module dependency
2009-07-02 15:34:51 +0200 fs  r273660 : #i100127#
2009-07-02 13:35:24 +0200 fs  r273645 : #i100127# MSVC needs some hinting when using boost::bind on (some) member functions
2009-07-02 10:33:59 +0200 fs  r273625 : removed unused include (lead to an internal compiler error with MSVC and boost 1.34+)
2009-07-02 09:44:35 +0200 fs  r273619 : change some include orders, prevents 'internal compiler errors' with MSVC
2009-07-01 09:19:25 +0200 fs  r273547 : #i100127# who the heck is defining max as something unusable?
2009-07-01 09:17:28 +0200 fs  r273546 : #i100127# defining min/max is causing trouble now
2009-07-01 09:15:40 +0200 fs  r273545 : #i100127# reverted previous patch, and properly fixed the problem by defining BOOST_MEM_FN_ENABLE_CDECL, and disabling warning 4180
2009-07-01 09:14:23 +0200 fs  r273544 : #i100127# re-disable warning 4180, still needed for some files
2009-07-01 09:07:33 +0200 fs  r273543 : #i100127# reverted previous patch, and properly fixed the problem by defining BOOST_MEM_FN_ENABLE_CDECL
2009-06-24 11:00:32 +0200 fs  r273319 : oops, re-introduced some inc locations
2009-06-23 22:10:02 +0200 fs  r273304 : #i100127# disable warning C4180
2009-06-23 22:08:36 +0200 fs  r273303 : #i100127# disable warning C4180
2009-06-16 12:26:49 +0200 fs  r273015 : #i10000# (provided by mst@openoffice.org)
2009-06-15 09:10:27 +0200 fs  r272962 : #i10000# use -r instead of -a when copying the include files, this prevents the spurious 'failed to preserve ownership' errors
2009-06-11 23:55:06 +0200 fs  r272902 : #i100127#
2009-06-11 23:54:47 +0200 fs  r272901 : #i100127#
2009-06-11 23:54:05 +0200 fs  r272900 : make compile on unxsol[i|s]4
2009-06-10 10:12:22 +0200 fs  r272798 : #i100127# don't deliver from within unxlngi6/misc/build/boost, but from a 'normalized' location unxlngi6/inc
2009-06-10 09:48:00 +0200 fs  r272795 : #i100127# use 1.34.1 unconditionally on all platforms
2009-09-17 10:11:42 +00:00
thb
44d83b68fd #103174# Code from the ecntablet and eraser CWS; optionally improves user paint interactions in slideshow 2009-06-29 15:15:41 +02:00
5c6ea15c19 #i98792# Removed second frame synchronization. 2009-05-06 11:40:04 +00:00
69a4a545a5 #i48179# Debug: added descriptive strings to events. 2009-04-27 11:42:05 +00:00
aa02f1da39 #i98792# Synchronize frame rate during animations. 2009-04-27 11:25:13 +00:00
e8c1911592 #i96540# Hold timer even for single activities. 2009-04-21 08:27:57 +00:00
7893279796 #i48719# Fixed compilation problem. 2009-04-01 11:54:54 +00:00
45e4999d38 slideshow1: merge with DEV300 m44 2009-11-30 14:44:46 +00:00
3444422cc1 #i98806# Added IsSoundEnabled property to mute sound in some slide show views. 2009-03-24 13:53:29 +00:00