It seems (in the past) some hackers have had some bouncy ';' keys and doubled up their ';;'s at the end of statements. In C++ this is meaningless outside a for() construct, so: git grep ';;' | grep '\.[ch]xx' | grep -v 'for *(' ... 322 xmloff/source/text/txtexppr.cxx: pHoriOrientRelFrameState->mnIndex = -1;; 323 xmloff/source/text/txtexppr.cxx: pShapeHoriOrientRelFrameState->mnIndex = -1;; 324 xmlsecurity/source/xmlsec/saxhelper.cxx: sal_Int32 nLength = aAttributes.getLength();; Should be a very easy entry into cleaning things up I hope :-)
Assigned to myself.
Created attachment 54430 [details] git patch for the double semicolon format issue
Hi Jesse, thanks for the patch - it looks like you were racing Gustavo (sorry about that Gustavo). I reviewed it - seems there were three or so for() ;;'s that happened to be split into new lines that I removed- but otherwise this looks nice. Thanks for the cleanup; just test-building, and will push. Please can you send a mail of the form: "all my contributions are licensed under the MPL/LGPLv3+ dual license" to the developers mailing list: libreoffice@lists.freedesktop.org, so we can list you here: http://wiki.documentfoundation.org/Development/Developers thanks ! :-)
Gustavo - it seems there are still a couple in the headers if you could take those: $ git grep ';;' | grep \.hxx desktop/win32/source/extendloaderenvironment.hxx: for (;;) { registry/inc/registry/registry.hxx: return sRet;; sw/inc/modcfg.hxx: bHTML ? aWebTableConfig.SetModified() : aTableConfig.SetModified();;} I'd love to get you into the credits too :-)
All of us are winners in this race! Thanks Jesse! Nice work! :) Thanks for the mentoring Michael! I'm learning a lot in the last months! I'll send the little patch today!
Created attachment 54461 [details] Additional fix for EasyHack FDO43058, remove extra semicolons
> All of us are winners in this race ! Nice attitude :-) thanks - I pushed your patch too (removing the for(;;) -> for(;)) fragment ';;' has a meaning inside a for. I guess the same request with the MPL/LGPLv3+ mail to the developers list applies to you Gustavo, it'd be great to get that done - then what's next ? :-)
Migrating Whiteboard tags to Keywords: (EasyHack,DifficultyBeginner,SkillCpp,TopicCleanup) [NinjaEdit]