Commit Graph

304 Commits

Author SHA1 Message Date
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
9bf2d51927 callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-15 15:41:13 +01:00
b2fdaed465 WaE: MSVC2008 C2220 unsafe mix of types in operation 2012-04-20 20:02:25 +01:00
d7aacb8461 .hrc files don't need executable bits 2012-03-23 21:58:14 +01:00
55a4020907 remove ToDouble/ToFloat 2012-03-20 12:57:34 +00:00
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
033d98557e Removed useless #ifdef guard 2012-03-06 21:52:55 +09:00
c5bf9b10b9 Remove unused SbxMemoryStream 2012-03-05 23:03:34 +02:00
99ff0ab0b2 Remove unused code from basic 2012-03-05 18:54:28 +02:00
8d4fe3ed1f Convert SbxFactory from SV_DECL_PTRARR_DEL to boost::ptr_vector 2012-03-05 12:57:08 +02:00
761f502083 can use a reference for singleton 2012-02-13 11:02:46 +00:00
05d48fb71f add SbGlobal for shared static objects 2012-02-10 22:59:45 +01:00
6073c31fe8 Replaced String by rtl::OUString in SbiScanner 2012-01-31 02:29:23 +09:00
9cd7d08b4a SvDispatch class doesn't exist anymore 2012-01-27 12:59:47 +00:00
ebe3e061ac Removed unused field and non-existent class 2012-01-25 03:07:58 +09:00
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
9f1ee3e585 Remove useless macros 2012-01-20 20:47:53 -05:00
81605eaafa Replace BasicErrorManager with std::vector 2012-01-20 15:21:37 -05:00
9746244229 Remove unused macros 2012-01-17 17:45:31 -05:00
d9ce7a484f Remove unused SttResMgr from basic 2012-01-16 23:35:49 -05:00
4383bb532e Remove unused function 2012-01-16 23:35:49 -05:00
9a2859df2d Remove invalid friend declaration 2012-01-16 11:37:35 -05:00
ad5bc7a1ec String->OUString 2012-01-16 11:37:34 -05:00
0ced88ad44 Remove unused enum SbLanguageMode 2012-01-16 11:37:34 -05:00
2a3d61a0be Remove unused enum SbTextType 2012-01-16 11:37:34 -05:00
a29901ae32 Remove unused struct SbTextPortion 2012-01-16 11:37:34 -05:00
64c8a11cc5 Remove unnecessary using declaration 2012-01-16 11:37:33 -05:00
09f8d4f75a WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:17 +01:00
440a7c9b92 SV_DECL_PTRARR_DEL->boost::ptr_vector 2012-01-14 15:13:05 -05:00
629cd5caad callcatcher: update list 2012-01-10 10:09:29 +00:00
db1faf4868 Remove unused class SttResId 2012-01-07 18:33:31 -05:00
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
220b97fd14 SbTextPortions, etc can completely go 2011-12-13 10:11:45 +00:00
0d486af418 _BASIC_TEXTPORTIONS always defined 2011-12-13 10:11:44 +00:00
90ca7d9e24 callcatcher: remove newly unused code 2011-12-13 10:11:44 +00:00
87ec1f8857 callcatcher: remove unused code post automation removal 2011-12-09 13:57:16 +00:00
cfcbcc8939 Removed basic/svtmsg.hrc 2011-12-08 13:59:58 -05:00
9b8e3d285b Removed basic/dispdefs.hxx 2011-12-08 13:57:47 -05:00
da35c131fe Removed basic/process.hxx 2011-12-08 13:56:03 -05:00
003dbb7492 Remove basic/mybasic.hxx 2011-12-08 01:29:19 -05:00
f5ba057f24 Remove basic/basicrt.hxx 2011-12-08 01:26:09 -05:00
a2eb0cf44b Remove testtool 2011-12-07 00:56:22 -05:00
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
2ca38d3c7c rmove include of pch header in basic 2011-11-27 12:55:59 -06:00
7e9eda006b Fixed spelling: Spechial -> Special 2011-11-25 20:28:33 +00:00
5c76e221fe Some German to English comment translations. 2011-11-25 11:18:19 +00:00
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
1f2d0c83d0 Put back a method needed by Windows and reformat a bit 2011-11-15 13:19:24 +01:00
e5f5167e84 FDO#39446 [EasyHack] Bloat Removal. Removing uncallable code with callcatcher
Removed most unused symbols in basic/. The remaining symbols (SdxDecimal) are
Windows specific and thus should be double-checked on a Windows machine prior
to removal.
2011-11-15 10:41:35 +00:00
f017740f50 StaticIsEnabledBroadcasting can only be true 2011-11-06 22:08:36 +00:00