loolwsd/FileServer.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit f5bf0349492f53b0c850358d503f2305ba2c9c1f Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Fri Jul 22 09:18:19 2016 +0200 FileServer: clean up unused 'using' declarations Change-Id: I0db8215f21dbdc6e90c2a3bbfe517d7a0f3c4a0f diff --git a/loolwsd/FileServer.cpp b/loolwsd/FileServer.cpp index abcba82..7363abf 100644 --- a/loolwsd/FileServer.cpp +++ b/loolwsd/FileServer.cpp @@ -42,14 +42,10 @@ using Poco::FileInputStream; using Poco::Net::HTMLForm; using Poco::Net::HTTPRequest; -using Poco::Net::HTTPRequestHandler; -using Poco::Net::HTTPRequestHandlerFactory; using Poco::Net::HTTPResponse; -using Poco::Net::HTTPServerParams; using Poco::Net::HTTPServerRequest; using Poco::Net::HTTPServerResponse; using Poco::Net::NameValueCollection; -using Poco::Net::SecureServerSocket; using Poco::Net::HTTPBasicCredentials; using Poco::StreamCopier; using Poco::Util::Application; @@ -150,7 +146,7 @@ void FileServerRequestHandler::handleRequest(HTTPServerRequest& request, HTTPSer throw Poco::FileAccessDeniedException("Invalid or forbidden file path: [" + filepath + "]."); } - const std::size_t extPoint = endPoint.find_last_of("."); + const std::size_t extPoint = endPoint.find_last_of('.'); if (extPoint == std::string::npos) throw Poco::FileNotFoundException("Invalid file."); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits