summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-28 12:27:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 13:44:19 +0200
commit8a360b3031328c45df4e05f804cbc19b528f6b38 (patch)
tree482404e4ddfea41b670b229a437a4105a6cb2619 /xmloff/source
parent74f150fe1b2671d4c4c95aebe510f37ff88038d7 (diff)
txtparae_bContainsIllegalCharacters var wants to be of type bool
Change-Id: Ie8b481ab1759725ba40e3cf1bb6611d3c058b53b
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/txtparae.cxx6
1 files changed, 3 insertions, 3 deletions
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;
}