wsd/LOOLWSD.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 921527757687717ab89451dc5e6d76dcbdac9849
Author: Henry Castro <hcas...@collabora.com>
Date:   Sun Apr 29 21:02:50 2018 -0400

    wsd: simplify to use the DEBUG_ABSSRCDIR preprocessing symbol
    
    Change-Id: If71f6c831064482a97069a64eb1d05d8a3c739b4

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 5249e2880..d74e3465f 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -531,14 +531,12 @@ inline std::string getLaunchBase(const std::string 
&credentials)
 
 inline std::string getLaunchURI(const std::string &document)
 {
-    const std::string aAbsTopSrcDir = 
Poco::Path(Application::instance().commandPath()).parent().toString();
-
     std::ostringstream oss;
 
     oss << getLaunchBase("");
     oss << LOOLWSD_TEST_LOLEAFLET_UI;
     oss << "?file_path=file://";
-    oss << Poco::Path(aAbsTopSrcDir).absolute().toString();
+    oss << DEBUG_ABSSRCDIR "/";
     oss << document;
 
     return oss.str();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to