summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@novell.com>2011-08-23 15:31:50 +0530
committerMuthu Subramanian <sumuthu@novell.com>2011-08-23 15:32:35 +0530
commit8542444fd5e38c60de37d21fd5248e2934d02e81 (patch)
tree947a40bb5bfa108348d6a3de8abd4d551eaef394 /svl
parent0d1ff2bfc439ff59dd6cec0a6cb6495f4ef2cc54 (diff)
Code review fixes.
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/style.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index be5c51e38ab3..1250451a2db1 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -283,7 +283,7 @@ sal_Bool SfxStyleSheetBase::SetParent( const XubString& rName )
if( aName.Len() )
while(pIter)
{
- if(pIter->GetName() == aName && aName != rName)
+ if(pIter->GetName() == aName)
return sal_False;
pIter = rPool.Find(pIter->GetParent(), nFamily);
}