summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-14 10:27:15 +0200
committerNoel Grandin <noel@peralex.com>2014-05-14 16:54:25 +0200
commitcf00c85a38bd32949ed231d5d2fcfc246f500acb (patch)
treec9aa43a4df61b9ca3f52504a29d106002cb9e74b /sfx2
parent5dfb875e986661e75e9fabdfc0586443d76a42e2 (diff)
sfx2: remove SAL_INFO's that only mark function entry
Change-Id: Ia7f59631da21b81f0c7e450c885b759cdce5a140
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/app.cxx2
-rw-r--r--sfx2/source/appl/appinit.cxx2
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx1
-rw-r--r--sfx2/source/doc/docfile.cxx6
-rw-r--r--sfx2/source/doc/objstor.cxx24
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx2
6 files changed, 1 insertions, 36 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 6e51c1bc0b5b..da43bfa53754 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -180,8 +180,6 @@ SfxApplication* SfxApplication::GetOrCreate()
SfxApplication::SfxApplication()
: pAppData_Impl( 0 )
{
- SAL_INFO( "sfx.appl", "SfxApplication::SfxApplication" );
-
SetName( OUString("StarOffice") );
SvtViewOptions::AcquireOptions();
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index fe4611fffc05..04bb2db70ee6 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -204,8 +204,6 @@ OUString GetSpecialCharsForEdit(Window* pParent, const Font& rFont)
bool SfxApplication::Initialize_Impl()
{
- SAL_INFO( "sfx.appl", "SfxApplication::Initialize_Impl" );
-
#ifdef TLX_VALIDATE
StgIo::SetErrorLink( LINK( this, SfxStorageErrHdl, Error ) );
#endif
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index ce63b91d5e8d..2105c666a206 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -1126,7 +1126,6 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
void SfxFilterContainer::ReadFilters_Impl( bool bUpdate )
{
- SAL_INFO( "sfx.bastyp", "SfxFilterContainer::ReadFilters" );
if ( !pFilterArr )
CreateFilterArr();
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 517da1933746..1f0c595afe45 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2032,8 +2032,6 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucbhelper::Content& aOriginalCont
const OUString& aExtension,
const OUString& aDestDir )
{
- SAL_INFO( "sfx.doc", "SfxMedium::DoInternalBackup_Impl( with destdir )" );
-
if ( !pImp->m_aBackupURL.isEmpty() )
return; // the backup was done already
@@ -2108,9 +2106,7 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucbhelper::Content& aOriginalCont
void SfxMedium::DoBackup_Impl()
{
- SAL_INFO( "sfx.doc", "SfxMedium::DoBackup_Impl" );
-
- // source file name is the logical name of this medium
+ // source file name is the logical name of this medium
INetURLObject aSource( GetURLObject() );
// there is nothing to backup in case source file does not exist
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index a688082817d8..57c5bfe62515 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1117,7 +1117,6 @@ bool SfxObjectShell::SaveTo_Impl
*/
{
- SAL_INFO( "sfx.doc", "PERFORMANCE SfxObjectShell::SaveTo_Impl" );
SAL_INFO( "sfx.doc", "saving \"" << rMedium.GetName() << "\"" );
AddLog( OUString( OSL_LOG_PREFIX "Begin" ) );
@@ -1767,8 +1766,6 @@ bool SfxObjectShell::SaveTo_Impl
bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMedium& rTargetMedium )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::DisconnectStorage_Impl" );
-
// this method disconnects the storage from source medium, and attaches it to the backup created by the target medium
uno::Reference< embed::XStorage > xStorage = rSrcMedium.GetStorage();
@@ -1825,8 +1822,6 @@ bool SfxObjectShell::ConnectTmpStorage_Impl(
*/
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::ConnectTmpStorage_Impl" );
-
bool bResult = false;
if ( xStorage.is() )
@@ -1961,8 +1956,6 @@ bool SfxObjectShell::DoSaveAs( SfxMedium& rMedium )
bool SfxObjectShell::DoSaveCompleted( SfxMedium* pNewMed )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::DoSaveCompleted" );
-
bool bOk = true;
bool bMedChanged = pNewMed && pNewMed!=pMedium;
@@ -3048,7 +3041,6 @@ void SfxObjectShell::SetSecurityOptOpenReadOnly( bool _b )
bool SfxObjectShell::LoadOwnFormat( SfxMedium& rMedium )
{
- SAL_INFO( "sfx.doc", "PERFORMANCE SfxObjectShell::LoadOwnFormat" );
SAL_INFO( "sfx.doc", "loading \" " << rMedium.GetName() << "\"" );
uno::Reference< embed::XStorage > xStorage = rMedium.GetStorage();
@@ -3141,8 +3133,6 @@ uno::Reference< embed::XStorage > SfxObjectShell::GetStorage()
bool SfxObjectShell::SaveChildren( bool bObjectsOnly )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::SaveChildren" );
-
bool bResult = true;
if ( pImp->mpObjectContainer )
{
@@ -3155,8 +3145,6 @@ bool SfxObjectShell::SaveChildren( bool bObjectsOnly )
bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::SaveAsChildren" );
-
bool bResult = true;
uno::Reference < embed::XStorage > xStorage = rMedium.GetStorage();
@@ -3181,8 +3169,6 @@ bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium )
bool SfxObjectShell::SaveCompletedChildren( bool bSuccess )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::SaveCompletedChildren" );
-
bool bResult = true;
if ( pImp->mpObjectContainer )
@@ -3218,8 +3204,6 @@ bool SfxObjectShell::SaveCompletedChildren( bool bSuccess )
bool SfxObjectShell::SwitchChildrenPersistance( const uno::Reference< embed::XStorage >& xStorage,
bool bForceNonModified )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::SwitchChildrenPersistence" );
-
if ( !xStorage.is() )
{
// TODO/LATER: error handling
@@ -3237,8 +3221,6 @@ bool SfxObjectShell::SwitchChildrenPersistance( const uno::Reference< embed::XSt
// Never call this method directly, always use the DoSaveCompleted call
bool SfxObjectShell::SaveCompleted( const uno::Reference< embed::XStorage >& xStorage )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::SaveCompleted" );
-
bool bResult = false;
bool bSendNotification = false;
uno::Reference< embed::XStorage > xOldStorageHolder;
@@ -3389,8 +3371,6 @@ bool StoragesOfUnknownMediaTypeAreCopied_Impl( const uno::Reference< embed::XSto
bool SfxObjectShell::SwitchPersistance( const uno::Reference< embed::XStorage >& xStorage )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::SwitchPersistance" );
-
bool bResult = false;
#ifdef DBG_UTIL
// check for wrong creation of object container
@@ -3424,8 +3404,6 @@ bool SfxObjectShell::SwitchPersistance( const uno::Reference< embed::XStorage >&
bool SfxObjectShell::CopyStoragesOfUnknownMediaType( const uno::Reference< embed::XStorage >& xSource,
const uno::Reference< embed::XStorage >& xTarget )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::CopyStoragesOfUnknownMediaType" );
-
// This method does not commit the target storage and should not do it
bool bResult = true;
@@ -3538,8 +3516,6 @@ bool SfxObjectShell::GenerateAndStoreThumbnail( bool bEncrypted,
bool bIsTemplate,
const uno::Reference< embed::XStorage >& xStor )
{
- SAL_INFO( "sfx.doc", "SfxObjectShell::GenerateAndStoreThumbnail" );
-
bIsInGenerateThumbnail = true;//optimize thumbnail generate and store procedure to improve odt saving performance, i120030
bool bResult = false;
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 79f268b068ba..3ad6fc982114 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -1525,7 +1525,6 @@ void SAL_CALL SfxBaseModel::storeSelf( const Sequence< beans::PropertyValue >
io::IOException,
RuntimeException, std::exception )
{
- SAL_INFO( "sfx.doc", "PERFORMANCE - SfxBaseModel::storeSelf" );
SfxModelGuard aGuard( *this );
if ( m_pData->m_pObjectShell.Is() )
@@ -1655,7 +1654,6 @@ void SAL_CALL SfxBaseModel::storeAsURL( const OUString& rURL
const Sequence< beans::PropertyValue >& rArgs )
throw (io::IOException, RuntimeException, std::exception)
{
- SAL_INFO( "sfx.doc", "PERFORMANCE - SfxBaseModel::storeAsURL" );
SfxModelGuard aGuard( *this );
if ( m_pData->m_pObjectShell.Is() )