summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-10-06 09:08:33 +0200
committerDavid Tardon <dtardon@redhat.com>2015-10-06 09:11:04 +0200
commiteed51624b380bdb0d831be91b24b1129de71489f (patch)
treeb137b11a7a227b167ff55d9b560284297ac1384d /writerperfect
parenteb6381435fb06c232bdc6b42c2bf0cd711c0bbbd (diff)
astyle
Change-Id: Ib3d4456edf72347e27616d13c89978075c324d63
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/inc/WPFTEncodingDialog.hxx4
-rw-r--r--writerperfect/source/common/WPFTEncodingDialog.cxx4
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx6
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