diff options
Diffstat (limited to 'pyuno/zipcore/python.cxx')
-rw-r--r-- | pyuno/zipcore/python.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/pyuno/zipcore/python.cxx b/pyuno/zipcore/python.cxx index 775a0b738f58..cffee38e058b 100644 --- a/pyuno/zipcore/python.cxx +++ b/pyuno/zipcore/python.cxx @@ -147,20 +147,12 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) { exit(EXIT_FAILURE); } wchar_t urepath[MAX_PATH]; - if (tools::buildPath(urepath, path, pathEnd, MY_STRING(L"..\\basis-link")) + if (tools::buildPath(urepath, path, pathEnd, MY_STRING(L"..\\ure-link")) == NULL) { exit(EXIT_FAILURE); } - wchar_t * urepathEnd = urepathEnd = tools::resolveLink(urepath); - if (urepathEnd == NULL || - (tools::buildPath( - urepath, urepath, urepathEnd, MY_STRING(L"\\ure-link")) - == NULL)) - { - exit(EXIT_FAILURE); - } - urepathEnd = tools::resolveLink(urepath); + wchar_t * urepathEnd = tools::resolveLink(urepath); if (urepathEnd == NULL) { exit(EXIT_FAILURE); } |