summaryrefslogtreecommitdiff
path: root/cppuhelper/source/findsofficepath.c
AgeCommit message (Collapse)AuthorFilesLines
2022-04-11-Werror,-Wstrict-prototypes (clang-cl)Stephan Bergmann1-1/+1
Change-Id: I72e35f51eb607662608ccaf944bec64ed422cef4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132835 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-04-10-Werror,-Wstrict-prototypesStephan Bergmann1-1/+1
Change-Id: I7b3d6f5a19020191e7add5ed21666d84e54744a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132760 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-02-14tdf#42949 Fix IWYU warnings in cppuhelper/Gabor Kelemen1-1/+0
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I0eebd82b96d630da0597166cf87d398072607c13 Reviewed-on: https://gerrit.libreoffice.org/67473 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2017-09-27cppuhelper_detail_findSofficePath: use Unicode on WindowsMike Kaganski1-23/+41
On Windows, UTF-8 is never current locale encoding; so using 8-bit strings will always fail for paths containing characters outside of current codepage. Also fix leaks caused by failing to release its result: previously it could return either result of getenv (that shouldn't get freed), or an allocated string, but never got freed; now the result is always allocated and properly freed. Change-Id: I8b255dea20040eec0572de2b34280749fe8f071c Reviewed-on: https://gerrit.libreoffice.org/42743 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-02-17use consistent #define checks for the Windows platformNoel Grandin1-1/+1
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>
2015-03-12CppCheck cleanlyness : reduce variable's scopeMichaël Lefèvre1-3/+2
Change-Id: I5bd18b1a93f7197121eb42f6b82d2d8d87e7671f Reviewed-on: https://gerrit.libreoffice.org/14843 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-11-18cid#706201: No need to call access prior to realpath hereStephan Bergmann1-17/+12
...and thus silence a TOCTOU warning Change-Id: I17f36181946616747d84aca6d43e44d180dc8741
2014-06-17-Wstrict-prototypesStephan Bergmann1-1/+1
...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-04cppuhelper: fix includesThomas Arnhold1-1/+1
Change-Id: I0e6bc822d19cf266dea716fe92f2ccd08d87c51f
2014-05-20C string usage improvmentArnaud Versini1-2/+10
Change-Id: I5c59f0d2d1b911ffa1ee251e0f1355d137616493 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-04-02Make function prototype visibleStephan Bergmann1-0/+2
Change-Id: I7bc497b5acdcc270ad47bbeedff424e9332ae645
2014-03-22coverity#705457 Dereference null return valueCaolán McNamara1-0/+2
Change-Id: Ifde26af3d00fee3aa52afafa3986ef180be39908
2012-12-06re-base on ALv2 code. Includes:Michael Meeks1-23/+14
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
2011-11-27remove include of pch header in cppuhelperNorbert Thiebaud1-1/+0
2010-12-06Replace all occured, occurance etc.Takeshi Abe1-3/+3
2010-11-24cppcheck: Empty string test can be simplifiedCaolán McNamara1-3/+1
2010-11-03Changed symlink processing to new application name. Now the function will ↵Giuseppe Castagno1-1/+1
try for libreoffice in the PATH, instead of soffice.
2010-10-27add modelines to .h and .c files as wellCaolán McNamara1-0/+3
2010-09-28LibreOffice Branding: first cutFridrich Štrba1-1/+1
Notes: split repo tag: ure_LIBREOFFICE_CREATE
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-09-03#i93393# crasher when looking for soffice pathOliver Bolte1-2/+3
2008-06-09INTEGRATION: CWS sb87 (1.1.2); FILE ADDEDRüdiger Timm1-0/+207
2008/04/24 11:52:15 sb 1.1.2.1: #i88687# extracted cppuhelper_detail_findSofficePath from odk/source/unoapploader