[Libreoffice-commits] online.git: wsd/FileServer.cpp
Jan Holesovsky
kendy at collabora.com
Mon Jun 4 18:15:50 UTC 2018
wsd/FileServer.cpp | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit ce5fefcb5d667f83738b699a1585f93df7f1cfd1
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 3f7080ecd..1783b0596 100644
--- a/wsd/FileServer.cpp
+++ b/wsd/FileServer.cpp
@@ -632,9 +632,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);
@@ -812,8 +809,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