summaryrefslogtreecommitdiff
path: root/stoc/test/excomp/excomp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/excomp/excomp.cxx')
-rw-r--r--stoc/test/excomp/excomp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/test/excomp/excomp.cxx b/stoc/test/excomp/excomp.cxx
index 12706dd28..e184b9a94 100644
--- a/stoc/test/excomp/excomp.cxx
+++ b/stoc/test/excomp/excomp.cxx
@@ -67,7 +67,7 @@ OUString getExePath()
OSL_VERIFY(osl_getExecutableFile( &exe.pData) == osl_Process_E_None);
-#if defined(WIN32) || defined(__OS2__) || defined(WNT)
+#if defined(WIN32) || defined(WNT)
exe = exe.copy(0, exe.getLength() - 10);
#else
exe = exe.copy(0, exe.getLength() - 6);