loolwsd/LOOLWSD.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ae675490aaf1d980325e7a1c8b20a50f080c8777
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Wed Jan 13 16:20:48 2016 +0100

    loolwsd: Fix inserting of images into files opened via http://

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 154cccd..87e1dbe 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -302,7 +302,7 @@ public:
                 {
                     std::string dirPath = LOOLWSD::childRoot + 
Path::separator() + form.get("childid") + LOOLSession::jailDocumentURL +
                         Path::separator() + "insertfile";
-                    File(dirPath).createDirectory();
+                    File(dirPath).createDirectories();
                     std::string fileName = dirPath + Path::separator() + 
form.get("name");
                     File(tmpPath).moveTo(fileName);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to