Kaydet (Commit) bb71e3a4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

This presumably wants to swallow exceptions from XSeekable::seek

...instead of doing a needless catch and re-throw

Change-Id: I1b1c593ac19a46aa7acfca753bc8177aa7a8ff12
üst 727c5b5f
...@@ -60,12 +60,11 @@ PositionHolder::PositionHolder(const Reference<XSeekable> &rxSeekable) ...@@ -60,12 +60,11 @@ PositionHolder::PositionHolder(const Reference<XSeekable> &rxSeekable)
{ {
} }
PositionHolder::~PositionHolder() try PositionHolder::~PositionHolder()
{
mxSeekable->seek(mnPosition);
}
catch (...)
{ {
try {
mxSeekable->seek(mnPosition);
} catch (...) {}
} }
} // anonymous namespace } // anonymous namespace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment