summaryrefslogtreecommitdiff
path: root/desktop/win32/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-22 13:31:57 +0200
committerNoel Grandin <noel@peralex.com>2015-07-23 08:41:46 +0200
commit95aad95fbec35c3aab777b176218a29821f79574 (patch)
tree860e5fc0890830b27c391b4492d6b91631ef9850 /desktop/win32/source
parente412e16d56caf426bac04c7e5966e2a9efa7c408 (diff)
inline a handful of use-once #defines
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
Diffstat (limited to 'desktop/win32/source')
-rw-r--r--desktop/win32/source/applauncher/launcher.cxx2
-rw-r--r--desktop/win32/source/applauncher/launcher.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx
index 8c61a3ccfcee..69f7472a1129 100644
--- a/desktop/win32/source/applauncher/launcher.cxx
+++ b/desktop/win32/source/applauncher/launcher.cxx
@@ -71,7 +71,7 @@ extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
GetModuleFileName( NULL, szApplicationName, MAX_PATH );
_tsplitpath( szApplicationName, szDrive, szDir, szFileName, szExt );
- _tmakepath( szApplicationName, szDrive, szDir, OFFICE_IMAGE_NAME, _T(".exe") );
+ _tmakepath( szApplicationName, szDrive, szDir, _T("soffice"), _T(".exe") );
PROCESS_INFORMATION aProcessInfo;
diff --git a/desktop/win32/source/applauncher/launcher.hxx b/desktop/win32/source/applauncher/launcher.hxx
index 1ea51cf2b757..7bf05ad15f9d 100644
--- a/desktop/win32/source/applauncher/launcher.hxx
+++ b/desktop/win32/source/applauncher/launcher.hxx
@@ -40,8 +40,6 @@
# define GetArgv( pArgc ) (*pArgc = __argc, __argv)
#endif
-#define OFFICE_IMAGE_NAME _T("soffice")
-
extern _TCHAR APPLICATION_SWITCH[];
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */