[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loolwsd/LOOLWSD.cpp

Jan Holesovsky kendy at collabora.com
Wed Jan 13 07:23:06 PST 2016


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

New commits:
commit ae675490aaf1d980325e7a1c8b20a50f080c8777
Author: Jan Holesovsky <kendy at 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);
 


More information about the Libreoffice-commits mailing list