diff options
author | Muthu Subramanian <sumuthu@novell.com> | 2011-08-23 15:31:50 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@novell.com> | 2011-08-23 15:32:35 +0530 |
commit | 8542444fd5e38c60de37d21fd5248e2934d02e81 (patch) | |
tree | 947a40bb5bfa108348d6a3de8abd4d551eaef394 /xmloff | |
parent | generate list (diff) | |
download | core-8542444fd5e38c60de37d21fd5248e2934d02e81.tar.gz core-8542444fd5e38c60de37d21fd5248e2934d02e81.zip |
Code review fixes.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/ximpstyl.cxx | 2 |
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 ) |