diff options
author | dante <dante19031999@gmail.com> | 2021-08-20 04:30:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-20 12:45:26 +0200 |
commit | 4f7dd4985dd11e2e797f0ab05eaa7982b5a83b46 (patch) | |
tree | bba38c5008a6c32522d290be798094fb6bab0147 /starmath/inc | |
parent | cf2082337c72eca4509fbdbb05d8c68b91fe8a69 (diff) |
Improve code reability with different function names
Change-Id: I0799cb26642197813b054c1bde39cf1ced7519a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120767
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/mathml/import.hxx | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/starmath/inc/mathml/import.hxx b/starmath/inc/mathml/import.hxx index 4b9b1a8790f2..ae72b7b89b6e 100644 --- a/starmath/inc/mathml/import.hxx +++ b/starmath/inc/mathml/import.hxx @@ -57,27 +57,29 @@ public: /** read a component from input stream */ - ErrCode ReadThroughComponent(const css::uno::Reference<css::io::XInputStream>& xInputStream, - const css::uno::Reference<css::lang::XComponent>& xModelComponent, - css::uno::Reference<css::uno::XComponentContext> const& rxContext, - css::uno::Reference<css::beans::XPropertySet> const& rPropSet, - const char16_t* pFilterName, bool bEncrypted); + ErrCode + ReadThroughComponentIS(const css::uno::Reference<css::io::XInputStream>& xInputStream, + const css::uno::Reference<css::lang::XComponent>& xModelComponent, + css::uno::Reference<css::uno::XComponentContext> const& rxContext, + css::uno::Reference<css::beans::XPropertySet> const& rPropSet, + const char16_t* pFilterName, bool bEncrypted); /** read a component from storage */ - ErrCode ReadThroughComponent(const css::uno::Reference<css::embed::XStorage>& xStorage, - const css::uno::Reference<css::lang::XComponent>& xModelComponent, - const char16_t* pStreamName, - css::uno::Reference<css::uno::XComponentContext> const& rxContext, - css::uno::Reference<css::beans::XPropertySet> const& rPropSet, - const char16_t* pFilterName); + ErrCode ReadThroughComponentS(const css::uno::Reference<css::embed::XStorage>& xStorage, + const css::uno::Reference<css::lang::XComponent>& xModelComponent, + const char16_t* pStreamName, + css::uno::Reference<css::uno::XComponentContext> const& rxContext, + css::uno::Reference<css::beans::XPropertySet> const& rPropSet, + const char16_t* pFilterName); /** read a component from text */ - ErrCode ReadThroughComponent(std::u16string_view aText, - const css::uno::Reference<css::lang::XComponent>& xModelComponent, - css::uno::Reference<css::uno::XComponentContext> const& rxContext, - css::uno::Reference<css::beans::XPropertySet> const& rPropSet); + ErrCode + ReadThroughComponentMS(std::u16string_view aText, + const css::uno::Reference<css::lang::XComponent>& xModelComponent, + css::uno::Reference<css::uno::XComponentContext> const& rxContext, + css::uno::Reference<css::beans::XPropertySet> const& rPropSet); }; class SmMLImport : public SvXMLImport |