summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-16 21:38:13 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-17 23:27:42 +0100
commit91fe68f4c2d66dc34b99386f824abdd6c09f6bb1 (patch)
tree39621784f14befee46b01812ff546920343d4945 /sfx2/source/doc
parent28c9559f64d1d4ff2d0e58d8ecac621e8c7dee90 (diff)
Replaced SAL_INFO with SAL_WARN were applicable.
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/doctempl.cxx8
-rw-r--r--sfx2/source/doc/doctemplates.cxx18
-rw-r--r--sfx2/source/doc/objstor.cxx2
-rw-r--r--sfx2/source/doc/oleprops.cxx10
4 files changed, 21 insertions, 17 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 61ca3f6bacac..f140aa6a4eec 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -664,7 +664,7 @@ sal_Bool SfxDocumentTemplates::CopyOrMove
if ( nSourceRegion == nTargetRegion )
{
- SAL_INFO( "sfx2", "Don't know, what to do!" );
+ SAL_WARN( "sfx2.doc", "Don't know, what to do!" );
return sal_False;
}
@@ -1694,7 +1694,7 @@ const OUString& DocTempl_EntryData_Impl::GetTargetURL()
}
else
{
- SAL_INFO( "sfx2", "GetTargetURL(): Could not create hierarchy content!" );
+ SAL_WARN( "sfx2.doc", "GetTargetURL(): Could not create hierarchy content!" );
}
}
@@ -1857,7 +1857,7 @@ const OUString& RegionData_Impl::GetTargetURL()
}
else
{
- SAL_INFO( "sfx2", "GetTargetURL(): Could not create hierarchy content!" );
+ SAL_WARN( "sfx2.doc", "GetTargetURL(): Could not create hierarchy content!" );
}
}
@@ -2171,7 +2171,7 @@ void SfxDocTemplate_Impl::Rescan()
}
catch( const Exception& )
{
- SAL_INFO( "sfx2", "SfxDocTemplate_Impl::Rescan: caught an exception while doing the update!" );
+ SAL_WARN( "sfx2.doc", "SfxDocTemplate_Impl::Rescan: caught an exception while doing the update!" );
}
}
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 923c18c5e15f..f620bc3b72d8 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -489,7 +489,7 @@ void SfxDocTplService_Impl::init_Impl()
}
else
{
- SAL_INFO( "sfx2", "init_Impl(): Could not create root" );
+ SAL_WARN( "sfx2.doc", "init_Impl(): Could not create root" );
}
mbIsInitialized = bIsInitialized;
@@ -839,11 +839,11 @@ sal_Bool SfxDocTplService_Impl::createFolder( const OUString& rNewFolderURL,
}
catch( RuntimeException& )
{
- SAL_INFO( "sfx2", "createFolder(): got runtime exception" );
+ SAL_WARN( "sfx2.doc", "createFolder(): got runtime exception" );
}
catch( Exception& )
{
- SAL_INFO( "sfx2", "createFolder(): Could not create new folder" );
+ SAL_WARN( "sfx2.doc", "createFolder(): Could not create new folder" );
}
}
else if ( bCreateParent )
@@ -1042,8 +1042,12 @@ sal_Bool SfxDocTplService_Impl::setProperty( Content& rContent,
xProperties->addProperty( rPropName, PropertyAttribute::MAYBEVOID, rPropValue );
}
catch( PropertyExistException& ) {}
- catch( IllegalTypeException& ) { SAL_INFO( "sfx2", "IllegalTypeException" ); }
- catch( IllegalArgumentException& ) { SAL_INFO( "sfx2", "IllegalArgumentException" ); }
+ catch( IllegalTypeException& ) {
+ SAL_WARN( "sfx2.doc", "IllegalTypeException" );
+ }
+ catch( IllegalArgumentException& ) {
+ SAL_WARN( "sfx2.doc", "IllegalArgumentException" );
+ }
}
}
@@ -2466,7 +2470,7 @@ void SfxDocTplService_Impl::addHierGroup( GroupList_Impl& rList,
}
catch ( ContentCreationException& )
{
- SAL_INFO( "sfx2", "addHierGroup: ContentCreationException" );
+ SAL_WARN( "sfx2.doc", "addHierGroup: ContentCreationException" );
}
catch ( Exception& ) {}
@@ -2499,7 +2503,7 @@ void SfxDocTplService_Impl::addHierGroup( GroupList_Impl& rList,
sal_Bool bDocHasTitle = sal_False;
if( !getTitleFromURL( aTargetDir, aTmpTitle, aType, bDocHasTitle ) )
{
- SAL_INFO( "sfx2", "addHierGroup(): template of alien format" );
+ SAL_WARN( "sfx2.doc", "addHierGroup(): template of alien format" );
continue;
}
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 7003c0dfe92a..a4f165de5c1f 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2897,7 +2897,7 @@ sal_Int16 SfxObjectShell::QueryHiddenInformation( HiddenWarningFact eFact, Windo
}
default:
{
- SAL_INFO( "sfx2", "SfxObjectShell::DetectHiddenInformation(): what fact?" );
+ SAL_WARN( "sfx2.doc", "SfxObjectShell::DetectHiddenInformation(): what fact?" );
}
}
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx
index 42250f87ccc9..91d9c5bce5ac 100644
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -687,7 +687,7 @@ SfxOleThumbnailProperty::SfxOleThumbnailProperty(
void SfxOleThumbnailProperty::ImplLoad( SvStream& )
{
- SAL_INFO( "sfx2", "SfxOleThumbnailProperty::ImplLoad - not implemented" );
+ SAL_WARN( "sfx2.doc", "SfxOleThumbnailProperty::ImplLoad - not implemented" );
SetError( SVSTREAM_INVALID_ACCESS );
}
@@ -721,7 +721,7 @@ void SfxOleThumbnailProperty::ImplSave( SvStream& rStrm )
}
else
{
- SAL_INFO( "sfx2", "SfxOleThumbnailProperty::ImplSave - invalid thumbnail property" );
+ SAL_WARN( "sfx2.doc", "SfxOleThumbnailProperty::ImplSave - invalid thumbnail property" );
SetError( SVSTREAM_INVALID_ACCESS );
}
}
@@ -737,7 +737,7 @@ SfxOleBlobProperty::SfxOleBlobProperty( sal_Int32 nPropId,
void SfxOleBlobProperty::ImplLoad( SvStream& )
{
- SAL_INFO( "sfx2", "SfxOleBlobProperty::ImplLoad - not implemented" );
+ SAL_WARN( "sfx2.doc", "SfxOleBlobProperty::ImplLoad - not implemented" );
SetError( SVSTREAM_INVALID_ACCESS );
}
@@ -746,7 +746,7 @@ void SfxOleBlobProperty::ImplSave( SvStream& rStrm )
if (IsValid()) {
rStrm.Write( mData.getConstArray(), mData.getLength() );
} else {
- SAL_INFO( "sfx2", "SfxOleBlobProperty::ImplSave - invalid BLOB property" );
+ SAL_WARN( "sfx2.doc", "SfxOleBlobProperty::ImplSave - invalid BLOB property" );
SetError( SVSTREAM_INVALID_ACCESS );
}
}
@@ -1320,7 +1320,7 @@ const SvGlobalName& SfxOlePropertySet::GetSectionGuid( SfxOleSectionType eSectio
case SECTION_GLOBAL: return saGlobalGuid;
case SECTION_BUILTIN: return saBuiltInGuid;
case SECTION_CUSTOM: return saCustomGuid;
- default: SAL_INFO( "sfx2", "SfxOlePropertySet::GetSectionGuid - unknown section type" );
+ default: SAL_WARN( "sfx2.doc", "SfxOlePropertySet::GetSectionGuid - unknown section type" );
}
return saEmptyGuid;
}