Commit Graph

81 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
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
d4bab97023 fix compile for change to boost 1.53.0 declaring smart pointer operator bool as explicity for C++11 compilers
Change-Id: If2c3ad68b2ffea645a9f2035cd802553edc0ee79
Reviewed-on: https://gerrit.libreoffice.org/2064
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-09 22:41:50 +00:00
07f44bfd39 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I885db00df96c73c35f9c1a6add8caf6b93f7c01a
2012-08-31 09:04:16 +02: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
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
e86bcf1134 Clear full sprite area for fdo#45219
Use clearAll() here, to really clear the whole sprite area (clear()
does respect potential clip polygons)
2012-03-16 17:02:22 +01:00
3006397439 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09: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
854dc02f08 Fix for fdo#43837 - prevent invalid shape text indices.
Catch a few cases where an invalid text node index is passed into
the shape subsetter.
2011-12-22 23:51:56 +01:00
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
05b879dabf remove include of pch header from slidewhow 2011-11-27 13:22:08 -06:00
e9a562ed69 cast is gone now 2011-10-05 11:14:49 +01:00
41449a86c4 unusedcode.easy: slideshow::internal cleanup 2011-08-31 07:37:32 -07:00
0b26358b96 WaE - add explicit casting (decimal-types → integer types) 2011-05-16 23:22:50 +02:00
ca648de248 gbuildize slideshow 2011-04-21 20:56:05 +02:00
219458b0d7 Merge commit 'ooo/DEV300_m103'
Conflicts:
	sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
	slideshow/source/engine/debug.cxx
	slideshow/source/engine/transitions/randomwipe.cxx
2011-03-23 16:59:19 +01: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
8584fcb61f Update from master repository (DEV300_m100). 2011-02-23 21:03:15 +01:00
c71de19e96 Port stuff to our private implementation of SGI extensions 2011-02-08 17:41:39 +01:00
8851524e49 Migrating to boost unordered containers 2011-02-05 21:40:28 +01:00
cff21146b0 Update from master repository (DEV300_m98). 2011-01-27 18:16:28 +01:00
6e9afe9627 removetooltypes01: Rebase to DEV300m98 2011-01-21 17:18:37 +01:00
ec8fbbb741 removetooltypes01: #i112600# remove tooltypes from slideshow and forms 2011-01-13 16:49:46 +01:00
07e5911774 fix shapes rendering order n#656934
- it was broken for master pages containing group shapes
2011-01-05 22:43:00 +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
55ae7b1537 add modelines to .hxx files as well 2010-10-28 15:50:10 +01: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
a1e23a5bc4 impress193: #i112422# Applied patch that fixes clipping error. 2010-07-02 11:06:25 +02:00
5232da202e Update from master repository (DEV300_m82). 2010-06-18 19:00:23 +02:00
thb
68c8d9e269 Merged DEV300_m76 2010-04-12 18:17:01 +02:00
thb
da8e718e08 Merge DEV300_m75
* resolved two conflicts caused by lineend changes in
   canvashelper_texturefill.cxx and implrenderer.cxx. Took the cws
   version, which uses new texture fill semantics, and fixes clipping
   bug
 * binned file header changes from head for deleted files
2010-03-31 14:57:58 +02:00
thb
542222f04c Merged with dev300_m71 2010-02-19 12:46:18 +01: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
f9279fa745 #i10000# Another WaE build fix 2010-01-26 17:21:57 +01:00
thb
fc69c9694e thbfixes10: merge with DEV300 m69 2010-01-18 01:10:42 +01:00
thb
7dd531f8d6 eraser01: merge with DEV300 m68 2010-01-07 13:07:30 +01:00
7e52f21b6b eraser01: #i103174# cosmetic changes before RfQA 2010-01-06 16:41:04 +01:00