Kaydet (Commit) acc4c466 authored tarafından David Tardon's avatar David Tardon

astyle

Change-Id: I4e7bf54959b8a9ce6c453cedfd3525aeff5c8e3a
üst 8af58f60
...@@ -16,9 +16,19 @@ ...@@ -16,9 +16,19 @@
#include <writerperfectdllapi.h> #include <writerperfectdllapi.h>
namespace com { namespace sun { namespace star { namespace ucb { namespace com
class XContent; {
} } } } namespace sun
{
namespace star
{
namespace ucb
{
class XContent;
}
}
}
}
namespace writerperfect namespace writerperfect
{ {
......
...@@ -26,9 +26,22 @@ ...@@ -26,9 +26,22 @@
#include <writerperfectdllapi.h> #include <writerperfectdllapi.h>
namespace com { namespace sun { namespace star { namespace xml { namespace sax { namespace com
class XDocumentHandler; {
} } } } } namespace sun
{
namespace star
{
namespace xml
{
namespace sax
{
class XDocumentHandler;
}
}
}
}
}
namespace writerperfect namespace writerperfect
{ {
......
...@@ -20,17 +20,19 @@ ...@@ -20,17 +20,19 @@
#include <writerperfectdllapi.h> #include <writerperfectdllapi.h>
namespace writerperfect { namespace writerperfect
{
class WRITERPERFECT_DLLPUBLIC WPFTEncodingDialog : public ModalDialog class WRITERPERFECT_DLLPUBLIC WPFTEncodingDialog : public ModalDialog
{ {
public: public:
WPFTEncodingDialog( const OUString& title, const OUString& defEncoding); WPFTEncodingDialog(const OUString &title, const OUString &defEncoding);
virtual ~WPFTEncodingDialog(); virtual ~WPFTEncodingDialog();
OUString GetEncoding( ) const; OUString GetEncoding() const;
bool hasUserCalledCancel() const { bool hasUserCalledCancel() const
{
return m_userHasCancelled; return m_userHasCancelled;
} }
private: private:
...@@ -40,8 +42,8 @@ private: ...@@ -40,8 +42,8 @@ private:
bool m_userHasCancelled; bool m_userHasCancelled;
private: private:
DECL_LINK( DoubleClickHdl, ListBox* ); DECL_LINK(DoubleClickHdl, ListBox *);
DECL_LINK(CancelHdl, void*); DECL_LINK(CancelHdl, void *);
void dispose() SAL_OVERRIDE; void dispose() SAL_OVERRIDE;
......
...@@ -16,10 +16,20 @@ ...@@ -16,10 +16,20 @@
#include <writerperfectdllapi.h> #include <writerperfectdllapi.h>
namespace com { namespace sun { namespace star { namespace io { namespace com
class XInputStream; {
class XSeekable; namespace sun
} } } } {
namespace star
{
namespace io
{
class XInputStream;
class XSeekable;
}
}
}
}
namespace writerperfect namespace writerperfect
{ {
...@@ -29,15 +39,15 @@ class WPXSvInputStreamImpl; ...@@ -29,15 +39,15 @@ class WPXSvInputStreamImpl;
class WRITERPERFECT_DLLPUBLIC WPXSvInputStream : public librevenge::RVNGInputStream class WRITERPERFECT_DLLPUBLIC WPXSvInputStream : public librevenge::RVNGInputStream
{ {
public: 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 ~WPXSvInputStream();
virtual bool isStructured() SAL_OVERRIDE; virtual bool isStructured() SAL_OVERRIDE;
virtual unsigned subStreamCount() 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 bool existsSubStream(const char *name) SAL_OVERRIDE;
virtual librevenge::RVNGInputStream * getSubStreamByName(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 *getSubStreamById(unsigned id) SAL_OVERRIDE;
virtual const unsigned char *read(unsigned long numBytes, unsigned long &numBytesRead) 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; virtual int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) SAL_OVERRIDE;
......
...@@ -68,7 +68,7 @@ bool MSWorksCalcImportFilter::doImportDocument(librevenge::RVNGInputStream &rInp ...@@ -68,7 +68,7 @@ bool MSWorksCalcImportFilter::doImportDocument(librevenge::RVNGInputStream &rInp
else if (pDlg->hasUserCalledCancel()) else if (pDlg->hasUserCalledCancel())
return false; return false;
} }
catch (css::uno::Exception & e) catch (css::uno::Exception &e)
{ {
SAL_WARN("writerperfect", "ignoring Exception " << e.Message); SAL_WARN("writerperfect", "ignoring Exception " << e.Message);
} }
......
...@@ -57,7 +57,7 @@ bool MSWorksImportFilter::doImportDocument(librevenge::RVNGInputStream &rInput, ...@@ -57,7 +57,7 @@ bool MSWorksImportFilter::doImportDocument(librevenge::RVNGInputStream &rInput,
return false; return false;
} }
} }
catch (css::uno::Exception & e) catch (css::uno::Exception &e)
{ {
SAL_WARN("writerperfect", "ignoring Exception " << e.Message); SAL_WARN("writerperfect", "ignoring Exception " << e.Message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment