summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-13 09:00:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-13 09:03:27 +0200
commite9c14873ecdc3728135aa26f21d6df468ea0b623 (patch)
tree36bf2c2d75c05aac2c1b37a2273cd73b1442e4e6 /sfx2
parentde9333d9b6f87d6f6d13e5ddf1fc65b8fef635e8 (diff)
loplugin:sallogareas
Change-Id: If054c98f887b62adaf6c73ee35e664507a69b6df
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/app.cxx2
-rw-r--r--sfx2/source/appl/appdde.cxx6
-rw-r--r--sfx2/source/bastyp/bitset.cxx2
-rw-r--r--sfx2/source/control/minfitem.cxx2
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx2
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
-rw-r--r--sfx2/source/doc/doctempl.cxx4
-rw-r--r--sfx2/source/doc/guisaveas.cxx4
-rw-r--r--sfx2/source/doc/objxtor.cxx10
-rw-r--r--sfx2/source/view/frame.cxx2
10 files changed, 18 insertions, 18 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 3657c455ded2..55b2fc5dd68a 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -185,7 +185,7 @@ SfxApplication::SfxApplication()
aStr.append(static_cast<sal_Int32>(GetDdeService()->GetError()));
else
aStr.append('?');
- SAL_WARN( "sfx2.appl", aStr.getStr() );
+ SAL_WARN( "sfx.appl", aStr.getStr() );
}
#else
(void)bOk;
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 4e59af89f587..ffa7930772ea 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -92,15 +92,15 @@ namespace
}
catch( const ucb::CommandAbortedException& )
{
- SAL_INFO( "sfx2.appl", "CommandAbortedException" );
+ SAL_INFO( "sfx.appl", "CommandAbortedException" );
}
catch( const ucb::IllegalIdentifierException& )
{
- SAL_INFO( "sfx2.appl", "IllegalIdentifierException" );
+ SAL_INFO( "sfx.appl", "IllegalIdentifierException" );
}
catch( const ucb::ContentCreationException& )
{
- SAL_INFO( "sfx2.appl", "IllegalIdentifierException" );
+ SAL_INFO( "sfx.appl", "IllegalIdentifierException" );
}
catch( const uno::Exception& )
{
diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx
index 5f1c3bda5278..d03a7d22da9c 100644
--- a/sfx2/source/bastyp/bitset.cxx
+++ b/sfx2/source/bastyp/bitset.cxx
@@ -107,7 +107,7 @@ sal_uInt16 IndexBitSet::GetFreeIndex()
*this|=i;
return i;
}
- SAL_WARN( "sfx2", "IndexBitSet enthaelt mehr als USHRT_MAX Eintraege");
+ SAL_WARN( "sfx", "IndexBitSet enthaelt mehr als USHRT_MAX Eintraege");
return 0;
}
diff --git a/sfx2/source/control/minfitem.cxx b/sfx2/source/control/minfitem.cxx
index ffc352b5500a..d7eeb624e454 100644
--- a/sfx2/source/control/minfitem.cxx
+++ b/sfx2/source/control/minfitem.cxx
@@ -19,7 +19,7 @@
#include <sfx2/minfitem.hxx>
-SfxPoolItem* SfxMacroInfoItem::CreateDefault() { SAL_WARN( "sfx2", "No SfxMacroInfItem factory available"); return nullptr; }
+SfxPoolItem* SfxMacroInfoItem::CreateDefault() { SAL_WARN( "sfx", "No SfxMacroInfItem factory available"); return nullptr; }
SfxMacroInfoItem::SfxMacroInfoItem(
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 2c5bad677618..bad13335e1ab 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -245,7 +245,7 @@ SfxDocumentInfoItem::SfxDocumentInfoItem( const OUString& rFile,
// "fix" property? => not a custom property => ignore it!
if (!(pProps[i].Attributes & css::beans::PropertyAttribute::REMOVABLE))
{
- SAL_WARN( "sfx2", "non-removable user-defined property?");
+ SAL_WARN( "sfx", "non-removable user-defined property?");
continue;
}
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 9159ee2656f1..c5be37865e7f 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -285,7 +285,7 @@ const SfxPoolItem* SfxTabPage::GetOldItem( const SfxItemSet& rSet,
void SfxTabPage::PageCreated( const SfxAllItemSet& /*aSet*/ )
{
- SAL_WARN( "sfx2", "SfxTabPage::PageCreated should not be called");
+ SAL_WARN( "sfx", "SfxTabPage::PageCreated should not be called");
}
void SfxTabPage::ChangesApplied()
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 458b4ec2bee1..b39f1094412d 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -867,12 +867,12 @@ bool SfxDocumentTemplates::CopyFrom
}
else
{
- SAL_WARN( "sfx2", "CopyFrom(): The content should contain target URL!" );
+ SAL_WARN( "sfx", "CopyFrom(): The content should contain target URL!" );
}
}
else
{
- SAL_WARN( "sfx2", "CopyFrom(): The content just was created!" );
+ SAL_WARN( "sfx", "CopyFrom(): The content just was created!" );
}
}
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 4a8e6d075468..6a4010260947 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -140,7 +140,7 @@ sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode )
else if ( nStoreMode == SAVEASREMOTE_REQUESTED )
nResult = SID_SAVEASREMOTE;
else {
- SAL_WARN( "sfx2", "Unacceptable slot name is provided!\n" );
+ SAL_WARN( "sfx", "Unacceptable slot name is provided!\n" );
}
return nResult;
@@ -1597,7 +1597,7 @@ bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >& xMo
}
else
{
- SAL_WARN( "sfx2", "This code must be unreachable!\n" );
+ SAL_WARN( "sfx", "This code must be unreachable!\n" );
throw task::ErrorCodeIOException(
"SfxStoringHelper::GUIStoreModel: ERRCODE_IO_INVALIDPARAMETER",
uno::Reference< uno::XInterface >(), ERRCODE_IO_INVALIDPARAMETER);
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 02aff11b03f2..8c59eece176c 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -1124,7 +1124,7 @@ void SfxObjectShell::SetInitialized_Impl( const bool i_fromInitNew )
bool SfxObjectShell::IsChangeRecording() const
{
// currently this function needs to be overwritten by Writer and Calc only
- SAL_WARN( "sfx2", "function not implemented" );
+ SAL_WARN( "sfx", "function not implemented" );
return false;
}
@@ -1132,7 +1132,7 @@ bool SfxObjectShell::IsChangeRecording() const
bool SfxObjectShell::HasChangeRecordProtection() const
{
// currently this function needs to be overwritten by Writer and Calc only
- SAL_WARN( "sfx2", "function not implemented" );
+ SAL_WARN( "sfx", "function not implemented" );
return false;
}
@@ -1140,21 +1140,21 @@ bool SfxObjectShell::HasChangeRecordProtection() const
void SfxObjectShell::SetChangeRecording( bool /*bActivate*/ )
{
// currently this function needs to be overwritten by Writer and Calc only
- SAL_WARN( "sfx2", "function not implemented" );
+ SAL_WARN( "sfx", "function not implemented" );
}
void SfxObjectShell::SetProtectionPassword( const OUString & /*rPassword*/ )
{
// currently this function needs to be overwritten by Writer and Calc only
- SAL_WARN( "sfx2", "function not implemented" );
+ SAL_WARN( "sfx", "function not implemented" );
}
bool SfxObjectShell::GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > & /*rPasswordHash*/ )
{
// currently this function needs to be overwritten by Writer and Calc only
- SAL_WARN( "sfx2", "function not implemented" );
+ SAL_WARN( "sfx", "function not implemented" );
return false;
}
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index d8cb2bf8fa65..009a29a42880 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -76,7 +76,7 @@ using namespace ::com::sun::star::util;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::container;
-SfxPoolItem* SfxUsrAnyItem::CreateDefault() { SAL_WARN( "sfx2", "No SfxUsrAnyItem factory available"); return nullptr; }
+SfxPoolItem* SfxUsrAnyItem::CreateDefault() { SAL_WARN( "sfx", "No SfxUsrAnyItem factory available"); return nullptr; }
SfxPoolItem* SfxUnoFrameItem::CreateDefault()
{