xmloff/source/style/xmlstyle.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit f4578ce18412de89f07ed31c83d04994542ad0e9 Author: Michael Stahl <mst...@redhat.com> Date: Mon May 18 14:56:21 2015 +0200 xmloff: fix non-debug builds Change-Id: I5f6ceaa8726657cc6be43fbdb024e8d308c47171 diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index bd32909..341737c9 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -329,11 +329,11 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext( sal_uIn if( !pIndices && bCreateIndex && !aStyles.empty() ) { - SAL_WARN_IF(0 != m_nIndexCreated, "xmloff.style", - "Performance warning: sdbcx::Index created multiple times"); pIndices = new IndicesType(aStyles.begin(), aStyles.end()); SAL_WARN_IF(pIndices->size() != aStyles.size(), "xmloff", "Here is a duplicate Style"); #if OSL_DEBUG_LEVEL > 0 + SAL_WARN_IF(0 != m_nIndexCreated, "xmloff.style", + "Performance warning: sdbcx::Index created multiple times"); ++m_nIndexCreated; #endif } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits