[Libreoffice-commits] core.git: writerperfect/inc writerperfect/source
David Tardon
dtardon at redhat.com
Tue Oct 6 00:13:01 PDT 2015
writerperfect/inc/WPFTEncodingDialog.hxx | 4 ++--
writerperfect/source/common/WPFTEncodingDialog.cxx | 4 ++--
writerperfect/source/common/WPXSvInputStream.cxx | 6 ++++--
3 files changed, 8 insertions(+), 6 deletions(-)
New commits:
commit eed51624b380bdb0d831be91b24b1129de71489f
Author: David Tardon <dtardon at redhat.com>
Date: Tue Oct 6 09:08:33 2015 +0200
astyle
Change-Id: Ib3d4456edf72347e27616d13c89978075c324d63
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx
index 7e435dd..4820836 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 262419b..1b6e11b 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 584627d..99a0106 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
More information about the Libreoffice-commits
mailing list