[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - wsd/FileServer.cpp
Jan Holesovsky
kendy at collabora.com
Mon Jun 4 17:30:34 UTC 2018
wsd/FileServer.cpp | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit a6e840a0ae67990b4986e986997db662bf0d1f47
Author: Jan Holesovsky <kendy at collabora.com>
Date: Mon Jun 4 19:26:32 2018 +0200
Need a way to test the branding even in the debug mode.
Change-Id: Ia1d082a05393b298cd009a256b1a708e924097b9
Reviewed-on: https://gerrit.libreoffice.org/55290
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/wsd/FileServer.cpp b/wsd/FileServer.cpp
index cd49d28dd..d7fc0df7b 100644
--- a/wsd/FileServer.cpp
+++ b/wsd/FileServer.cpp
@@ -630,9 +630,6 @@ void FileServerRequestHandler::preprocessFile(const HTTPRequest& request, Poco::
brandCSS = Poco::format(linkCSS, std::string(BRANDING_UNSUPPORTED));
brandJS = Poco::format(scriptJS, std::string(BRANDING_UNSUPPORTED));
}
-#elif ENABLE_DEBUG
- brandCSS = "";
- brandJS = "";
#endif
Poco::replaceInPlace(preprocess, std::string("<!--%BRANDING_CSS%-->"), brandCSS);
@@ -810,8 +807,6 @@ void FileServerRequestHandler::preprocessAdminFile(const HTTPRequest& request,co
brandJS = Poco::format(scriptJS, std::string(BRANDING_UNSUPPORTED));
brandFooter = Poco::format(footerPage, key.data(), Poco::DateTimeFormatter::format(key.expiry(), Poco::DateTimeFormat::RFC822_FORMAT));
}
-#elif ENABLE_DEBUG
- brandJS = "";
#endif
Poco::replaceInPlace(adminFile, std::string("<!--%BRANDING_JS%-->"), brandJS);
More information about the Libreoffice-commits
mailing list