diff options
-rw-r--r-- | writerperfect/inc/WPFTEncodingDialog.hxx | 4 | ||||
-rw-r--r-- | writerperfect/source/common/WPFTEncodingDialog.cxx | 4 | ||||
-rw-r--r-- | writerperfect/source/common/WPXSvInputStream.cxx | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx index 7e435dda6303..4820836c0513 100644 --- a/writerperfect/inc/WPFTEncodingDialog.hxx +++ b/writerperfect/inc/WPFTEncodingDialog.hxx @@ -42,8 +42,8 @@ private: bool m_userHasCancelled; private: - DECL_LINK_TYPED(DoubleClickHdl, ListBox&, void); - DECL_LINK_TYPED(CancelHdl, Button*, void); + DECL_LINK_TYPED(DoubleClickHdl, ListBox &, void); + DECL_LINK_TYPED(CancelHdl, Button *, void); void dispose() SAL_OVERRIDE; diff --git a/writerperfect/source/common/WPFTEncodingDialog.cxx b/writerperfect/source/common/WPFTEncodingDialog.cxx index 262419b0b4bf..1b6e11b51aee 100644 --- a/writerperfect/source/common/WPFTEncodingDialog.cxx +++ b/writerperfect/source/common/WPFTEncodingDialog.cxx @@ -189,13 +189,13 @@ OUString WPFTEncodingDialog::GetEncoding() const return getEncoding(m_pLbCharset); } -IMPL_LINK_NOARG_TYPED(WPFTEncodingDialog, CancelHdl, Button*, void) +IMPL_LINK_NOARG_TYPED(WPFTEncodingDialog, CancelHdl, Button *, void) { m_userHasCancelled=true; Close(); } -IMPL_LINK_TYPED(WPFTEncodingDialog, DoubleClickHdl, ListBox&, rLb, void) +IMPL_LINK_TYPED(WPFTEncodingDialog, DoubleClickHdl, ListBox &, rLb, void) { if (&rLb == m_pLbCharset) { 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 |