Commit Graph

783 Commits

Author SHA1 Message Date
6a59659541 Remove unused code
Change-Id: Id789250d6aeae642ef5c712e33c5583628638218
Reviewed-on: https://gerrit.libreoffice.org/4604
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01 11:39:43 +00:00
d885a85a48 Make l10ntools executables escape clear
Steps of escaping process:
1. Executables unescape the string for export(if necessary)
2. Po class work with unescaped string
3. Escape strings to PO format and write out
4. Read from PO and unescape strings
5. Executables make own transformation on string and merge

Use general functions for escaping (helper)
Delete unneeded escaping methods(xrmmerge, merge)
Delete some unused method from PoEntry class

Change-Id: I7f9414581aae9e6de7d1573862a32cdbd68c9545
2013-04-13 05:44:02 +02:00
b68f14a7ca Remove unused functions (callcatcher)
ThumbnailView::deselectItem(unsigned short)
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)

Change-Id: I88d79c7c1eede9544a4232e467a54629e4976798
2013-03-09 13:08:48 +01:00
85429fbe77 Remove unused EditTextObjectImpl::RemoveParaAttribs
Change-Id: I3849cbac0e3d08686004775fbe7f749af0bfad62
2013-03-09 01:56:48 +01:00
afae9b56a0 update unusedcode target and list
Change-Id: I53344d6a17570c044ad6e24cc148e07fe6f99ae8
2013-03-05 12:35:29 +00:00
875c997c7d fdo#39446 - Bloat Removal. Removing uncallable code with callcatcher
Removed several unused methods.

Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods).
Should Test::test1Table1Page() really be removed? (test class)

Conflicts:
        unusedcode.easy

Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-27 15:40:16 +01:00
a97a16d330 Remove unused preprocessor defined functions in the unicode utils
Also remove corresponding unusedcode.easy entries and an
unusedcode.easy entry that I could not find in the master branch

Change-Id: If329fe1226bd40f86cc0fd8d912876bf7a7984b2
2013-02-23 18:34:57 +02:00
b0f4052cf2 callcatcher: update unused code list
Change-Id: I6a935ced687b1076dfdd6c6ae0cf3bce1fc6adbd
2013-01-31 11:30:48 +00:00
bfe49bf548 callcatcher: update unused code
Change-Id: I80e562eac2b8578073993c5ebf01943ecad4947d
2013-01-26 01:33:51 +00:00
dcdf61f5dd callcatcher: update unused method list
Change-Id: Idbd84e9d22d130361e7d9e0d7c27d3d6df73095d
2013-01-25 10:26:37 +00:00
f74efe63d9 callcatcher: remove newly unused code
Change-Id: I3ec055cf7aff5674def54cb75d348f3fb3336c4a
2013-01-17 12:57:07 +00:00
612981fc8f callcatcher: update and remove newly unused code
Change-Id: Iff3ce7c3a44010b3bc81fc0d2156216ee13948dc
2013-01-13 23:02:37 +00:00
6086949c9e Remove unused function useFont
Change-Id: Icaa3e130ebd4eb168a62a2b45cf8f7a222c0764e
2013-01-13 22:12:45 +01:00
6dd888e899 callcatcher: update unused code
Change-Id: Ic896ea234c3ea7bfaa94ab2441471926beae427d
2013-01-07 16:17:51 +00:00
2f3749efd7 remove executable bit
Change-Id: I41a0633cc6ebe2db8ad662132d727fb2ec3282ab
2013-01-04 12:28:11 +01:00
3d623f3933 Remove some unused functions
Change-Id: I618de5d34d891b1b183cca12b71aff4128b2f92e
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1517
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-31 10:23:16 +00:00
5aa0ac02a0 callcatcher: update unused code list
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
2012-12-29 18:02:26 +00:00
68d421bdac callcatcher: update unusedcode code list
Change-Id: I3ba30e0745c8f2adac29a6c4ff15a8156cee4baf
2012-12-17 09:35:25 +00:00
edf999c3f4 Remove unused ThumbnailView::GetScrollWidth()
Change-Id: I8d3337e6ff30276c9de6c5de4836ea75ed6c8d99
2012-12-15 00:23:56 +01:00
0d14248a51 Remove 2 unused methods from CompressGraphicsDialog
Change-Id: I51ce4a231a43dc32a36303d293c718ee44b371a1
2012-12-14 22:35:37 +01:00
00438a182d Remove some newly tagged unused methods
Change-Id: I95d2c24ffefe6835c9505d149dc94847f1140b9c
2012-12-14 22:28:06 +01:00
55b3794950 callcatcher: update unused code list
Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7
2012-12-14 11:37:22 +00:00
0c870ab35f uncalled destructor
Change-Id: I76a06834dcaf751359d0e4241e8f886d20530f1e
2012-12-12 13:27:12 +00:00
a705b8fe9d callcatcher: update unused code list
Change-Id: Iff29c1f0a795d920a071eadc64e6639ff7506fff
2012-12-12 13:27:12 +00:00
d0b590fe19 callcatcher: remove unused rtf filter and associated methods
update and remove newly unused code, mostly original rtf filter

Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-10 09:28:16 +00:00
1eafd90aee Remove unused method from desktop
Change-Id: I17b269c70bbf82aa5a4345d488777ac98d1d6938
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1221
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-02 12:43:41 +00:00
794c1f97f5 writerfilter: remove unused WW8Analyzer
Change-Id: I711bc4d6b7100a1b089ed5bfeec7ff14f2727138
2012-12-01 11:10:36 +01:00
a14cc23318 Removed useless method from languagetag
Change-Id: I683c54ed278d5a6ba12eaefb8040c3753a24f119
Signed-off-by: Paula Mannes <paulamannes@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1204
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30 16:58:06 +00:00
e40e6b26eb Remove some other newly tagged unused methods
Change-Id: I6413fa7b9a7ca5e5f88c634ac4a7092162a9a9c9
2012-11-23 22:52:05 +01:00
db4aab0e11 Remove some newly tagged unused methods
Change-Id: Ie55dfd19f223df62c091ffc4fdf28789b308a1c7
2012-11-23 22:39:04 +01:00
b5a89ad137 callcatcher: update list
.ui conversion has finally make inroads into core vcl widgets, no
WorkWindow are initialized from ResIds anymore post conversion
of the xslt filter dialog

Change-Id: I4a1764d9fb9be9e252630e3afc9972221bc16be6
2012-11-23 08:46:41 +00:00
42925ee1fd dropped dead code from svg
Change-Id: I73244d54f182f44c08a942dee95ff11b53a24f5a
Reviewed-on: https://gerrit.libreoffice.org/1078
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-21 14:09:57 +00:00
3b23870673 callcatcher: remove another layer of binfilter-released methods
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
2012-11-17 20:10:50 +00:00
dd77f79f0a Remove unused methods from writerfilter
Change-Id: I63b0510fea80c12579985fbc4d4eb4646376e25b
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1074
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-15 09:09:41 +00:00
823b334ad7 dropped unused method: FileStream::open
Change-Id: I3e6c1341666fddcfd1bd272a0943ca1de3e5d629
Reviewed-on: https://gerrit.libreoffice.org/1072
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-15 07:31:17 +00:00
690ce9f1b9 callcatcher: more binfilter freed up methods
Change-Id: Iea3716e5c7a21f083f36ce4b8d43ae9fc85227f7
2012-11-14 10:11:33 +00:00
7768cbe901 callcatcher: neither setNumberFormat is used
Change-Id: I782eace543ae5618004c61b9b84a0646cc463df6
2012-11-14 10:11:32 +00:00
c17f51c74c The additional methods of SO2_*_REF over SV_*_REF are now unused
so they can now be replaced by SV_*_REF now

Change-Id: I2207d6582cab5f41851064f3d0c773e9421c0078
2012-11-14 10:11:32 +00:00
a94b6ec2d5 callcatcher: update unused code post binfilter death
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-11-14 10:11:32 +00:00
060219ac1a binfilter.die.die.die
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3
Reviewed-on: https://gerrit.libreoffice.org/1014
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-09 07:58:02 +00:00
bdcdbf5da0 Remove unused method and also remove not build test
These tests are not in the main build, so remove it all.

Change-Id: Ia0e13c984fe11b543a66d3150082cbdd7f34296a
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/977
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-11-03 23:37:40 +00:00
4e0b79b546 Remove unused method in formula module
Change-Id: I67259c5a3894be406b2d38900368a3f8aac86921
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-11-01 14:22:03 +00:00
036e4a5a89 Remove unused method from test
Change-Id: Id54d9bd2963573c4b8e77de0dfafe33ea5882d32
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/947
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-10-31 16:48:43 +00:00
2914d52fdf remove xmlreader from string now I don't need it anymore
Change-Id: I8d280a5fa352bf4514a5e593b34be767648f4e64
2012-10-27 20:16:51 +01:00
d4fb3b42b8 Remove unused overrideDataPath
Change-Id: I7dfaa933d918023999bfe78a497da7dbd59f7fc1
2012-10-27 17:09:04 +02:00
6affa4be69 callcatcher: update list, stop hiding uncalled tests :-)
Change-Id: I9bd81a9c5e85db4512a3e4768c9b87696c91b7bc
2012-10-27 15:42:33 +01:00
7b633213c0 unusedcode: sc: unused ctors
Change-Id: Iaa082d85ef95c58da14013c80cb06a2e1112d4ef
2012-10-27 13:27:02 +02:00
6dfbd3324f Remove some unused methods
Change-Id: Ia9ed975309c6ed677437c6e1c2d6be4a8bd6f1e9
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/875
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-16 13:20:19 +00:00
a51488cb24 callcatcher: update unused code and drop freshly unused methods
Change-Id: I8b1c0cc4a1af259e39578c36bace126c35337ecd
2012-10-13 20:14:01 +01:00
179e267704 Remove unused MorkParser::getRecordKeys4List
Change-Id: I755dce0ebee72a75c36b3cf36b52a2a1c736cc23
2012-10-13 01:02:39 +02:00