summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextMarkImportContext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:21:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:32 +0200
commit5ef76efb407a3dba8898a9a9b1b80cc548a94105 (patch)
treec8fdf6379c1ce4bd6a7466cbc5c9576fd38ecbda /xmloff/source/text/XMLTextMarkImportContext.cxx
parent2170e2f230b612c035a1264a1d7a7c45b5d24622 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5896c6b8bf2aa9c7c66ca5f7c50cee1b0738ea0a
Diffstat (limited to 'xmloff/source/text/XMLTextMarkImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLTextMarkImportContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLTextMarkImportContext.cxx b/xmloff/source/text/XMLTextMarkImportContext.cxx
index 8774c47f6aa7..2cb098aba481 100644
--- a/xmloff/source/text/XMLTextMarkImportContext.cxx
+++ b/xmloff/source/text/XMLTextMarkImportContext.cxx
@@ -303,7 +303,7 @@ void XMLTextMarkImportContext::EndElement()
m_rHelper.GetText()->createTextCursorByRange(
xEndRange);
try {
- xInsertionCursor->gotoRange(xStartRange, sal_True);
+ xInsertionCursor->gotoRange(xStartRange, true);
} catch (uno::Exception&) {
OSL_ENSURE(false,
"cannot go to end position of bookmark");
@@ -446,7 +446,7 @@ Reference<XTextContent> XMLTextMarkImportContext::CreateAndInsertMark(
// if inserting marks, bAbsorb==sal_False will cause
// collapsing of the given XTextRange.
rImport.GetTextImport()->GetText()->insertTextContent(rRange,
- xTextContent, sal_True);
+ xTextContent, true);
// xml:id for RDF metadata -- after insertion!
rImport.SetXmlId(xIfc, i_rXmlId);