From c2d1d20927af6f265080f041a9aba04733be26fb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 2 Mar 2021 10:41:47 +0100 Subject: loplugin:loopvartoosmall (clang-cl) "loop index type 'unsigned long' is narrower than length type 'std::vector>::size_type' (aka 'unsigned long long')" Change-Id: I715cb27367c957bebe218371d3813758e4988759 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111809 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- svx/source/tbxctrls/StylesPreviewWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svx/source/tbxctrls/StylesPreviewWindow.cxx b/svx/source/tbxctrls/StylesPreviewWindow.cxx index af151d19a139..f392c2fc90de 100644 --- a/svx/source/tbxctrls/StylesPreviewWindow.cxx +++ b/svx/source/tbxctrls/StylesPreviewWindow.cxx @@ -398,7 +398,7 @@ void StylesPreviewWindow_Base::Update() { UpdateStylesList(); - for (unsigned long i = 0; i < m_aAllStyles.size(); ++i) + for (std::vector>::size_type i = 0; i < m_aAllStyles.size(); ++i) { if (m_aAllStyles[i].first == m_sSelectedStyle || m_aAllStyles[i].second == m_sSelectedStyle) { -- cgit ption value='distro/capgemini/cg-4.1'>distro/capgemini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-09-18Some more WIN32_LEAN_AND_MEANMike Kaganski
2017-03-25Fix typosAndrea Gelmini
2017-03-18Typo: BimapPainter->BitmapPainterJulien Nabet
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
2016-02-09Remove excess newlinesChris Sherlock
2016-02-05Fix typosAndrea Gelmini
2016-01-07cppcheck: noExplicitConstructorCaolán McNamara
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin
2015-10-21remove untyped Link<>Noel Grandin
2015-10-01com::sun::star->css in embeddedobj/Noel Grandin
2015-08-03tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
2015-07-21Miscellaneous typosAdolfo Jayme Barrientos
2015-05-10Use IMPL_LINK_NOARG[_TYPED] where applicableStephan Bergmann
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann
2015-05-10Replace IMPL_STATIC_LINK[_TYPED] with more useful variantsStephan Bergmann
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
2014-11-24typo: unknownAndras Timar
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
2014-08-19java: no need to instantiate String objects directlyNoel Grandin
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
2014-08-14java: remove commented out codeNoel Grandin
2014-08-05java: remove commented out codeNoel Grandin
2014-08-01typo: more then -> more thanTakeshi Abe
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
2014-04-30Many spelling fixes: directories a* - g*.Pedro Giffuni
2014-03-29typo: persistance -> persistenceThomas Arnhold
2014-02-26Remove visual noise from embeddedobjAlexander Wilms
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-02-06Typo: seam(s) -> seem(s)Julien Nabet
2013-12-20typo fixesAndras Timar