Stephan Bergmann
6e67c03dc0
Enable -Wnon-virtual-dtor for GCC 4.6
...
...which has the necessary features to support it.
Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.
cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.
Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
David Tardon
0ae7f9da0c
WaE: suggest parentheses around '&&' within '||'
2012-03-12 08:53:23 +01:00
David Tardon
8cb481ba18
WaE: declaration of 'aName' shadows a member of 'this'
2012-03-12 08:53:23 +01:00
David Tardon
d371852d7f
WaE: suggest explicit braces to avoid ambiguous 'else'
2012-03-12 08:53:23 +01:00
David Tardon
f6f48f89c1
WaE: missing initializer for member
2012-03-12 08:53:22 +01:00
David Tardon
fd4efa8bf5
WaE: 'bLastCaseSensitive' defined but not used
2012-03-12 08:53:22 +01:00
David Tardon
4171bfefa7
WaE: declaration of 'pTop' shadows a previous local
2012-03-12 08:53:21 +01:00
Stephan Bergmann
608fe962cc
Let osl::FileStatus getters assert programming errors
...
...instead of arbitrarily returning certain values when the requested
information is not available.
This reveals a problem in strmunx.cxx that is apparently a regression introduced
with 4a086fca7b
"fix SvStream to not require a
custom open or lstat method."
2012-03-09 11:56:10 +01:00
Noel Grandin
e36a9a64f1
Convert tools/table.hxx to std::map
...
Convert usage of tools/table.hxx to std::map in aPTable field of
SvPersistStream class.
2012-03-08 13:54:39 +02:00
Szabolcs Dezsi
bcd21acf72
fdo#46501: Cleanup SimpleResMgr
2012-03-02 15:40:08 +02:00
Caolán McNamara
2eeef79b78
callcatcher: update list
2012-03-01 10:43:56 +00:00
Caolán McNamara
1431c95d19
now restore and use reduced UnlockFile and UnlockRange impls
...
because its super ugly to have unbalanced lock/unlocks and with
the removal of STAR_ENABLE_FILE_LOCKING we can call those
methods and now get unchanged behaviour
2012-03-01 10:43:56 +00:00
Caolán McNamara
05a8216d03
STAR_ENABLE_FILE_LOCKING was a secret
2012-03-01 10:43:56 +00:00
Caolán McNamara
ab02fa6552
callcatcher: update list
2012-02-29 10:09:45 +00:00
Caolán McNamara
f7aaf5c42e
convert some low hanging fruit
2012-02-28 10:56:59 +00:00
Caolán McNamara
34d71c5a08
callcatcher: remove newly unused methods and update list
2012-02-28 10:56:59 +00:00
Marc-André Laverdière-Papineau
e4dd27555a
Removed dead code
...
Deleted: SvFileStream::UnlockFile()
2012-02-27 19:03:44 -05:00
Szabolcs Dezsi
2b179ca174
Removed unused code
2012-02-27 11:23:51 +00:00
Caolán McNamara
906e35f80a
merge GetString variants
2012-02-27 09:45:58 +00:00
Caolán McNamara
b36d555440
drop UniString::CreateFromInt64
2012-02-27 09:45:57 +00:00
Caolán McNamara
0e2c1fa763
ByteString is no more
2012-02-27 09:45:56 +00:00
Caolán McNamara
9b58e3a752
ByteString->rtl::OString
2012-02-27 09:45:55 +00:00
Caolán McNamara
67f67509ff
lock in ByteString gains
2012-02-23 15:58:52 +00:00
Thomas Arnhold
4853bc9ac5
WaE: Same expression on both sides of '||'
2012-02-21 20:56:58 +01:00
Elton Chung
4cd2af27cb
fdo#44993: Remove obsolete FSysRedirector
2012-02-21 14:52:56 +00:00
Thomas Arnhold
e7e4871b28
unusedcode.easy: some cleaning
2012-02-20 22:19:34 +01:00
Caolán McNamara
c251139ca2
ByteString->rtl::OString
2012-02-19 13:38:46 +00:00
David Tardon
243fbda523
WaE: unused parameter
2012-02-17 09:14:43 +01:00
Julien Nabet
2dd1722d27
Fix a bug found with cclang
...
Null pointer passed as an argument to a 'nonnull'
2012-02-16 22:36:35 +01:00
Caolán McNamara
08c475bb24
callcatcher: update unused code list
2012-02-16 10:26:03 +00:00
Stephan Bergmann
9ab0b38e95
Various string function clean up
...
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary
Deprecated:
* comphelper::string::remove
* comphelper::string::getToken
Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL
Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Caolán McNamara
48649cdfb8
lock in those ByteString gains so there's no back-sliding
2012-02-15 11:06:48 +00:00
Lionel Elie Mamane
bbeb0f7a82
ResMgr::TestStack more robust
2012-02-13 17:58:31 +01:00
Alexander Bergmann
8f1270db7d
unusedcode.easy: Removed unused code
2012-02-13 13:17:19 +00:00
Caolán McNamara
3b4786b6b7
callcatcher: regenerate list
2012-02-13 11:02:46 +00:00
Greg Kroah-Hartman
ed3a7c0774
tools: fsys: Delete unused FileStat::FileStat()
2012-02-07 00:44:28 +01:00
Greg Kroah-Hartman
ff764e4eb7
tools: fsys: Delete unused FileStat::FileStat(const void *)
2012-02-07 00:44:28 +01:00
Greg Kroah-Hartman
5e7c721c80
tools: fsys: Delete unused DirEntry::GetDevice()
2012-02-07 00:44:27 +01:00
Jesús Corrius
7be0cc289d
A few safe replacements of pathes->paths
2012-02-01 14:43:37 +01:00
Noel Grandin
61451fec9b
fdo#44981 - remove obsolete SWAPLONG macros
2012-01-30 13:18:38 +00:00
Caolán McNamara
bbc94edb9a
refactor ConvertLineEnd
2012-01-30 13:18:38 +00:00
Caolán McNamara
8145136690
SvGlobalName::GetctorName is now redundant
2012-01-27 12:59:48 +00:00
Caolán McNamara
905b84557d
refresh unused code list
2012-01-25 15:37:20 +00:00
Caolán McNamara
39e54d0480
move ugly WriteLines out of SvStream to beside sole user
2012-01-25 15:37:19 +00:00
Caolán McNamara
3ee84cb27e
use write_uInt16s_FromOUString pattern
2012-01-24 16:53:56 +00:00
Caolán McNamara
5f662f2540
all direct OUString readers are current little endian streams
2012-01-24 16:53:55 +00:00
Caolán McNamara
b1f74de031
ByteString->rtl::OString
2012-01-23 11:37:06 +00:00
Thomas Collerton
7735b09b5e
fdo#44988: Remove obsolete BOOTSTRAP defines.
2012-01-23 14:04:47 +05:30
Stephan Bergmann
f433d5a9b8
Fix Windows.
2012-01-21 17:57:10 +01:00
Stephan Bergmann
7c704c78d3
Removed some unused parameters; added SAL_UNUSED_PARAMETER.
...
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones. To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00