use SAL_CONFIGFILE macro
Change-Id: I958a961993aaf920c52b5d7b8eea6666656b4ddd
This commit is contained in:
@@ -2076,19 +2076,11 @@ void SfxObjectShell::StoreLog()
|
|||||||
|
|
||||||
if ( pImp->m_xLogRing.is() )
|
if ( pImp->m_xLogRing.is() )
|
||||||
{
|
{
|
||||||
#ifdef WNT
|
OUString aFileURL = OUString( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}" );
|
||||||
OUString aFileURL = OUString( "${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}" );
|
|
||||||
#else
|
|
||||||
OUString aFileURL = OUString( "${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}" );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
::rtl::Bootstrap::expandMacros( aFileURL );
|
::rtl::Bootstrap::expandMacros( aFileURL );
|
||||||
|
|
||||||
#ifdef WNT
|
OUString aBuildID = OUString( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("setup") ":buildid}" );
|
||||||
OUString aBuildID = OUString( "${$BRAND_BASE_DIR/program/setup.ini:buildid}" );
|
|
||||||
#else
|
|
||||||
OUString aBuildID = OUString( "${$BRAND_BASE_DIR/program/setuprc:buildid}" );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
::rtl::Bootstrap::expandMacros( aBuildID );
|
::rtl::Bootstrap::expandMacros( aBuildID );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user