--- include/cppunit/TestAssert.h +++ include/cppunit/TestAssert.h @@ -112,7 +122,7 @@ #if defined(_MSC_VER) && defined(__STDC_SECURE_LIB__) // Use secure version with visual studio 2005 to avoid warning. sprintf_s(buffer, sizeof(buffer), "%.*g", precision, x); #else - sprintf(buffer, "%.*g", precision, x); + snprintf(buffer, sizeof(buffer), "%.*g", precision, x); #endif return buffer; } git.png' alt='cgit logo'/> index : lo/core
LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/cpputools
AgeCommit message (Expand)Author
2024-10-17cid#1555171 Data race conditionCaolán McNamara
2024-10-15cid#1555171 double-locked-pattern Data race conditionCaolán McNamara
2024-05-20loplugin:ostr in variousNoel Grandin
2024-04-29Drop uses of css::uno::Sequence::getConstArray in cppuhelper .. cuiMike Kaganski
2023-11-08loplugin:external -> loplugin:conststringvar -> loplugin:redundantstaticStephan Bergmann
2023-10-19Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: cpputoolsStephan Bergmann
2023-09-29Use less libxml2 external headers dependencyGabor Kelemen
2023-08-14sp2bv : no need to use fprintf without any formatingArnaud VERSINI
2023-06-26new loplugin:constexprliteralNoel Grandin
2023-01-27Remove support for AIXStephan Bergmann
2022-08-13clang-tidy modernize-pass-by-value in variousNoel Grandin
2022-05-01use more string_view in variousNoel Grandin
2022-04-01cpputools : use std::mutex instead of osl::MutexArnaud Versini
2022-01-13Recheck modules [a-c]* with IWYUGabor Kelemen
2022-01-08Don't install the uno script when uno is not buildJan-Marek Glogowski
2022-01-08Don't build the static uno binaryJan-Marek Glogowski
2022-01-08sp2bv is just used by the ODK on WindowsJan-Marek Glogowski
2021-10-03drop 'using namespace std' in cpputoolsJulien Nabet
2021-09-30loplugin:constmethod handle more casesNoel Grandin
2021-09-23Extend loplugin:stringviewparam to starts/endsWith: cpputoolsStephan Bergmann
2021-07-26cpputools : no need to use fprintf for putting a stringArnaud Versini
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-25const OUString -> const OUStringLiteralMike Kaganski
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-02-23loplugin:refcounting check for managing OWeakObject with raw pointerNoel
2020-12-11Adapt the remaining OUString functions to std string_viewStephan Bergmann
2020-11-11loplugin:stringviewNoel
2020-07-01Upcoming improved loplugin:staticanonymous -> redundantstatic: cpputoolsStephan Bergmann
2019-12-18sal_Char->char in cppcanvas..cuiNoel Grandin
2019-11-22Extend loplugin:external to warn about classesStephan Bergmann
2019-08-31Add version resource to executables where it was missingMike Kaganski
2019-05-13fix wrong SET/QUERY flags passed to uno::ReferenceNoel Grandin
2019-04-20Fix typoAndrea Gelmini
2018-12-28Reduce OUString operations and use indexed getTokenMatteo Casalin
2018-10-19clang-tidy readability-misleading-indentationNoel Grandin
2018-10-09Extend loplugin:redundantinline to catch inline functions w/o external linkageStephan Bergmann
2018-09-17New loplugin:externalStephan Bergmann
2018-07-16Add missing sal/log.hxx headersGabor Kelemen
2017-10-23loplugin:includeform: cpputoolsStephan Bergmann
2017-09-29loplugin:flatten check for throw in then clauseNoel Grandin
2017-09-21loplugin:flatten in connectivity..desktopNoel Grandin
2017-07-13use more OUString::operator== comphelper..cuiNoel Grandin
2017-06-05spelling instanciate -> instantiateNoel Grandin
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky