[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
Henry Castro
hcastro at collabora.com
Mon Apr 30 01:23:25 UTC 2018
wsd/LOOLWSD.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 921527757687717ab89451dc5e6d76dcbdac9849
Author: Henry Castro <hcastro at 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();
More information about the Libreoffice-commits
mailing list