diff options
author | David Tardon <dtardon@redhat.com> | 2013-04-28 11:18:35 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-28 16:28:46 +0200 |
commit | f7cea8fb5b5d92ff6b8ac09b38d02badaaf7db04 (patch) | |
tree | b24d73a08cd7269c87c050c48f8f7c28f0a06146 | |
parent | c72bb2da7bc8a7616539d57890139ee8b5360443 (diff) |
use SAL_CONFIGFILE macro
Change-Id: I958a961993aaf920c52b5d7b8eea6666656b4ddd
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
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 ); |