[Libreoffice-commits] core.git: desktop/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 7 13:32:26 UTC 2017
desktop/source/deployment/misc/dp_misc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 33ef289f700292a879579b98e58c32235c05a092
Author: Stephan Bergmann <sbergman at redhat.com>
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)
More information about the Libreoffice-commits
mailing list