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
b6d97514cd
reduce some spacing
...
Change-Id: I72d494b1c0ff5ed3c52ae6a078815f497e4dd647
2013-06-29 18:38:14 +02:00
ad09b2f7ef
fdo#43460 xmloff: use isEmpty()
...
Change-Id: I298767cc0ec03c22d3ae687939f0f9d5ce1963c1
Reviewed-on: https://gerrit.libreoffice.org/4348
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-06-19 10:10:39 +00:00
6cf3094075
WaE: implicit conversion of NULL constant to nullptr_t
...
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
2013-05-24 12:40:46 +03:00
6a043e9c0a
Use the new type-checking Reference constructor to reduce code noise
...
Also create a Clang compiler plugin to detect such cases.
Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2013-05-22 10:44:29 +00:00
c6747ee3a9
Use upper camel case for class names in xmloff.
...
Align multiimagehelper with module standard.
Change-Id: I70a4dbc66a0d127b9bf04d1e8db694d3526b21d7
2013-05-15 11:14:48 +02:00
cb6d67c21f
Spelling "separate" (etc) correctly is hard
2013-05-15 11:14:28 +03:00
e347af862c
typo fix: s/inavlid/invalid/
...
Change-Id: If75cad038f35033be6dcad6f051673bd795accf3
2013-05-14 15:52:24 +02:00
ac937d8be6
fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
...
- replaced osl_trace with sal_info
- replaced dbg_* with sal_*
Change-Id: I80aca85562e4a43fded5c37f9895e51f79e42c14
Reviewed-on: https://gerrit.libreoffice.org/3771
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-05-14 13:59:53 +00:00
cd09b5379e
Fix fdo#64062 - can't assume para styles to be there.
...
Change-Id: I5da53ff44fdf00ec6c0fdf1a722f806971b6683a
2013-04-30 11:21:32 +02:00
1e83da9aed
some more namespace cleanup
...
Change-Id: Ib1e80d717f199db8f8ac4181d4377a86d88e3244
2013-04-26 18:01:51 +02:00
f215e634de
comments and code reformat
...
Change-Id: Ib4e45cb85c9e5e5ffa6476c939300c6795412b1a
Reviewed-on: https://gerrit.libreoffice.org/3582
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-04-25 08:55:10 +00:00
9830fd36db
date/time IDL datatypes incompatible change
...
- nanosecond precision
- signed (allowed negative) year
Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.
Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
c32b6be06b
fdo#60724 correct spelling
...
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
bebf8ccfba
i#98430: Import at least the shape.
...
The image that is inside is dropped though, we do not have support for that in
editeng.
Change-Id: I16dc1656e6f71fd80136bc39233decef4e1d4069
2013-04-12 13:09:16 +02:00
5b33bca6cc
i#52127: Avoid .back() on an empty vector, fixes ooo52127-1.odt.
...
Change-Id: I3463b727e024260c13a01c017cfd96109a793cb1
2013-04-11 11:31:40 +02:00
43b2d676b5
fdo#60594: Fix crash in the document (does not fix the original report).
...
Change-Id: I2129cf89ef1c9b8dd814a5c2079629385b92577a
2013-04-10 18:49:08 +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
aa753f01ba
-Wunused-macros
...
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
646daee253
kill some unused inlines
...
Change-Id: I17160b264b547067c694dd268eb0d3bd1086565d
2013-03-27 03:14:45 +01:00
1980287205
fdo#60769 implement odf export of multi-paragraph comment ranges
...
Change-Id: Ifb850438586eb6589fde79d10ed9eef727368f42
2013-03-20 11:35:24 +01:00
b2f8318dbd
simplify OUString assignments
...
Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb
Reviewed-on: https://gerrit.libreoffice.org/2863
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-03-20 10:28:58 +00:00
70e7bd63ad
fdo#46808, Convert text::AutoTextContainer to new style
...
Change-Id: Ia33419c4d8cf633b572627edf57c926099d698e5
2013-03-20 07:32:48 +02:00
10459e41c4
remove unused VariableName code/comments
...
Change-Id: Ifa0ae6d870b48f4f1dec013c183efc64736dd8ea
2013-03-19 13:29:33 +01:00
e8620b247d
fix conflicting types found by lto
...
Change-Id: Icd1b5756e43aa17d8329d124765d75a4bbfaf327
2013-03-15 21:19:14 -04:00
57d169b606
doubled namespace
...
Change-Id: I756f4a98b1eedcbe7674e9afd9b06816141688b9
2013-03-04 13:58:39 +01:00
5b04c9063c
remove unused and commented out code
...
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04 11:34:07 +00: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
b15f095293
removed RTL_CONSTASCII_(U)STRINGPARAM xmloff(text)
...
Change-Id: I54af0ac7a3454259540e89267200d801b17ec179
2013-03-02 21:36:10 +01:00
28b5eb13f7
removed RTL_CONSTASCII_(U)STRINGPARAM
...
Change-Id: If6b297b6dd150b698f8f524a071006c571c6cc7a
2013-02-26 22:01:51 +01:00
bb717296bf
coverity#705347 Missing break in switch
...
Change-Id: Ife49c096722fff204a140be970aa0692281e8b86
Reviewed-on: https://gerrit.libreoffice.org/2327
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-02-24 23:31:12 +00:00
616c6924f1
s/the the/the/
...
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
f68cd77923
Fix type unkown -> unknown
...
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
2013-02-21 21:50:01 +01:00
895dc882c4
generic integers to enums
...
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
2013-02-21 18:26:21 +01:00
a6a8a8707b
fdo#46808, convert xmloff module code to use XComponentContext
...
with lots of repurcussions in other modules
Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-12 10:14:43 +02:00
e5fdaec54a
fdo#46808, Adapt document::XML*BasicExporter UNO services to new style
...
The services are
document::XMLBasicExporter
document::XMLOasisBasicExporter
Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-11 08:02:11 +02:00
165a53f3a7
Resolves: fdo#60132 Error reading file after inserting comment
...
Change-Id: Ib2b388c78c8f44a626267c2f8d3975b46ead3bd5
2013-02-08 11:45:18 +00:00
14b9d7c75f
Those auto_ptr can be replaced with boost::scoped_ptr.
...
Change-Id: I2aa68c7bf265943e3d015a069fab461882c81554
2013-02-07 00:35:37 -05:00
bb00150ef6
xmloff: export Wrtier's RES_FILL_STYLE and RES_FILL_GRADIENT
...
Change-Id: Id0adf3733ac4c2c08ded659c2d621ddbbbb434c5
2013-01-29 15:20:59 +01:00
23c099a023
Resolves: fdo#58730 workaround [UL|LR]Space 100% problem
...
If all paragraph margins are 100% on import, ignore that as being the implicit
default. That avoids explicit 100% being set onto the awesome [UL|LR]Space
which takes a relative propsize of 100% as a flag that its value field is
absolute and so rejected by SwTxtFmtColl::Modify as a candidate for getting its
true value initialized relative to its parent, so it ends up as an absolute 0
Always elide the property on export because writing individual
margin-foos provides better backward compatibility with older versions
anyway.
Trigged by 3c5facfce42a0dbe362d6b9fa5ac374fd76f51a1
Change-Id: I55f6ceeae287b7d8e99befa4bd3cc06738a21299
2013-01-18 00:38:23 +01:00
4fd5136cbd
xmloff: mostly kill CONSTASCII_STRINGPARAM usage
2012-12-28 13:37:02 +01:00
ac893720de
PCH for xmloff, including LO headers
...
Change-Id: I50e8eb58ef9b764cfb847b36b4e42f95bc437233
2012-12-10 14:46:45 +01:00
da8af42a2d
Removed RTL_CONSTASCII_USTRINGPARAM
...
Change-Id: Ifb14257ef20c14f8e1551a1470d0dbea1dc0759b
2012-12-08 15:09:17 +01:00
d9ef61fb54
API CHANGE: roll back the XStyle changes to add a new Hidden property on Style
...
Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
2012-12-03 17:58:48 +01:00
a0dcf96187
Hidden styles: ODF import/export
...
Change-Id: I1138314eba33dc8cf8d1f60e77ac419b4550bbcc
2012-11-30 22:15:38 +01:00
9ebc1ab138
OUString::trim() does not modify in-place
...
Change-Id: I68227dcf77b9082708503d2c0d9bf829d78a442e
2012-11-28 21:26:01 +02:00
1a8ac8b2df
String and OUString cleaning in xmloff
...
Change-Id: I85d7fd7733814c60a048a7f87d43fbcbb83b0eb0
2012-11-27 22:59:29 -06:00
17ff7b41d1
re-base on ALv2 code. Includes:
...
Patches contributed by: Armin Le Grand.
#118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task.
http://svn.apache.org/viewvc?view=revision&revision=1195906
#118485# - Styles for OLEs are not saved.
http://svn.apache.org/viewvc?view=revision&revision=1182166
#118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles
http://svn.apache.org/viewvc?view=revision&revision=1293316
#119337# Solves the wrong get/setPropertyValue calls in
SvxShapeText (and thus in SvxOle2Shape)
http://svn.apache.org/viewvc?view=revision&revision=1344156
Patches contributed by Mathias Bauer (and others)
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
cws mba34issues01: #i117717#: remove wrong assertion
http://svn.apache.org/viewvc?view=revision&revision=1172349
Patch contributed by Herbert Duerr
goodbye Registration and License dialogs, don't let the door hit you
http://svn.apache.org/viewvc?view=revision&revision=1172613
help gcc 4.6.0 on 32bit ubuntu 11.10"
http://svn.apache.org/viewvc?view=revision&revision=1245357
Do not add targets for junit tests when junit is disabled.
Patch contributed by Andre Fischer
http://svn.apache.org/viewvc?view=revision&revision=1241508
Revert "sb140: #i117082# avoid unncessary static class data members
commit 21d97438e2944861e26e4984195f959a0cce1e41.
remove obsolete FreeBSD visibility special case.
retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-15 16:06:08 +00:00
d34e2f8bf1
s/aIter++/++aIter/
...
Change-Id: Id80013cbab8f1633db59d2d4492c7363224871bd
Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr >
Reviewed-on: https://gerrit.libreoffice.org/1016
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2012-11-09 14:55:20 +00:00