summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unoatxt.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/uibase/uno/unoatxt.cxx
parentbb34461d280d499d93ef982e9b7391fd791ffa35 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8
Diffstat (limited to 'sw/source/uibase/uno/unoatxt.cxx')
-rw-r--r--sw/source/uibase/uno/unoatxt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uno/unoatxt.cxx b/sw/source/uibase/uno/unoatxt.cxx
index 51511337f51a..7b6ef8688014 100644
--- a/sw/source/uibase/uno/unoatxt.cxx
+++ b/sw/source/uibase/uno/unoatxt.cxx
@@ -95,7 +95,7 @@ uno::Type SwXAutoTextContainer::getElementType() throw( uno::RuntimeException, s
sal_Bool SwXAutoTextContainer::hasElements() throw( uno::RuntimeException, std::exception )
{
// At least standard should always exists!
- return sal_True;
+ return true;
}
uno::Any SwXAutoTextContainer::getByName(const OUString& GroupName)
@@ -139,8 +139,8 @@ sal_Bool SwXAutoTextContainer::hasByName(const OUString& Name)
SolarMutexGuard aGuard;
OUString sGroupName( pGlossaries->GetCompleteGroupName( Name ) );
if(!sGroupName.isEmpty())
- return sal_True;
- return sal_False;
+ return true;
+ return false;
}
uno::Reference< text::XAutoTextGroup > SwXAutoTextContainer::insertNewByName(