diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 7ce3d1dfb07e..1bde2aef2167 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -2076,19 +2076,11 @@ void SfxObjectShell::StoreLog() if ( pImp->m_xLogRing.is() ) { -#ifdef WNT - OUString aFileURL = OUString( "${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}" ); -#else - OUString aFileURL = OUString( "${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}" ); -#endif + OUString aFileURL = OUString( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}" ); ::rtl::Bootstrap::expandMacros( aFileURL ); -#ifdef WNT - OUString aBuildID = OUString( "${$BRAND_BASE_DIR/program/setup.ini:buildid}" ); -#else - OUString aBuildID = OUString( "${$BRAND_BASE_DIR/program/setuprc:buildid}" ); -#endif + OUString aBuildID = OUString( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("setup") ":buildid}" ); ::rtl::Bootstrap::expandMacros( aBuildID );