Kaydet (Commit) bde3cfd8 authored tarafından Caolán McNamara's avatar Caolán McNamara

call to non-constexpre function

Change-Id: I31f5a23e0f328273b8a165e58863b771853f3d3c
üst 8b486c04
...@@ -503,8 +503,7 @@ void SfxDocTplService_Impl::readFolderList() ...@@ -503,8 +503,7 @@ void SfxDocTplService_Impl::readFolderList()
{ {
SolarMutexGuard aGuard; 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) for (size_t i = 0; i < nCount; ++i)
{ {
NamePair_Impl* pPair = new NamePair_Impl; NamePair_Impl* pPair = new NamePair_Impl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment