Commit Graph

1756 Commits

Author SHA1 Message Date
57a4337e25 set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25 13:21:59 +02:00
7e2b9fa213 Remove some useless tools/debug.hxx includes
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h
header was necessary in some cases because of a macro or a typedef that was needed.

Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9
Reviewed-on: https://gerrit.libreoffice.org/11075
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22 16:33:18 -05:00
46ac7d60dd font lookup - cleanup GetEnglishSearchName function signature.
Change-Id: I6e3ca358d88e0285fe6e07b0617f3078a5edb857
2014-08-22 16:22:13 +01:00
150df3c020 star* -> css::*
Change-Id: I156d40badb1a11727d1320600a9d3af2b8b24e4a
2014-08-21 09:03:22 +02:00
ab9e2ed4ca unotools: use css alias
Change-Id: I0440f589242d921e3e10e490e43f40cabd70ec9f
2014-08-21 09:03:15 +02:00
fa6a5ebc1c unotools: stario -> css::io
Change-Id: I54b03d00e5cf0b0b43bf5c5db264660792baf951
2014-08-21 09:03:14 +02:00
091fc82b82 unotools: staruno -> css::uno
Change-Id: I20a470fe654bfd1eec23dd2e0c13162a0b432a32
2014-08-21 09:03:14 +02:00
ac57362b23 Typo: and->end
Change-Id: I8c3707dbf537261d7ed9a69807fc1bdeae851526
2014-08-21 07:33:38 +02:00
b3d9852309 Remove more useless includes of tools/debug.hxx
Change-Id: If289dcbff125ac0088f01b5c9752f9f3173585dc
Reviewed-on: https://gerrit.libreoffice.org/11020
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-20 09:10:01 -05:00
ac5954d7c5 java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14 10:59:48 +02:00
ab90977710 unotools: DBG_ASSERT cleanup
Change-Id: I2f2c2c9627e536011aef5f1643a84c1e8f7ea176
2014-08-11 17:19:38 +02:00
b58c053fed java: remove unnecessary semi-colons
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
2014-08-08 09:48:18 +02:00
0c5f51ebbc java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05 11:31:50 +02:00
f124688cfd java: remove various unused variables
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-08-05 11:31:49 +02:00
5021f29841 Remove some unused code
Change-Id: Ib1fb5108a858c35a5bbe8ba865e15660639725e3
Reviewed-on: https://gerrit.libreoffice.org/10593
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-07-29 14:20:36 +00:00
d5fb4b7319 Typos
Change-Id: I0c17f40b3e593ae3771fa751a817f84bf2f2323d
2014-07-23 22:23:52 +02:00
c29338e6e1 revert bad fix
partially revert my commit 34cabe837dbb78 "loplugin:unreffun"

Change-Id: Idbfc9d1e43180c7c14e58c7b9417f3001d9805d4
2014-07-14 14:49:09 +02:00
34cabe837d loplugin:unreffun
Change-Id: Idc0f3ef53f48b2e77e4cecbcdbbc44a115c6ec2e
2014-07-14 13:27:30 +02:00
33c36fb9fb localized GetFullName()
Change-Id: I4f2bffadef3db1bd07432202525734ab9b0cb0de
2014-07-09 11:46:09 +02:00
5ace3f3b4f clang scan-build: various warnings
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-07-01 10:56:14 +01:00
7af733d9ef tweak assert so comment appears in abort message
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
2014-06-27 08:55:56 +01:00
533c6cb6ba fixes for up-casting to Reference<XInterface>
Fix regressions introduced with
6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking
Reference constructor to reduce code noise"

Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-25 17:10:43 +02:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
0e507ae031 various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
e4abc1cb06 Fix comments
Change-Id: I7957db170ec7020c9aba915e43779e01c7b98a8c
2014-06-04 15:18:22 +01:00
cc25f70ef1 compareTo -> equals
convert OUString::compareTo usage to equals to startsWith where it
is more appropriate

Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04 11:52:34 +02:00
adc20c3937 compareToAscii -> equalsAscii
convert places using compareToAscii that should be using equalsAscii

Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-04 11:52:31 +02:00
4452ac2322 Fix hungarian prefix for calendars
Change-Id: I78b3c0a8d32610e86e09ab5ad6da6cc4e0395926
Reviewed-on: https://gerrit.libreoffice.org/9566
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01 16:22:12 +00:00
f0ae48b684 remove unnecessary NULL parameter passed to UNO Exception
.. now that we have a default value for that parameter

Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
2014-05-29 09:01:40 +02:00
5e62d30fa2 update_pch
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28 15:53:10 +02:00
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
4fbbfc2269 WoE: while (..) {} instead of while(..);
"warning: suggest a space before ';' or explicit braces around empty body"

Change-Id: I71a55cc888d3480217621491ecace7d0af3dca6e
Reviewed-on: https://gerrit.libreoffice.org/9441
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-05-22 15:10:57 -05:00
f65de4feee fdo#60338: Introduce osl_createDirectoryWithFlags
...so that utl::TempFile can pass osl_File_OpenFlag_Private and doesn't have to
resort to umask (the calls to umask around Directory::create had somewhat
erroneously been removed recently with 1d72a0262c4570631d0aa8f98e34e21fb9d6ae42
"Related fdo#60338: Create missing temp file dir with user's original umask,"
mistaking this for creation of intermediate directories in the hierarchy).

On Windows, the flags argument to osl_createDirectoryWithFlags is ignored
completely for now.

Change-Id: Iac56a5049d579be729a3f338aa62105123edb6cb
2014-05-20 18:12:33 +02:00
8d54796bf1 enhance pass-by-ref plugin to detect large arguments
Detect arguments larger than 64 chars passed by value.

Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-20 11:17:22 +02:00
3462cf1568 WaE: -Wunused-variable
Change-Id: I52c7bcaeab874b007f90532d4609afe89d53a5df
2014-05-19 20:04:23 +02:00
f67702e709 fdo#60338: Add osl_File_OpenFlag_Private to avoid umask
Change-Id: I293295244d1b089d747548c5025cb73b8ec428a4
2014-05-19 11:44:24 +02:00
6ad51a071c Abstract over Tokens algorithm
Change-Id: I16347d52dd7c102c7bf6a8fd2926e61e6cf75c0b
2014-05-19 11:22:12 +02:00
45e8fd5fcc For now, reintroduce the horrible static counter into utl::TempFile
...i.e., bug fdo#41295 and its fix rediscovered.

Change-Id: If958fad74c853f51660a9e0bfffd99969052ea80
2014-05-16 16:34:48 +02:00
0bc869459b Consolidate CreateTempName_Impl and lcl_createName more faithfully
This is a follow-up to fcf455d4efde077bb2b092b607de12ebfc350275 "Consolidate
CreateTempName_Impl and lcl_createName," which apparently lead to hard-to-
diagnose sporadic "make check" failures on some machines.  Hope is that bLock
now more carefully tracking the behavior of the original two functions fixes
that.

Change-Id: I37ba00545f5921fd603ff9f1ea46927c42e88899
2014-05-16 11:05:41 +02:00
c8695c6cce Unify utl::TempFile ctors
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
2014-05-14 13:38:23 +02:00
248145f99e Find places where uno::Sequence is passed by value.
Implement a clang plugin to find them, and clean up existing code
to pass them by reference.

Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8
Reviewed-on: https://gerrit.libreoffice.org/9351
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-14 08:10:22 +00:00
fcf455d4ef Consolidate CreateTempName_Impl and lcl_createName
Change-Id: I4dbb917a6d9343f797859a2f24fa1d92b26a51eb
2014-05-13 19:27:01 +02:00
b7e05063cb Remove nonsensical code
...introduced with 2d8c990f8790be43cf4dda4bc871a917b9dcc974 "INTEGRATION:
CWS reportdesign01: #i79214# new method to allow to start not with zero."

Change-Id: Id141b2913ceb47c0c54f4449bdcdf5130c6f355b
2014-05-13 19:27:00 +02:00
a699927c56 Elide utl::TempFile_Impl
Change-Id: I8f14cd351c17abaa9d48144cdf8325afc250787b
2014-05-13 19:27:00 +02:00
404e4d613e utl::TempFile::CreateTempName pParent is unused
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
2014-05-13 19:27:00 +02:00
1d72a0262c Related fdo#60338: Create missing temp file dir with user's original umask
For one, that is consistent with how ensuredir (in the same .cxx) has always
worked, and for another saves us from trouble with umask, cf.
034d4c111976f337877e5954c6cc95ed9f90a343 "Related fdo#60338: Setting umask for
osl::Directory::open is useless."

Change-Id: Ic3fb5bb29ca3031d257067a514cb9f5bccfbfe4f
2014-05-13 14:33:16 +02:00
034d4c1119 Related fdo#60338: Setting umask for osl::Directory::open is useless
Maybe 39c58e416252571a04b8ebbb56c9fa012b117993 "INTEGRATION: CWS
olefix: #i46469# use correct umask on unix" had intended to put it around the
osl::Directory::create call instead, but given the trouble of calling umask(3)
in a MT program at all, it is probably better to keep creating any missing
directories with the user's original umask anyway.

Change-Id: Idfddfdab05373a3c395daba635fddcc054f3f215
2014-05-13 14:30:53 +02:00
cc4a3f1a88 Revert "Intermediate commit: un-revert last change"
Makes some SmartArt render better, some a bit worse, and some much
worse. Life is hard.

This reverts commit f66d64ab2e85f574a4b9f644ef709ff981483836.

Change-Id: I18b31deea8c14b401134551e74ba7ba208af3ad9
2014-05-12 11:58:14 +03:00
3e81096b1f fix-includes.pl: unotools
Change-Id: I1b2b8d58cec548961fb06f2595fd474010ae9979
2014-05-11 01:55:38 +02:00