[Libreoffice-commits] online.git: Branch 'libreoffice-5-4' - kit/Kit.cpp

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu Feb 1 11:20:28 UTC 2018


 kit/Kit.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a698807c48555d7bbf36520588a98b9f41a1f7b0
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Thu Jan 25 15:15:37 2018 +0100

    Show info instead of error when linking is not possible
    
    we still try to copy the file after this and fail if that doesn't work.
    
    Change-Id: Ie37022b2454e71f4b1a92217e01e56e58070448b
    Reviewed-on: https://gerrit.libreoffice.org/48907
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    (cherry picked from commit e89584f933148dae4129dfd9aa7e1621e9a61ecf)
    Reviewed-on: https://gerrit.libreoffice.org/49002
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index a42a9d41..0d7d4dbe 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -153,7 +153,7 @@ namespace
             File(newPath.parent()).createDirectories();
             if (link(fpath, newPath.toString().c_str()) == -1)
             {
-                LOG_SYS("link(\"" << fpath << "\", \"" <<
+                LOG_INF("link(\"" << fpath << "\", \"" <<
                         newPath.toString() << "\") failed. Will copy.");
                 try
                 {


More information about the Libreoffice-commits mailing list