summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoredline.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:20:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:27 +0200
commit2c6840eb95eb925be78f2b5279594ef5c71c2e98 (patch)
treee51faa80bc33355f2224311f8b7ec0f10ef2da0d /sw/source/core/unocore/unoredline.cxx
parentbb34461d280d499d93ef982e9b7391fd791ffa35 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8
Diffstat (limited to 'sw/source/core/unocore/unoredline.cxx')
-rw-r--r--sw/source/core/unocore/unoredline.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx
index bd4d51bae2a2..20b9f4cfd470 100644
--- a/sw/source/core/unocore/unoredline.cxx
+++ b/sw/source/core/unocore/unoredline.cxx
@@ -150,8 +150,8 @@ uno::Reference<text::XTextCursor> SwXRedlineText::createTextCursorByRange(
throw( uno::RuntimeException, std::exception )
{
uno::Reference<text::XTextCursor> xCursor = createTextCursor();
- xCursor->gotoRange(aTextRange->getStart(), sal_False);
- xCursor->gotoRange(aTextRange->getEnd(), sal_True);
+ xCursor->gotoRange(aTextRange->getStart(), false);
+ xCursor->gotoRange(aTextRange->getEnd(), true);
return xCursor;
}
@@ -172,7 +172,7 @@ uno::Type SwXRedlineText::getElementType( ) throw(uno::RuntimeException, std::e
sal_Bool SwXRedlineText::hasElements( ) throw(uno::RuntimeException, std::exception)
{
- return sal_True; // we always have a content index
+ return true; // we always have a content index
}
SwXRedlinePortion::SwXRedlinePortion(SwRangeRedline const& rRedline,