sfx2/source/doc/doctemplates.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit bde3cfd8b1fcb38e024c8bc27ca0c6d07c744fb3 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Jul 21 12:45:20 2017 +0100 call to non-constexpre function Change-Id: I31f5a23e0f328273b8a165e58863b771853f3d3c diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 8d2baa83d549..71402d8b86f4 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -503,8 +503,7 @@ void SfxDocTplService_Impl::readFolderList() { SolarMutexGuard aGuard; - constexpr size_t nCount = std::min(SAL_N_ELEMENTS(TEMPLATE_SHORT_NAMES_ARY), SAL_N_ELEMENTS(TEMPLATE_LONG_NAMES_ARY)); - + const size_t nCount = std::min(SAL_N_ELEMENTS(TEMPLATE_SHORT_NAMES_ARY), SAL_N_ELEMENTS(TEMPLATE_LONG_NAMES_ARY)); for (size_t i = 0; i < nCount; ++i) { NamePair_Impl* pPair = new NamePair_Impl;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits