summaryrefslogtreecommitdiffstats
path: root/writerperfect/source/common/WPXSvInputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/common/WPXSvInputStream.cxx')
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index 584627debda7..99a01069a43e 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -61,9 +61,11 @@ PositionHolder::PositionHolder(const Reference<XSeekable> &rxSeekable)
PositionHolder::~PositionHolder()
{
- try {
+ try
+ {
mxSeekable->seek(mnPosition);
- } catch (...) {}
+ }
+ catch (...) {}
}
} // anonymous namespace