diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-27 09:21:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-27 11:07:00 +0100 |
commit | c438349f49f216ed8ea4bcba432ddb82055efb15 (patch) | |
tree | 973a47056a81e992e950b15921cb7e006413ed42 /include/vcl/threadex.hxx | |
parent | d433c4e9e956622ec7387ab9198f4db856524199 (diff) |
Fix comment
...after ce2792eda318b2760d24d2a744fc89e6a1d87138 "use C++11 exception
rethrowing"
Change-Id: I7a5cf53daa833cd398e520f67bf4bc5f36b21989
Reviewed-on: https://gerrit.libreoffice.org/68422
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/vcl/threadex.hxx')
-rw-r--r-- | include/vcl/threadex.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/threadex.hxx b/include/vcl/threadex.hxx index b8962f2d0e0b..cac25bc58b75 100644 --- a/include/vcl/threadex.hxx +++ b/include/vcl/threadex.hxx @@ -116,9 +116,8 @@ private: /** This function will execute the passed functor synchronously in the solar thread, thus the calling thread will (eventually) be blocked until the functor has been called. - Any UNO exception that came up calling the functor in the solar thread - will be caught and rethrown in the calling thread. Any non-UNO - exception needs to be handled by the called functor. + Any exception that came up calling the functor in the solar thread + will be caught and rethrown in the calling thread. The result type of this function needs to be default constructable. Please keep in mind not to pass addresses to stack variables (e.g. for out parameters) to foreign threads, use inout_by_ref() |