summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-01-30 21:53:54 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-30 21:59:43 +0100
commit7f6d06603951d0f688cd82dd231f49bcbf7c7525 (patch)
treeff927450497c2da5207f4d30f9e4edc2d389aaca
parenta1dd382e4eca6c422bdee24a1f8011b3fb48f403 (diff)
writerfilter: whitespace fixes in RTFDocument
Change-Id: I7cd294b42fa402e4da254fe6a2239c9d9293588b
-rw-r--r--writerfilter/inc/rtftok/RTFDocument.hxx65
1 files changed, 33 insertions, 32 deletions
diff --git a/writerfilter/inc/rtftok/RTFDocument.hxx b/writerfilter/inc/rtftok/RTFDocument.hxx
index 2fbb806ceb8a..cb7776316bf8 100644
--- a/writerfilter/inc/rtftok/RTFDocument.hxx
+++ b/writerfilter/inc/rtftok/RTFDocument.hxx
@@ -16,38 +16,39 @@
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
-namespace writerfilter {
- namespace rtftok {
- /// The RTFDocument opens and resolves the RTF document.
- class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocument
- : public writerfilter::Reference<Stream>
- {
- public:
- /// Pointer to this stream.
- typedef ::boost::shared_ptr<RTFDocument> Pointer_t;
-
- virtual ~RTFDocument() { }
-
- /// Resolves this document to a stream handler.
- virtual void resolve(Stream & rHandler) = 0;
-
- /// Returns string representation of the type of this reference. (Debugging purpose only.)
- virtual ::std::string getType() const = 0;
- };
-
- /// Interface to create an RTFDocument instance.
- class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocumentFactory
- {
- public:
- static RTFDocument::Pointer_t
- createDocument(
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext,
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > const & xInputStream,
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > const & xDstDoc,
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > const & xFrame,
- ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > const & xStatusIndicator);
- };
- } // namespace rtftok
+namespace writerfilter
+{
+namespace rtftok
+{
+/// The RTFDocument opens and resolves the RTF document.
+class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocument
+ : public writerfilter::Reference<Stream>
+{
+public:
+ /// Pointer to this stream.
+ typedef boost::shared_ptr<RTFDocument> Pointer_t;
+
+ virtual ~RTFDocument() { }
+
+ /// Resolves this document to a stream handler.
+ virtual void resolve(Stream& rHandler) = 0;
+
+ /// Returns string representation of the type of this reference. (Debugging purpose only.)
+ virtual ::std::string getType() const = 0;
+};
+
+/// Interface to create an RTFDocument instance.
+class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocumentFactory
+{
+public:
+ static RTFDocument::Pointer_t
+ createDocument(css::uno::Reference<css::uno::XComponentContext> const& xContext,
+ css::uno::Reference<css::io::XInputStream> const& xInputStream,
+ css::uno::Reference<css::lang::XComponent> const& xDstDoc,
+ css::uno::Reference<css::frame::XFrame> const& xFrame,
+ css::uno::Reference<css::task::XStatusIndicator> const& xStatusIndicator);
+};
+} // namespace rtftok
} // namespace writerfilter
#endif // _RTFDOCUMENT_HXX_