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

astyle

Change-Id: I4e7bf54959b8a9ce6c453cedfd3525aeff5c8e3a
üst 8af58f60
......@@ -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
{
......
......@@ -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
{
......
......@@ -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;
......
......@@ -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;
......
......@@ -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);
}
......
......@@ -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);
}
......
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