desktop/source/deployment/misc/dp_misc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 33ef289f700292a879579b98e58c32235c05a092
Author: Stephan Bergmann <[email protected]>
Date:   Tue Mar 7 14:31:51 2017 +0100

    Propagate failure of reading from stdin
    
    Change-Id: I8dbd27035db890813a871b4a4ef44d458e28fc61

diff --git a/desktop/source/deployment/misc/dp_misc.cxx 
b/desktop/source/deployment/misc/dp_misc.cxx
index 55aa7bd..fc9c1a2 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -522,7 +522,7 @@ OUString readConsole()
         return value.trim();
     }
 #endif
-    return OUString();
+    throw css::uno::RuntimeException("reading from stdin failed");
 }
 
 void TRACE(OUString const & sText)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to