From d15b4e204598fc7e4c1682c4f10228e217575937 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Dec 2016 09:49:39 +0200 Subject: teach sallogareas plugin to catch inconsistencies Change-Id: I8bcea5ffc74d48148bea78da8c17744e288c069a Reviewed-on: https://gerrit.libreoffice.org/32004 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/dialog/dinfdlg.cxx | 2 +- sfx2/source/dialog/tabdlg.cxx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sfx2/source/dialog') diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 4be6661f4495..4739073e2e17 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -244,7 +244,7 @@ SfxDocumentInfoItem::SfxDocumentInfoItem( const OUString& rFile, // "fix" property? => not a custom property => ignore it! if (!(pProps[i].Attributes & css::beans::PropertyAttribute::REMOVABLE)) { - SAL_WARN( "sfx", "non-removable user-defined property?"); + SAL_WARN( "sfx.dialog", "non-removable user-defined property?"); continue; } diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index ffc821d53baf..d3efaaee90db 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -287,7 +287,7 @@ const SfxPoolItem* SfxTabPage::GetOldItem( const SfxItemSet& rSet, void SfxTabPage::PageCreated( const SfxAllItemSet& /*aSet*/ ) { - SAL_WARN( "sfx", "SfxTabPage::PageCreated should not be called"); + SAL_WARN( "sfx.dialog", "SfxTabPage::PageCreated should not be called"); } void SfxTabPage::ChangesApplied() @@ -357,7 +357,7 @@ void SfxTabDialog::dispose() RTL_TEXTENCODING_UTF8); if (sConfigId.isEmpty()) { - SAL_WARN("sfx.config", "Tabpage needs to be converted to .ui format"); + SAL_WARN("sfx.dialog", "Tabpage needs to be converted to .ui format"); sConfigId = OUString::number(pDataObject->nId); } @@ -661,7 +661,7 @@ void SfxTabDialog::RemoveTabPage( sal_uInt16 nId ) RTL_TEXTENCODING_UTF8); if (sConfigId.isEmpty()) { - SAL_WARN("sfx.config", "Tabpage needs to be converted to .ui format"); + SAL_WARN("sfx.dialog", "Tabpage needs to be converted to .ui format"); sConfigId = OUString::number(pDataObject->nId); } @@ -1064,7 +1064,7 @@ IMPL_LINK( SfxTabDialog, ActivatePageHdl, TabControl *, pTabCtrl, void ) if (!pDataObject) { - SAL_WARN("sfx.config", "Tab Page ID not known, this is pretty serious and needs investigation"); + SAL_WARN("sfx.dialog", "Tab Page ID not known, this is pretty serious and needs investigation"); return; } @@ -1092,7 +1092,7 @@ IMPL_LINK( SfxTabDialog, ActivatePageHdl, TabControl *, pTabCtrl, void ) OUString sConfigId = OStringToOUString(pTabPage->GetConfigId(), RTL_TEXTENCODING_UTF8); if (sConfigId.isEmpty()) { - SAL_WARN("sfx.config", "Tabpage needs to be converted to .ui format"); + SAL_WARN("sfx.dialog", "Tabpage needs to be converted to .ui format"); sConfigId = OUString::number(pDataObject->nId); } SvtViewOptions aPageOpt(E_TABPAGE, sConfigId); -- cgit