Kaydet (Commit) 8a360b30 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

txtparae_bContainsIllegalCharacters var wants to be of type bool

Change-Id: Ie8b481ab1759725ba40e3cf1bb6611d3c058b53b
üst 74f150fe
......@@ -248,7 +248,7 @@ namespace xmloff
}
#ifdef DBG_UTIL
static int txtparae_bContainsIllegalCharacters = sal_False;
static bool txtparae_bContainsIllegalCharacters = false;
#endif
// The following map shows which property values are required:
......@@ -1336,7 +1336,7 @@ XMLTextParagraphExport::~XMLTextParagraphExport()
delete pListElements;
delete pListAutoPool;
#ifdef DBG_UTIL
txtparae_bContainsIllegalCharacters = sal_False;
txtparae_bContainsIllegalCharacters = false;
#endif
PopTextListsHelper();
DBG_ASSERT( maTextListsHelperStack.empty(),
......@@ -3443,7 +3443,7 @@ void XMLTextParagraphExport::exportText( const OUString& rText,
OSL_ENSURE( txtparae_bContainsIllegalCharacters ||
cChar >= 0x0020,
"illegal character in text content" );
txtparae_bContainsIllegalCharacters = sal_True;
txtparae_bContainsIllegalCharacters = true;
#endif
bExpCharAsText = false;
}
......
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