summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-07 14:31:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-07 14:31:51 +0100
commit33ef289f700292a879579b98e58c32235c05a092 (patch)
tree1f1a51b8aeb6263fff33fe6bf90831b47075f2c5 /desktop
parentUse symbolic constants instead of hardcoded numbers (diff)
downloadcore-33ef289f700292a879579b98e58c32235c05a092.tar.gz
core-33ef289f700292a879579b98e58c32235c05a092.zip
Propagate failure of reading from stdin
Change-Id: I8dbd27035db890813a871b4a4ef44d458e28fc61
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/dp_misc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index 55aa7bd0908b..fc9c1a2f32d5 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)