diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-14 09:49:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-15 06:45:14 +0000 |
commit | d15b4e204598fc7e4c1682c4f10228e217575937 (patch) | |
tree | 1173b2725abac5f06bfd2e28965a95256283e6a4 /xmloff/source/style | |
parent | 14a0d26d6ae0ee59a685c254ec235fea81636475 (diff) |
teach sallogareas plugin to catch inconsistencies
Change-Id: I8bcea5ffc74d48148bea78da8c17744e288c069a
Reviewed-on: https://gerrit.libreoffice.org/32004
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/style/xmlstyle.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index 11c05c6ee154..9a3344f0f010 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -1111,7 +1111,7 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt eType = XML_BOOLEAN_STYLE; break; } - SAL_WARN_IF( eType == XML_TOKEN_INVALID, "xmloff", "unknown format type" ); + SAL_WARN_IF( eType == XML_TOKEN_INVALID, "xmloff.style", "unknown format type" ); OUString sAttrValue; bool bUserDef = ( rFormat.GetType() & css::util::NumberFormat::DEFINED ); @@ -1883,7 +1883,7 @@ OUString SvXMLNumFmtExport::GetStyleName( sal_uInt32 nKey ) void SvXMLNumFmtExport::SetUsed( sal_uInt32 nKey ) { - SAL_WARN_IF( pFormatter == nullptr, "xmloff", "missing formatter" ); + SAL_WARN_IF( pFormatter == nullptr, "xmloff.style", "missing formatter" ); if( !pFormatter ) return; @@ -1919,7 +1919,7 @@ sal_uInt32 SvXMLNumFmtExport::ForceSystemLanguage( sal_uInt32 nKey ) const SvNumberformat* pFormat = lcl_GetFormat( pFormatter, nKey ); if( pFormat != nullptr ) { - SAL_WARN_IF( pFormatter == nullptr, "xmloff", "format without formatter?" ); + SAL_WARN_IF( pFormatter == nullptr, "xmloff.style", "format without formatter?" ); sal_Int32 nErrorPos; short nType = pFormat->GetType(); diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index 0c25d3848c08..a08bcc7fc3f5 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -297,7 +297,7 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext( sal_uIn if( !pIndices && bCreateIndex && !aStyles.empty() ) { pIndices = o3tl::make_unique<IndicesType>(aStyles.begin(), aStyles.end()); - SAL_WARN_IF(pIndices->size() != aStyles.size(), "xmloff", "Here is a duplicate Style"); + SAL_WARN_IF(pIndices->size() != aStyles.size(), "xmloff.style", "Here is a duplicate Style"); #if OSL_DEBUG_LEVEL > 0 SAL_WARN_IF(0 != m_nIndexCreated, "xmloff.style", "Performance warning: sdbcx::Index created multiple times"); |