From 8a360b3031328c45df4e05f804cbc19b528f6b38 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Apr 2015 12:27:33 +0200 Subject: txtparae_bContainsIllegalCharacters var wants to be of type bool Change-Id: Ie8b481ab1759725ba40e3cf1bb6611d3c058b53b --- xmloff/source/text/txtparae.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 636323acb535..5be4ccc21698 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -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; } -- cgit