summaryrefslogtreecommitdiff
path: root/xmloff
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 /xmloff
parent0d1ff2bfc439ff59dd6cec0a6cb6495f4ef2cc54 (diff)
Code review fixes.
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpstyl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index 6ffd56c55805..a22ed8a68e9f 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -1445,7 +1445,7 @@ void SdXMLStylesContext::ImpSetGraphicStyles( uno::Reference< container::XNameAc
{
const SvXMLStyleContext* pStyle = GetStyle(a);
- if(pStyle && pStyle->GetName().getLength() && (nFamily == pStyle->GetFamily())) try
+ if(pStyle && pStyle->GetDisplayName().getLength() && (nFamily == pStyle->GetFamily())) try
{
OUString aStyleName(pStyle->GetDisplayName());
if( nPrefLen )