summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-05-18 14:56:21 +0200
committerMichael Stahl <mstahl@redhat.com>2015-05-18 14:56:21 +0200
commitf4578ce18412de89f07ed31c83d04994542ad0e9 (patch)
treeb6d2cb36f6b76d12c5c5d9209dc9d30b8450ca8a /xmloff
parent4b08e98630f3ff81879b787f6597f1f8401bbad8 (diff)
xmloff: fix non-debug builds
Change-Id: I5f6ceaa8726657cc6be43fbdb024e8d308c47171
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlstyle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index bd3290991b3e..341737c9b5a6 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
}