Commit Graph

18 Commits

Author SHA1 Message Date
Noel Grandin
2087484c65 use consistent #define checks for the Windows platform
stage 2 of replacing usage of various checks for the windows platform
with the compiler-defined '_WIN32' macro

In this stage we focus on replacing usage of the WIN macro

Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84
Reviewed-on: https://gerrit.libreoffice.org/22393
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-17 11:33:57 +00:00
Michaël Lefèvre
c3cd100556 CppCheck cleanlyness : reduce variable's scope
Change-Id: I5bd18b1a93f7197121eb42f6b82d2d8d87e7671f
Reviewed-on: https://gerrit.libreoffice.org/14843
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-03-12 22:28:38 +00:00
Stephan Bergmann
11b0ce9bab cid#706201: No need to call access prior to realpath here
...and thus silence a TOCTOU warning

Change-Id: I17f36181946616747d84aca6d43e44d180dc8741
2014-11-18 12:17:18 +01:00
Stephan Bergmann
a15715c343 -Wstrict-prototypes
...no reason to not have it enabled for URE C include files and what
little real C code is still left.  (But note that Clang ignores that
warning.)

Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
2014-06-17 15:51:54 +02:00
Thomas Arnhold
530899ba18 cppuhelper: fix includes
Change-Id: I0e6bc822d19cf266dea716fe92f2ccd08d87c51f
2014-06-04 21:18:39 +02:00
Arnaud Versini
cd11bc699a C string usage improvment
Change-Id: I5c59f0d2d1b911ffa1ee251e0f1355d137616493
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-20 09:47:54 +02:00
Stephan Bergmann
6cbf8dacff Make function prototype visible
Change-Id: I7bc497b5acdcc270ad47bbeedff424e9332ae645
2014-04-02 10:02:29 +02:00
Caolán McNamara
c2d6d947a2 coverity#705457 Dereference null return value
Change-Id: Ifde26af3d00fee3aa52afafa3986ef180be39908
2014-03-22 17:11:53 +00:00
Michael Meeks
9d7c1dcbbb re-base on ALv2 code. Includes:
Patches contributed by Ocke Janssen
   converted reportdesign.
   http://svn.apache.org/viewvc?view=revision&revision=1396797
   http://svn.apache.org/viewvc?view=revision&revision=1394326

   Patch contributed by Oliver Rainer-Wittmann
   sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
   apply print settings to new printing routines
   http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-12-06 09:12:57 +00:00
Norbert Thiebaud
c10fb61c1a remove include of pch header in cppuhelper 2011-11-27 13:03:19 -06:00
Takeshi Abe
36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +00:00
Caolán McNamara
f41487508f cppcheck: Empty string test can be simplified 2010-11-24 16:29:48 +00:00
Giuseppe Castagno
c22e9dd070 Changed symlink processing to new application name. Now the function will try for libreoffice in the PATH, instead of soffice. 2010-11-03 16:32:25 +01:00
Caolán McNamara
da5cef0ab4 add modelines to .h and .c files as well 2010-10-27 16:04:46 +01:00
Fridrich Štrba
afc5c0c440 LibreOffice Branding: first cut 2010-09-28 08:44:15 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Oliver Bolte
0a0304e5e0 #i93393# crasher when looking for soffice path 2008-09-03 11:20:34 +00:00
Rüdiger Timm
ae3386243c INTEGRATION: CWS sb87 (1.1.2); FILE ADDED
2008/04/24 11:52:15 sb 1.1.2.1: #i88687# extracted cppuhelper_detail_findSofficePath from odk/source/unoapploader
2008-06-09 11:23:56 +00:00