diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 14:46:25 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 14:46:25 +0000 |
commit | 1dfd01da190f7bdb204fedb284b10b02cdc4e002 (patch) | |
tree | 627303ee2ad53ab61c9f56be6fd477f80f508f0c /svx/source/dialog/docrecovery.cxx | |
parent | INTEGRATION: CWS maccrashrep (1.5.12); FILE MERGED (diff) | |
download | core-1dfd01da190f7bdb204fedb284b10b02cdc4e002.tar.gz core-1dfd01da190f7bdb204fedb284b10b02cdc4e002.zip |
INTEGRATION: CWS maccrashrep (1.22.114); FILE MERGED
2008/07/24 10:10:12 hro 1.22.114.1: #i90159# Fixes for PPC tinderbox build
Diffstat (limited to 'svx/source/dialog/docrecovery.cxx')
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index bfc3f51cbbf5..90cbdc27cb1a 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: docrecovery.cxx,v $ - * $Revision: 1.23 $ + * $Revision: 1.24 $ * * This file is part of OpenOffice.org. * @@ -2043,6 +2043,8 @@ void BrokenRecoveryDialog::impl_askForSavePath() #if defined(WNT) || defined(OS2) OUString ustrValue = OUString::createFromAscii("${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}"); +#elif defined( MACOSX ) + OUString ustrValue = OUString::createFromAscii("~"); #else OUString ustrValue = OUString::createFromAscii("$SYSUSERCONFIG"); #endif @@ -2099,6 +2101,7 @@ void BrokenRecoveryDialog::impl_askForSavePath() String aFileContent; ::osl::File aFile( rURL ); + printf( "Loading %s:", OString( rURL.getStr(), rURL.getLength(), osl_getThreadTextEncoding() ).getStr() ); if ( ::osl::FileBase::E_None == aFile.open( OpenFlag_Read ) ) { ::rtl::OString aContent; @@ -2122,7 +2125,11 @@ void BrokenRecoveryDialog::impl_askForSavePath() aFileContent = ustrContent; aFile.close(); + + printf( "SUCCEEDED\n" ); } + else + printf( "FAILED\n" ); return aFileContent; } |