diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-21 13:20:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 13:21:03 +0200 |
commit | ca771c7e27ddcc5406dbee781f72ad1d7e213b29 (patch) | |
tree | ab1cbc59637ecc7e29888c09e84858991c8c7b0b /cui | |
parent | 6dd392621891e159e2ccbc96453028f3b8ff2b7e (diff) |
fix windows build
after my commit
e1af7f0c438bc242e4562aa0286c99787b5ad544
"clang-tidy modernize-loop-convert in c*"
Change-Id: Icbc8c30186b0ea33933365951718dfad3fd7c4e2
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuifmsearch.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index e7d30c63db80..77905dda2b6b 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -120,8 +120,10 @@ FmSearchDialog::FmSearchDialog(vcl::Window* pParent, const OUString& sInitialTex DBG_ASSERT(comphelper::string::getTokenCount(fmscInitial.strUsedFields, ';') == (sal_Int32)fmscInitial.arrFields.size(), "FmSearchDialog::FmSearchDialog : invalid data supplied by ContextSupplied !"); #if (OSL_DEBUG_LEVEL > 1) || defined DBG_UTIL - for (Reference<XInterface> & arrField : fmscInitial.arrFields) + for (const Reference<XInterface> & arrField : fmscInitial.arrFields) + { DBG_ASSERT(arrField.is(), "FmSearchDialog::FmSearchDialog : invalid data supplied by ContextSupplier !"); + } #endif // (OSL_DEBUG_LEVEL > 1) || DBG_UTIL for ( ::std::vector< OUString >::const_iterator context = _rContexts.begin(); |