tdf#121647: fix regression from 85b3c799ede62a3d7ad0493fc80b629214956601
commit8efb302a446bb319a0793c45076ca6fca288949b
authorXisco Fauli <xiscofauli@libreoffice.org>
Mon, 26 Nov 2018 12:16:08 +0000 (26 13:16 +0100)
committerXisco Faulí <xiscofauli@libreoffice.org>
Mon, 26 Nov 2018 22:01:04 +0000 (26 23:01 +0100)
tree7360aaa4f7763767b21f9bdc7285f7b3ab701a56
parent2bb070f95a05d52cba6fa36450d6317ab883d881
tdf#121647: fix regression from 85b3c799ede62a3d7ad0493fc80b629214956601

the pCP = pCodePairs statement was left behind in

- std::vector<sal_UCS4>::const_iterator itInt = aSupportedRanges.begin();
- for( pCP = pCodePairs; itInt != aSupportedRanges.end(); ++itInt )
-     *(pCP++) = *itInt;
+ for (auto const& supportedRange : aSupportedRanges)
+     *(pCP++) = supportedRange;

Change-Id: Icedf7a4dae224f6b328f924691ec4c6767495389
Reviewed-on: https://gerrit.libreoffice.org/64038
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
vcl/source/font/fontcharmap.cxx