From c6a73009747814513ab5a7277c211449c7378870 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 16 Aug 2013 11:08:32 +0300 Subject: Use subfolder names from Change all instances of hardcoded "program", "share" etc subfolder names to use those from instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53 --- crashrep/source/win32/soreport.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crashrep/source') diff --git a/crashrep/source/win32/soreport.cxx b/crashrep/source/win32/soreport.cxx index 08038efe09ea..da84dfd8c783 100644 --- a/crashrep/source/win32/soreport.cxx +++ b/crashrep/source/win32/soreport.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include + #define UNICODE #define WIN32_LEAN_AND_MEAN #if defined _MSC_VER @@ -159,7 +161,7 @@ static FILE *_tmpfile(void) static BOOL GetCrashDataPath( LPTSTR szBuffer ) { - OUString ustrValue("${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}"); + OUString ustrValue("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/bootstrap.ini:UserInstallation}"); ::rtl::Bootstrap::expandMacros( ustrValue ); if ( !ustrValue.isEmpty() ) -- cgit