diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-05-14 15:12:45 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-05-14 20:17:15 +0900 |
commit | 9adf9a2d63927ef3e3573ce062bb741659534422 (patch) | |
tree | 0c9a7f812d48d4420f4ec129f10e918c8d060b4a /framework | |
parent | 1136925b2377925e4f6b83c4aeb2374e1d5bf32f (diff) |
sal_Int*/sal_uInt* to bool
Change-Id: I133445673895e26d6f19a7843f005dc13870f9ca
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index cdb13abebaf3..eef36dd24bd8 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -790,7 +790,7 @@ throw ( NoSuchElementException, RuntimeException ) // Search for first occure of "$(...". sal_Int32 nDepth = 0; - sal_Int32 bSubstitutionCompleted = sal_False; + bool bSubstitutionCompleted = false; sal_Int32 nPosition = aWorkText.indexOf( m_aVarStart ); // = first position of "$(" in string sal_Int32 nLength = 0; // = count of letters from "$(" to ")" in string bool bVarNotSubstituted = false; @@ -907,7 +907,7 @@ throw ( NoSuchElementException, RuntimeException ) nPosition = aWorkText.indexOf( m_aVarStart ); if ( nPosition == -1 ) { - bSubstitutionCompleted = sal_True; + bSubstitutionCompleted = true; break; // All variables are substituted } else |