Commit Graph

1393 Commits

Author SHA1 Message Date
160cfb5e5e Bin the HACK() sillyness
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
2012-11-19 21:23:27 +02:00
3b23870673 callcatcher: remove another layer of binfilter-released methods
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
2012-11-17 20:10:50 +00:00
e055182f27 use LanguageTag
Change-Id: I5138eb613ba78c2bc876e45e6845eef4d1212314
2012-11-16 17:20:20 +01:00
690ce9f1b9 callcatcher: more binfilter freed up methods
Change-Id: Iea3716e5c7a21f083f36ce4b8d43ae9fc85227f7
2012-11-14 10:11:33 +00:00
a94b6ec2d5 callcatcher: update unused code post binfilter death
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-11-14 10:11:32 +00:00
4cc2571e49 CMIS urls: remove +atom in the internal URLS as the binding is guessed
Change-Id: I9ae0704f1e5203778e97de5843efe777ba717271
2012-10-31 12:03:28 +01:00
cda6b4e991 fdo#56366: INetURLObject::decode: do not clip utf-32 to 16-bit
Change-Id: Iaedc9f5b9f25f43b8b8deaf28129423abbb91672
2012-10-29 14:20:10 +04:00
0dd085f8f3 UniString->rtl::OUStringBuffer
Change-Id: I9938d7c4ab5594baeb10f405f0aa0964ef84d6c5
2012-10-28 23:09:32 +00:00
c348df5635 loplugin: various warnings
Change-Id: I605bffb518d804ee69edda5e7641e13e4c14ef01
2012-10-22 20:20:39 +01:00
9d2cfee5e9 some more clang warnings
Change-Id: I4359784279875dc9dac99bc4d2db95dccf094b20
2012-10-22 09:11:40 +01:00
a7efb9b8dd loplugin: fix some indents and unused OUStrings
Change-Id: I1d7256eea7a79453d3cdb85d1edcf824d58d775e
2012-10-14 16:37:00 +01:00
1f9f8f4f40 loplugin: some log, indent and unused variable warnings
fix up some indents, remove some unused OUStrings and add some log areas

Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-13 20:34:54 +01:00
58528348fa String->OUString in tools::ErrorContext
Change-Id: Ibd0cd3e8d7281b5abde420df5cc1d51e9354069c
Reviewed-on: https://gerrit.libreoffice.org/769
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-09 21:15:07 +00:00
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
a983689039 Implement conversion scheme for dialogs without changing their code
This supports a scheme where we can change over a dialog to GtkBuilder xml
without touching its code by the presence of a .ui file in the right place e.g.
share/config/soffice.cfg/cui/10000.ui for the zoom dialog
2012-09-28 08:48:20 +01:00
b854de954f deprecate oustringostreaminserter.hxx
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...

Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely

All internal users of that header are converted.

Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18 10:10:06 +00:00
3e0e87545f UniString->OUString
Change-Id: I65db3f419a69542d1dc19a3879eb1a07d7f2ff43
2012-08-31 10:10:41 +01:00
17d4bb38fa cleanup files in tools/source
This is a follow-up patch of 7710faa45640d25a83136a35044aafdb1b168d88.

Change-Id: I1f54cbe5c3170e9a79e11e9b9c1da3791419a4ba
2012-08-19 21:27:00 +02:00
9cadf9bdf3 fdo#39468: Translated German comments in core/tools/source
Change-Id: I28ec097a70a8d71312d9e8382c3cf71a1eabde88
2012-08-19 21:26:59 +02:00
a20f32d8e2 removed * accidentially when re-indenting :-/
Change-Id: I948180ee63dbd45f87eda4d61ef03568f73b036b
2012-08-18 19:28:09 +02:00
920dcaec05 re-indent falsely formatted code in tools/source
Change-Id: Ibc26313e79dd5f992c4bfb9454a9798fb1a78f00
2012-08-18 18:33:54 +02:00
15b3bc8916 removed commented out code in tools/source
Change-Id: I4b895b1878626aaa0bbaef7a83408809fa8ccaec
2012-08-18 18:33:52 +02:00
42352dff5a removed ascii-art and blank lines in tools/source
Change-Id: I3f95d12a8c325c96c586253b5d9bb7dce24c0858
2012-08-18 18:33:50 +02:00
ca166a7a42 Remove the Container class
Change-Id: I296d2c90af59524280c2582670c6cfe7a10f2269
2012-08-16 18:44:06 +02:00
1be58f5c25 Related fdo#44989: Bin (Un)LockRegion functions
Change-Id: I65f6e62ee045f5d9bdbd9cef02cfc7470aaca635
2012-08-15 16:39:29 +02:00
b78c58c867 Convert from including tools/list.hxx to tools/contnr.hxx
Change-Id: I728995adb333df7c647674bba3bca7fe6fef78d0
2012-08-13 22:48:14 +02:00
c8b7aa5513 fdo#39468: Translated German comments in core/tools
Change-Id: I5b6fd5712f08dae180bdd3b57b63713946b82433
2012-08-13 21:37:02 +02:00
582e06f71c unusedcode.easy: remove unused code
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
2012-08-13 18:18:42 +02:00
c8218367a0 callcatcher: update list
Change-Id: If9b76e5282c22a479ff709174fbc8ee4d3c337cc
2012-08-13 10:53:42 +01:00
9b85b65fb5 Prefer prefix ++/-- operators for non-primitive types
Change-Id: Ic8d149a78b2bc2bf352b7893202d0d0b6730746c
2012-08-10 22:36:26 +02:00
0c0d24589f callcatcher: reduce Container, update unused code list
Change-Id: I11733daf2668c4142052ceb4498f5500e7e291ef
2012-08-10 16:07:03 +01:00
016918cf94 STL'ify SV_DECL_IMPL_PERSIST_LIST
Converts it to a template based on std::vector

Change-Id: Id7f89f494164c61a3a573cff443ac0e0488e93f1
2012-08-08 13:53:07 +03:00
552cc04086 Remove unused SV_DECL_REF_LIST(SvRefBase,SvRefBase*)
Change-Id: I8e1a863e700229aba70bcf3869f41bccb36435bd
2012-08-08 13:53:06 +03:00
7a597eb624 STL'ify UniqueIndex
Convert the UniqueIndex code from a macro to a C++ template. Also use
std::map as the underlying container instead of tools/contnr.hxx.

Change-Id: I0b7b37dd7160ae019aaecdacd1e973ac6d8498e2
2012-08-08 10:47:31 +03:00
aac04652fd String::AllocBuffer replacements
Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
2012-08-07 16:14:45 +01:00
db95e0b759 move UniString::GetQuotedToken to sc, you can keep it
Change-Id: I6bc724186d9d701316e3e945d877bfaa88ac120d
2012-08-07 16:14:45 +01:00
34569eb28f drop bogus eof lines
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-07 13:45:27 +02:00
5502be9695 Remove commented out code
Change-Id: Id73d1d75063e19dfa05fa7b5b8b69ca8f99f0998
2012-08-07 13:45:18 +02:00
d4b172b819 strip down UniString some more
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-02 08:55:53 +01:00
85cb908453 fdo#48549 System::Beep() removal
Change-Id: I402202e199dfc8c2462859d00529f2782f6228b0
2012-07-31 10:28:57 +01:00
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
e5a0755bc2 new does not return null
Change-Id: Iea00f7c6435c6ae3ccbb2f97ab4407df8b86c54b
2012-07-20 15:55:44 +02:00
535e83550e re-base on ALv2 code. Includes:
Avoid some uses of non portable #!/bin/bash in shell scripts.
    Patch contributed by Pedro Giffuni
    http://svn.apache.org/viewvc?view=revision&revision=1235297
    remove redundant namespace, patch contributed Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1162610
    removal of OS/2 port changes, and preferring our similiar
    tools/inc/tools/solar.h DLLPOSTFIX cleanup.
    i118595 - Removal of the use of getopt() from rscdep.
    Patch contributed by Andre Fische
    http://svn.apache.org/viewvc?view=revision&revision=1202270
2012-07-11 18:12:35 +01:00
739e20ac58 Decrease header files dependencies
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-11 11:12:15 +05:30
5218c0d6a8 UniString(const rtl::OString ...) no longer implemented
Change-Id: Ie4fc4ed1a54889c1745a0d71d02211d6868340fa
2012-07-05 21:39:45 +01:00
8d98e380a2 fix broken indent
Change-Id: Ie11ad33f1d61d4abd1d40eaeda714993c3e2b295
2012-07-03 21:24:35 +01:00
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
b63027f099 Remove some unused defines and controls
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29 15:59:53 +02:00
4c4d748767 Remove some more include guards
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-29 09:25:10 +02:00