Commit graph

1725 commits

Author SHA1 Message Date
Chris
d16ec6a180 Simplify and speed-up logic for copying data
Change-Id: I790ef30075d74c6bd7a049750dfb555d36d77542
Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/2523
Reviewed-by: Jørgen Nystad <jorgenys@gmail.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08 11:57:15 +00:00
nccuong
a6b9173005 fdo#60148 Clean up warnings from the Clang compiler plugin
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06 12:59:26 +00:00
Caolán McNamara
afae9b56a0 update unusedcode target and list
Change-Id: I53344d6a17570c044ad6e24cc148e07fe6f99ae8
2013-03-05 12:35:29 +00:00
Thomas Arnhold
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
Thomas Arnhold
5b04c9063c remove unused and commented out code
This code gets never called.

Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04 11:34:07 +00:00
Caolán McNamara
23a133dfe7 drop various dangling makefile.mks
Change-Id: Id76b57a1ef2edbb05f1d22a624caad077275ac74
2013-02-25 10:53:56 +00:00
Norbert Thiebaud
396eb4f5cf coverity#440141 Null Dereference
Change-Id: Ifdbfecdb5443024f7186882cf09d8fba998e94f2
Reviewed-on: https://gerrit.libreoffice.org/2213
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-19 14:16:31 +00:00
Tor Lillqvist
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
jailletc36
8d87128c6b Remove useless comment.
Change-Id: Ica37d08671700adea3b0d48c1d72b6d26f56dcfb
Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/1169
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2012-11-26 13:03:41 +00:00
Stephan Bergmann
e3898d3714 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: If07500e1b7dc0ac127450fbb61e3d569ac3727eb
2012-08-31 09:04:13 +02:00
Thomas Arnhold
5502be9695 Remove commented out code
Change-Id: Id73d1d75063e19dfa05fa7b5b8b69ca8f99f0998
2012-08-07 13:45:18 +02:00
Michael Meeks
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
Takeshi Abe
d221d4e5a7 removed unnecessary forward declarations of class
this also moved necessary ones to right headers

Change-Id: Idda93aeaa1fdfeda602b14e3b233ffd1cf27c0cf
2012-07-02 22:07:55 +09:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Michael Meeks
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
Takeshi Abe
f7ebee38a3 removed dead code
Change-Id: I02e535f0a0e55446e5a29297c2d05b1503805e71
2012-06-06 00:59:23 +09:00
Takeshi Abe
d95d58af08 nuke unused namespace
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-06-01 01:04:50 +09:00
Takeshi Abe
d428360e48 removed unused const char[]
Change-Id: Ia5f26c13e7bae42685230769fa86b52703eb2f7e
2012-05-24 22:29:38 +09:00
David Tardon
55823d331e replace APP?RPATH SDK by SDKBIN in old build system
Commit 0c80ad06fd broke MacOS X builds
because of this discrepancy. It would be easy to accept both, but I
think it is better to be consistent with gbuild.
2012-04-14 07:22:15 +02:00
Andras Timar
6c412d2e69 change Privacy and Legal URLs in API doc 2012-03-13 11:53:05 +01:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Caolán McNamara
00856ee810 callcatcher: update list 2012-01-25 15:38:53 +00:00
Caolán McNamara
905b84557d refresh unused code list 2012-01-25 15:37:20 +00:00
Caolán McNamara
17ecf0036d callcatcher: update list, remove newly unused methods 2012-01-24 16:53:56 +00: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
Stephan Bergmann
8419668ea8 Remove obsolete autodoc C++ functionality. 2012-01-19 08:26:52 +01:00
Matúš Kukan
f958657cc5 gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO' 2011-12-16 21:20:08 +01:00
Noel Grandin
583582c5bf German translations
By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch
2011-12-12 22:35:05 +01:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Jan Holesovsky
832e6d2293 Some trivial fixes for MinGW with -std=c++0x enabled; not finished. 2011-11-23 11:59:30 +01:00
Joseph Powers
0ba264cc9f Delete some unused .hxx files from autodoc 2011-10-31 21:30:30 -07:00
Kristian Rietveld
302bb2c400 Match the correct function template specialization
Fully specify the E_TokenId type instead of relying on the EV_TokenId
typedef.
2011-10-24 08:39:32 +02:00
Stephan Bergmann
bf1f0183d5 Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). 2011-10-18 23:10:56 +02:00
Kevin Hunter
60f1085535 Simplify logic to use std::vector's .empty()
No need to muck about with iterators, adding a loop, and 2 function
calls to test for empty: it's a std::vector under the hood, so use
.empty(), and inline it.
2011-10-10 13:58:25 -04:00
Jan Holesovsky
1339a41fb0 Revert "Simplify logic to use std::vector's .empty()"
This reverts commit a6a51b6a69.

The commit broke the build, sorry for the push.
2011-10-06 10:19:42 +02:00
Kevin Hunter
a6a51b6a69 Simplify logic to use std::vector's .empty()
No need to muck about with iterators, adding a loop, and 2 function
calls to test for empty: it's a std::vector under the hood, so use
.empty(), and inline it.
2011-10-06 10:04:45 +02:00
Tor Lillqvist
302d9cc848 WaE: unreachable code 2011-10-03 13:56:32 +03:00
Pierre-André Jacquod
97fb350c10 cppcheck: unread Var deleted in autodoc, cx_c_pp.cxx 2011-09-26 22:02:39 +02:00
Pierre-André Jacquod
35579b7f6e cppcheck: deleted unread Var in autodoc, hdimpl.cxx 2011-09-26 22:02:38 +02:00
Fridrich Štrba
bb5bdbbdca Revert "Trying to chop out the uwinapi library"
This reverts commit 2dea0dab4f.
2011-09-16 16:26:03 +02:00
Fridrich Štrba
2dea0dab4f Trying to chop out the uwinapi library 2011-09-16 15:52:40 +02:00
Andras Timar
16132fddb9 licence footer for API docs 2011-09-07 00:20:01 +02:00
Andras Timar
a7a56615e7 translated German comment 2011-09-07 00:20:00 +02:00
Pierre-André Jacquod
899e9848cf [cppchecker] suppress unread Variable warnings 2011-09-06 22:43:14 +02:00
Pierre-André Jacquod
7a83696a76 [cppchecker] superfluous variable deleted 2011-09-06 22:42:56 +02:00
Andras Timar
1a1e31c1bc update copyright text for api docs 2011-09-03 23:34:56 +02:00
Tor Lillqvist
fc2661c50b Don't allow the "LO" abbreviation 2011-08-31 17:23:44 +03:00
Laurent Godard
09f9c1f7c2 allow LibreOffice reference in IDL @since tag 2011-08-31 17:21:32 +03:00
Takeshi Abe
e1a1091d0a catch ignored exceptions by const reference 2011-08-24 11:30:17 +09:00