summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-05-19 11:08:42 +0200
committerDavid Tardon <dtardon@redhat.com>2015-05-19 11:09:30 +0200
commitacc4c466c35e8ca9ca7ce8bd7b90c505061a0fb3 (patch)
tree043cc255a4940c959b473c5cd695d582ed801c7e /writerperfect
parent8af58f60af85c4a87f77053c1b1a322f391e14b7 (diff)
astyle
Change-Id: I4e7bf54959b8a9ce6c453cedfd3525aeff5c8e3a
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/inc/DirectoryStream.hxx16
-rw-r--r--writerperfect/inc/DocumentHandler.hxx19
-rw-r--r--writerperfect/inc/WPFTEncodingDialog.hxx14
-rw-r--r--writerperfect/inc/WPXSvInputStream.hxx26
-rw-r--r--writerperfect/source/calc/MSWorksCalcImportFilter.cxx2
-rw-r--r--writerperfect/source/writer/MSWorksImportFilter.cxx2
6 files changed, 57 insertions, 22 deletions
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx
index bfa7d57452d6..1107a1d76630 100644
--- a/writerperfect/inc/DirectoryStream.hxx
+++ b/writerperfect/inc/DirectoryStream.hxx
@@ -16,9 +16,19 @@
#include <writerperfectdllapi.h>
-namespace com { namespace sun { namespace star { namespace ucb {
- class XContent;
-} } } }
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace ucb
+{
+class XContent;
+}
+}
+}
+}
namespace writerperfect
{
diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx
index 608974be1eee..15cd4a8b45c1 100644
--- a/writerperfect/inc/DocumentHandler.hxx
+++ b/writerperfect/inc/DocumentHandler.hxx
@@ -26,9 +26,22 @@
#include <writerperfectdllapi.h>
-namespace com { namespace sun { namespace star { namespace xml { namespace sax {
- class XDocumentHandler;
-} } } } }
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace xml
+{
+namespace sax
+{
+class XDocumentHandler;
+}
+}
+}
+}
+}
namespace writerperfect
{
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx
index e76fb884a154..2d3a63a302fa 100644
--- a/writerperfect/inc/WPFTEncodingDialog.hxx
+++ b/writerperfect/inc/WPFTEncodingDialog.hxx
@@ -20,17 +20,19 @@
#include <writerperfectdllapi.h>
-namespace writerperfect {
+namespace writerperfect
+{
class WRITERPERFECT_DLLPUBLIC WPFTEncodingDialog : public ModalDialog
{
public:
- WPFTEncodingDialog( const OUString& title, const OUString& defEncoding);
+ WPFTEncodingDialog(const OUString &title, const OUString &defEncoding);
virtual ~WPFTEncodingDialog();
- OUString GetEncoding( ) const;
- bool hasUserCalledCancel() const {
+ OUString GetEncoding() const;
+ bool hasUserCalledCancel() const
+ {
return m_userHasCancelled;
}
private:
@@ -40,8 +42,8 @@ private:
bool m_userHasCancelled;
private:
- DECL_LINK( DoubleClickHdl, ListBox* );
- DECL_LINK(CancelHdl, void*);
+ DECL_LINK(DoubleClickHdl, ListBox *);
+ DECL_LINK(CancelHdl, void *);
void dispose() SAL_OVERRIDE;
diff --git a/writerperfect/inc/WPXSvInputStream.hxx b/writerperfect/inc/WPXSvInputStream.hxx
index cd87f1ba008a..7382607ab1a0 100644
--- a/writerperfect/inc/WPXSvInputStream.hxx
+++ b/writerperfect/inc/WPXSvInputStream.hxx
@@ -16,10 +16,20 @@
#include <writerperfectdllapi.h>
-namespace com { namespace sun { namespace star { namespace io {
- class XInputStream;
- class XSeekable;
-} } } }
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace io
+{
+class XInputStream;
+class XSeekable;
+}
+}
+}
+}
namespace writerperfect
{
@@ -29,15 +39,15 @@ class WPXSvInputStreamImpl;
class WRITERPERFECT_DLLPUBLIC WPXSvInputStream : public librevenge::RVNGInputStream
{
public:
- WPXSvInputStream( ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xStream );
+ WPXSvInputStream(::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xStream);
virtual ~WPXSvInputStream();
virtual bool isStructured() SAL_OVERRIDE;
virtual unsigned subStreamCount() SAL_OVERRIDE;
- virtual const char * subStreamName(unsigned id) SAL_OVERRIDE;
+ virtual const char *subStreamName(unsigned id) SAL_OVERRIDE;
virtual bool existsSubStream(const char *name) SAL_OVERRIDE;
- virtual librevenge::RVNGInputStream * getSubStreamByName(const char *name) SAL_OVERRIDE;
- virtual librevenge::RVNGInputStream * getSubStreamById(unsigned id) SAL_OVERRIDE;
+ virtual librevenge::RVNGInputStream *getSubStreamByName(const char *name) SAL_OVERRIDE;
+ virtual librevenge::RVNGInputStream *getSubStreamById(unsigned id) SAL_OVERRIDE;
virtual const unsigned char *read(unsigned long numBytes, unsigned long &numBytesRead) SAL_OVERRIDE;
virtual int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) SAL_OVERRIDE;
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
index 2431e792827f..3ccf2db386b0 100644
--- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
+++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
@@ -68,7 +68,7 @@ bool MSWorksCalcImportFilter::doImportDocument(librevenge::RVNGInputStream &rInp
else if (pDlg->hasUserCalledCancel())
return false;
}
- catch (css::uno::Exception & e)
+ catch (css::uno::Exception &e)
{
SAL_WARN("writerperfect", "ignoring Exception " << e.Message);
}
diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx
index 96496fe12d27..018f79097f43 100644
--- a/writerperfect/source/writer/MSWorksImportFilter.cxx
+++ b/writerperfect/source/writer/MSWorksImportFilter.cxx
@@ -57,7 +57,7 @@ bool MSWorksImportFilter::doImportDocument(librevenge::RVNGInputStream &rInput,
return false;
}
}
- catch (css::uno::Exception & e)
+ catch (css::uno::Exception &e)
{
SAL_WARN("writerperfect", "ignoring Exception " << e.Message);
}