[Libreoffice-commits] core.git: editeng/source
Stephan Bergmann
sbergman at redhat.com
Wed Mar 27 09:28:39 PDT 2013
editeng/source/rtf/rtfitem.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 129836c99d860c6ee4eac5167fce0326ba03f42f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 27 17:26:23 2013 +0100
-Werror=unused-macros
Change-Id: I70813300c9935435de62a6a1347530aed8dfdc08
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 7fea3eb..d397c76 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -1220,8 +1220,9 @@ ATTR_SETEMPHASIS:
if (nToken == BRACELEFT && !bFirstToken)
{
nToken = GetNextToken();
- DBG_ASSERT( nToken == BRACERIGHT,
- "} did not follow { as expected\n");
+ SAL_WARN_IF( nToken != BRACERIGHT,
+ "editeng",
+ "} did not follow { as expected");
}
}
else if( (nToken & ~(0xff| RTF_SWGDEFS)) == RTF_BRDRDEF)
More information about the Libreoffice-commits
mailing list