summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/linkmgr2.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 18:30:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:13 +0200
commitd6690c1cae0264dccd4b663206284a450c7d5733 (patch)
tree7dcb036d3a22719cf758c0f57107d3e223f283ac /sfx2/source/appl/linkmgr2.cxx
parenta32478a49277b9dd466d41773c641023792f4ece (diff)
bFound var wants to be of type bool
Change-Id: I106f8414fcf28fe314b14156d004bdb0cf20f023
Diffstat (limited to 'sfx2/source/appl/linkmgr2.cxx')
-rw-r--r--sfx2/source/appl/linkmgr2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx
index 31ccadaa9513..b39ab71d1e1e 100644
--- a/sfx2/source/appl/linkmgr2.cxx
+++ b/sfx2/source/appl/linkmgr2.cxx
@@ -108,7 +108,7 @@ void LinkManager::CloseCachedComps()
void LinkManager::Remove( SvBaseLink *pLink )
{
// No duplicate links inserted
- int bFound = sal_False;
+ bool bFound = false;
for( size_t n = 0; n < aLinkTbl.size(); )
{
SvBaseLinkRef* pTmp = aLinkTbl[ n ];
@@ -117,7 +117,7 @@ void LinkManager::Remove( SvBaseLink *pLink )
(*pTmp)->Disconnect();
(*pTmp)->SetLinkManager( NULL );
(*pTmp).Clear();
- bFound = sal_True;
+ bFound = true;
}
// Remove empty ones if they exist