diff options
author | Marcel Metz <mmetz@adrian-broher.net> | 2012-01-16 21:38:13 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-01-17 23:27:42 +0100 |
commit | 91fe68f4c2d66dc34b99386f824abdd6c09f6bb1 (patch) | |
tree | 39621784f14befee46b01812ff546920343d4945 /sfx2/source/doc/doctemplates.cxx | |
parent | 28c9559f64d1d4ff2d0e58d8ecac621e8c7dee90 (diff) |
Replaced SAL_INFO with SAL_WARN were applicable.
Diffstat (limited to 'sfx2/source/doc/doctemplates.cxx')
-rw-r--r-- | sfx2/source/doc/doctemplates.cxx | 18 |
1 files changed, 11 insertions, 7 deletions
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; } |