summaryrefslogtreecommitdiff
path: root/framework/source/services
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:02:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:27 +0100
commit2462159d7b49f0091727ea13ea733d1a8c436bf7 (patch)
tree53fbdd7e34241ed32340a197045c99afc3aeb4d6 /framework/source/services
parent99e7071f2e35d87641274552d708bd521f50b0f6 (diff)
bool improvements
Change-Id: I754b47013d8f1aa3ecf6204fbe926a438887639d
Diffstat (limited to 'framework/source/services')
-rw-r--r--framework/source/services/substitutepathvars.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 7839c1ba6b57..a7a44f05e8fe 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -259,7 +259,7 @@ const OUString& SubstitutePathVariables_Impl::GetYPDomainName()
if ( !m_bYPDomainRetrieved )
{
m_aYPDomain = NetworkDomain::GetYPDomainName().toAsciiLowerCase();
- m_bYPDomainRetrieved = sal_True;
+ m_bYPDomainRetrieved = true;
}
return m_aYPDomain;
@@ -284,7 +284,7 @@ const OUString& SubstitutePathVariables_Impl::GetDNSDomainName()
else
m_aDNSDomain = "";
- m_bDNSDomainRetrieved = sal_True;
+ m_bDNSDomainRetrieved = true;
}
return m_aDNSDomain;
@@ -295,7 +295,7 @@ const OUString& SubstitutePathVariables_Impl::GetNTDomainName()
if ( !m_bNTDomainRetrieved )
{
m_aNTDomain = NetworkDomain::GetNTDomainName().toAsciiLowerCase();
- m_bNTDomainRetrieved = sal_True;
+ m_bNTDomainRetrieved = true;
}
return m_aNTDomain;
@@ -314,7 +314,7 @@ const OUString& SubstitutePathVariables_Impl::GetHostName()
bool SubstitutePathVariables_Impl::FilterRuleSet( const SubstituteRuleVector& aRuleSet, SubstituteRule& aActiveRule )
{
- bool bResult = sal_False;
+ bool bResult = false;
if ( !aRuleSet.empty() )
{
@@ -837,7 +837,7 @@ throw ( NoSuchElementException, RuntimeException )
sal_Int32 nEndPosition = aWorkText.indexOf( ')', nPosition );
if ( nEndPosition != -1 )
nLength = nEndPosition - nPosition + 1;
- bVarNotSubstituted = sal_False;
+ bVarNotSubstituted = false;
++nDepth;
}
}