diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/prstylei.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx index 7870e02f5150..bc00a86c944c 100644 --- a/xmloff/source/style/prstylei.cxx +++ b/xmloff/source/style/prstylei.cxx @@ -368,7 +368,10 @@ void XMLPropStyleContext::CreateAndInsert( bool bOverwrite ) Reference < XNameContainer > xFamilies = pSvXMLStylesContext->GetStylesContainer( GetFamily() ); if( !xFamilies.is() ) + { + SAL_WARN("xmloff", "no styles container for family " << GetFamily()); return; + } bool bNew = false; if( xFamilies->hasByName( rName ) ) |