diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-24 14:00:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-25 04:46:50 +0000 |
commit | 651649233f3132f67aaf074ba416e186eb8fb49d (patch) | |
tree | 98b4816b27ff8646a41317002af21d60e6fb4e27 /writerperfect/inc | |
parent | a15b9b44d933ef06efbc231d66b79815ba69ceff (diff) |
com::sun::star->css in writerperfect/
Change-Id: I3b1f51d3a02b999476d12e680f2f76a11ac6b3b9
Reviewed-on: https://gerrit.libreoffice.org/20146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'writerperfect/inc')
-rw-r--r-- | writerperfect/inc/DirectoryStream.hxx | 6 | ||||
-rw-r--r-- | writerperfect/inc/DocumentHandler.hxx | 4 | ||||
-rw-r--r-- | writerperfect/inc/ImportFilter.hxx | 38 | ||||
-rw-r--r-- | writerperfect/inc/WPXSvInputStream.hxx | 2 |
4 files changed, 25 insertions, 25 deletions
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx index 6107af8aacfb..99933c99d4e4 100644 --- a/writerperfect/inc/DirectoryStream.hxx +++ b/writerperfect/inc/DirectoryStream.hxx @@ -37,11 +37,11 @@ class WRITERPERFECT_DLLPUBLIC DirectoryStream : public librevenge::RVNGInputStre struct Impl; public: - explicit DirectoryStream(const com::sun::star::uno::Reference<com::sun::star::ucb::XContent> &xContent); + explicit DirectoryStream(const css::uno::Reference<css::ucb::XContent> &xContent); virtual ~DirectoryStream(); - static DirectoryStream *createForParent(const com::sun::star::uno::Reference<com::sun::star::ucb::XContent> &xContent); - static bool isDirectory(const com::sun::star::uno::Reference<com::sun::star::ucb::XContent> &xContent); + static DirectoryStream *createForParent(const css::uno::Reference<css::ucb::XContent> &xContent); + static bool isDirectory(const css::uno::Reference<css::ucb::XContent> &xContent); virtual bool isStructured() override; virtual unsigned subStreamCount() override; diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx index 26436f4b73ad..00666f9c12da 100644 --- a/writerperfect/inc/DocumentHandler.hxx +++ b/writerperfect/inc/DocumentHandler.hxx @@ -49,7 +49,7 @@ namespace writerperfect class WRITERPERFECT_DLLPUBLIC DocumentHandler: public OdfDocumentHandler { public: - DocumentHandler(com::sun::star::uno::Reference < com::sun::star::xml::sax::XDocumentHandler > &xHandler); + DocumentHandler(css::uno::Reference < css::xml::sax::XDocumentHandler > &xHandler); void startDocument() override; void endDocument() override; void startElement(const char *psName, const librevenge::RVNGPropertyList &xPropList) override; @@ -57,7 +57,7 @@ public: void characters(const librevenge::RVNGString &sCharacters) override; private: - com::sun::star::uno::Reference < com::sun::star::xml::sax::XDocumentHandler > mxHandler; + css::uno::Reference < css::xml::sax::XDocumentHandler > mxHandler; }; } diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx index 673261b2bbf8..da4badf5a82b 100644 --- a/writerperfect/inc/ImportFilter.hxx +++ b/writerperfect/inc/ImportFilter.hxx @@ -48,14 +48,14 @@ namespace detail template<class Generator> class ImportFilterImpl : public cppu::WeakImplHelper < - com::sun::star::document::XFilter, - com::sun::star::document::XImporter, - com::sun::star::document::XExtendedFilterDetection, - com::sun::star::lang::XInitialization + css::document::XFilter, + css::document::XImporter, + css::document::XExtendedFilterDetection, + css::lang::XInitialization > { public: - ImportFilterImpl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext) + ImportFilterImpl(const css::uno::Reference< css::uno::XComponentContext > &rxContext) : mxContext(rxContext) { } @@ -65,8 +65,8 @@ public: } // XFilter - virtual sal_Bool SAL_CALL filter(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > &rDescriptor) - throw (::com::sun::star::uno::RuntimeException, std::exception) override + virtual sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor) + throw (css::uno::RuntimeException, std::exception) override { utl::MediaDescriptor aDescriptor(rDescriptor); css::uno::Reference < css::io::XInputStream > xInputStream; @@ -102,20 +102,20 @@ public: } virtual void SAL_CALL cancel() - throw (::com::sun::star::uno::RuntimeException, std::exception) override + throw (css::uno::RuntimeException, std::exception) override { } // XImporter - virtual void SAL_CALL setTargetDocument(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > &xDoc) - throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override + virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override { mxDoc = xDoc; } //XExtendedFilterDetection - virtual OUString SAL_CALL detect(com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > &Descriptor) - throw(com::sun::star::uno::RuntimeException, std::exception) override + virtual OUString SAL_CALL detect(css::uno::Sequence< css::beans::PropertyValue > &Descriptor) + throw(css::uno::RuntimeException, std::exception) override { OUString sTypeName; sal_Int32 nLength = Descriptor.getLength(); @@ -152,8 +152,8 @@ public: } // XInitialization - virtual void SAL_CALL initialize(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > &aArguments) - throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) override + virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) + throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override { css::uno::Sequence < css::beans::PropertyValue > aAnySeq; sal_Int32 nLength = aArguments.getLength(); @@ -177,10 +177,10 @@ private: virtual bool doImportDocument(librevenge::RVNGInputStream &rInput, Generator &rGenerator, utl::MediaDescriptor &rDescriptor) = 0; virtual void doRegisterHandlers(Generator &) {}; - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > mxContext; - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > mxDoc; + css::uno::Reference< css::uno::XComponentContext > mxContext; + css::uno::Reference< css::lang::XComponent > mxDoc; OUString msFilterName; - ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > mxHandler; + css::uno::Reference< css::xml::sax::XDocumentHandler > mxHandler; }; } @@ -188,10 +188,10 @@ private: /** A base class for import filters. */ template<class Generator> -struct ImportFilter : public cppu::ImplInheritanceHelper<detail::ImportFilterImpl<Generator>, com::sun::star::lang::XServiceInfo> +struct ImportFilter : public cppu::ImplInheritanceHelper<detail::ImportFilterImpl<Generator>, css::lang::XServiceInfo> { ImportFilter(const css::uno::Reference<css::uno::XComponentContext> &rxContext) - : cppu::ImplInheritanceHelper<detail::ImportFilterImpl<Generator>, com::sun::star::lang::XServiceInfo>(rxContext) + : cppu::ImplInheritanceHelper<detail::ImportFilterImpl<Generator>, css::lang::XServiceInfo>(rxContext) { } }; diff --git a/writerperfect/inc/WPXSvInputStream.hxx b/writerperfect/inc/WPXSvInputStream.hxx index e09f4f1005c1..8b3cf1051306 100644 --- a/writerperfect/inc/WPXSvInputStream.hxx +++ b/writerperfect/inc/WPXSvInputStream.hxx @@ -38,7 +38,7 @@ class WPXSvInputStreamImpl; class WRITERPERFECT_DLLPUBLIC WPXSvInputStream : public librevenge::RVNGInputStream { public: - WPXSvInputStream(::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xStream); + WPXSvInputStream(css::uno::Reference< css::io::XInputStream > xStream); virtual ~WPXSvInputStream(); virtual bool isStructured() override; |