Thomas Arnhold
55664c9bd2
unotools: remove some unused items
...
Change-Id: I95bcac6a3ff8cf4644c9d1596c75cac2d9cd94fe
Reviewed-on: https://gerrit.libreoffice.org/3191
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-05 08:35:33 +00:00
Thomas Arnhold
31fedbe9f7
Remove SvtInternalOptions
...
* only Get/SetCurrentTempURL were used, but only for compatibility reasons,
to remove old temporary directories (before 2001). Those should be gone
today.
* MailUIEnabled was false in the xcu file.
* SID_MAIL_SENDDOC* are handled some lines further.
Change-Id: I482719b0de9df0a77c2fef0bf25ae1fb68926375
Reviewed-on: https://gerrit.libreoffice.org/3180
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-05 08:24:46 +00:00
Thomas Arnhold
a808497dbb
drop prefix from ::css
...
as css is already ::com::sun::star
Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-04-02 09:01:37 +02:00
Thomas Arnhold
2b7ee1db28
remove boilerplate comments
...
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
Thomas Arnhold
049ce78144
remove local css definitions
...
follow-up of 66a175834c39ccde9475eac3adb72a843110d01f
Change-Id: I1c495041ccc4db4dd9554d49b6324e989fa46c60
2013-03-30 00:56:42 +01:00
Eike Rathke
5f96fa16cb
FIXME-BCP47
...
Change-Id: Id328608bcab49513d044c5029f87c5d1c21cedd2
2013-03-29 14:09:00 +01:00
Stephan Bergmann
3e8a0c2d11
-Werror=unused-macros
...
Change-Id: I2fce1d0c7136840843b78ae301e8c4147d504272
2013-03-27 14:55:38 +01:00
Chr. Rossmanith
4e907bc366
Replace String with OUString in RecodeString
...
Change-Id: I987f738d1cd7d640a253f3cd31864290b6d763bf
Reviewed-on: https://gerrit.libreoffice.org/2919
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-26 12:43:22 +00:00
vincent
002a0d91e4
Fix spelling errors and typos: 'unkown' change to 'unknown'
...
Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94
Reviewed-on: https://gerrit.libreoffice.org/3030
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-25 14:12:42 +00:00
Chr. Rossmanith
9d548d56cf
Replace String with OUString (unotools)
...
Change-Id: I9a0677cb36805d0a27514824c937901f73fee1c8
Reviewed-on: https://gerrit.libreoffice.org/2864
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-03-20 12:10:09 +00:00
Chr. Rossmanith
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
Stephan Bergmann
a2d33e2d4c
compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)
...
...broken with 407b51db1831bb2cf21def88241323e35c612005 "Remove
RTL_CONSTASCII_STRINGPARAM (unotools)."
Change-Id: Id810c157a6e10380d28e4d6e85f908dc79cf0057
2013-03-19 14:45:53 +01:00
Stephan Bergmann
61e0ce089d
DBG_ASSERT -> SAL_WARN
...
Change-Id: I29a13ac9631027d7c527c3b395d4a887c290acc7
2013-03-19 14:45:53 +01:00
Stephan Bergmann
3968f5e874
Simply obtain theMacroExpander on demand
...
Change-Id: I919c8f5c26d1c879dd77e691babaa4eb7f608c35
2013-03-19 14:45:53 +01:00
Michael Meeks
79b0046ba0
remove legacy build.pl prj/build.lst files.
2013-03-14 17:05:51 +00:00
Chr. Rossmanith
f92a592705
Polishing 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10
...
Change-Id: I73334fca8429dc0ad4250ce638027fa52245dec4
Reviewed-on: https://gerrit.libreoffice.org/2676
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12 23:12:14 +00:00
Chr. Rossmanith
32ac07a929
Remove RTL_CONSTASCII_STRINGPARAM (unotools)
...
Change-Id: Id6f9a357431a636c5982964452a0f067e884da96
2013-03-12 21:02:26 +01:00
Thomas Arnhold
a548924aec
tempfile: Creating tempfiles in a given folder is not used
...
It's always the case, that the default temp folder is used. aName and
aRet are always empty, pParent is no longer used. So the pParent
argument makes no sense anymore.
bDirectory makes no sense without pParent and is apparently unused
(always sal_False by default).
The include of tools/tempfile.hxx in unotools/tempfile.cxx in not
necessary.
Conflicts:
tools/source/fsys/tempfile.cxx
Change-Id: I9c53b263a640e53140a8ae8795181b1c5e43f26d
2013-03-12 16:20:15 +01:00
Stephan Bergmann
f2d535b9f5
Keep concatenating adjacent string literals via juxtaposition instead of +
...
Change-Id: I098a8d657ed5ac1976013e1ee370ef76ed2242db
2013-03-12 10:28:21 +01:00
Thomas Arnhold
df6b4f98d3
unotools: use return value of copy()
...
Change-Id: I8eaa40197e2ea25d52af920e03b0fd0e32e94847
2013-03-11 21:43:38 +01:00
elixir
7d1f4cdec3
fdo#38838: Converting String/UniString to OUString
...
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9
Reviewed-on: https://gerrit.libreoffice.org/2586
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11 15:50:44 +00:00
Krisztian Pinter
8933f19100
fdo#47011 autosave feature
...
removed unnecessary prop. name "Document/UserAutoSave" from saveopt.cxx
fixed autosave feature setting "losing its value"
set autosave feature default value to False
Change-Id: I473154b21bab53bf595a5a59e87dc16e472dcbf9
Reviewed-on: https://gerrit.libreoffice.org/2663
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-11 14:37:09 +00:00
Chr. Rossmanith
407b51db18
Remove RTL_CONSTASCII_STRINGPARAM (unotools)
...
Change-Id: I2911e50ddcd007d80498b9d65efd14368ac3baca
2013-03-11 14:01:05 +01:00
Chr. Rossmanith
1e67ecc656
Removed RTL_CONSTASCII_USTRINGPARAM in unotools
...
Change-Id: I516ea0e5457e9dc1cc9ac42f86fa1a5b4641078a
2013-03-10 07:52:58 +01:00
Thomas Arnhold
4bf95c4c31
make use of startsWith()
...
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679
Reviewed-on: https://gerrit.libreoffice.org/2599
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08 13:16:49 +00:00
Thomas Arnhold
6583305dd7
simplify compareTo (now correct)
...
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08 13:04:13 +01:00
Stephan Bergmann
3d4723f80a
Revert "simplify some compareTo"
...
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b,
s1.compareTo(s2, length-of-s2)
is *not* equivalent to
s1 == s2
2013-03-08 09:03:10 +01:00
Thomas Arnhold
19020191cb
simplify some compareTo
...
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-08 05:42:05 +01:00
Krisztian Pinter
895898596c
WIP: fdo#47011 autosave feature
...
Change-Id: Ib2cbcc33e6188c60c183b5f47e9ae9c9d4c91b95
2013-03-07 10:11:47 +01:00
Noel Grandin
f084fc5c80
fdo#46808, simplify OConfigurationTreeRoot constructor
...
.. doesn't need to take comphelper::ComponentContext as a param
anymore, can now use Reference<XComponentContext>
Change-Id: Ie5fbe0c9e8459cc612426ffa9474f955b28593e3
2013-03-07 08:23:42 +02:00
nccuong
a6b9173005
fdo#60148 Clean up warnings from the Clang compiler plugin
...
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06 12:59:26 +00:00
Thomas Arnhold
65610d54b4
remove trailing whitespaces
...
Change-Id: Ib6684fe00e063e150af30477fd704d9b3f029282
2013-03-04 22:22:04 +01:00
Thomas Arnhold
33d6a7b2d7
doubled namespaces
...
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04 13:58:40 +01:00
Thomas Arnhold
26e37ca4c7
doubled includes
...
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
Caolán McNamara
ecda52f6b3
callcatcher: unused code
...
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
2013-03-04 11:23:59 +00:00
Thomas Arnhold
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
Gregg King
db7a441342
Typo fix: informations -> information and a few other adjacent typos.
...
FDO:60724
Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b
Reviewed-on: https://gerrit.libreoffice.org/2479
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-02 02:45:55 +00:00
Michael Stahl
b768611724
remove all d.lst
...
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Thomas Arnhold
4f4e4e40f5
loplugin: improve indentation
...
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25 17:59:40 +01:00
sadam36
93a9744212
fdo#60724 - change 'charcter' to 'character'
...
Changed all occurrences of 'charcter' found by git grep. All of them
were used in comments only, so it should not break anything.
Change-Id: Ief2c00d929ae7972c55a4920fc0eaa8d6b18ab82
Reviewed-on: https://gerrit.libreoffice.org/2372
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-25 13:19:12 +00:00
Thomas Arnhold
76b3e61bb4
loplugin: unused variables
...
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-25 05:43:16 +01:00
Jean-Noël Rouvignac
63b0ce97ba
fdo#38838 searched, replaced and removed String::CreateFromInt32().
...
I ran the following code replace:
s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/
And finally removed String::CreateFromInt32().
Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5
Reviewed-on: https://gerrit.libreoffice.org/2279
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-24 12:59:02 +00:00
Julien Nabet
94477cb5fb
Fix typo accessable/accessible
...
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23 17:29:22 +01:00
Thomas Arnhold
c4cc63badc
sal: update log areas
...
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-23 13:31:09 +01:00
Julien Nabet
1443a9f7ab
[Uu]sefull -> [Uu]seful
...
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01:00
Andras Timar
b37a07f2da
typo: allways -> always
...
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-20 17:25:30 +01:00
Ivan Timofeev
e2f97dcc10
spelling: otherwhise -> otherwise
...
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-17 13:57:44 +04:00
Eike Rathke
8a07032d01
do not use the raw locale for osl_getTextEncodingFromLocale()
...
Change-Id: Iab7402721b5fbf20a05c9ff2725e52b012df2940
2013-02-15 13:57:27 +01:00
Jean-Noël Rouvignac
77fd448d09
Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING
...
Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f
Reviewed-on: https://gerrit.libreoffice.org/1954
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-14 13:20:14 +00:00
Noel Grandin
2e801b9933
fdo#46808, remove unused header file
...
The inline method in the header file is no longer used anywhere.
Change-Id: If3ee13778e45edb619393e6adb2daa38d6cf4d35
2013-02-11 08:02:13 +02:00