diff options
author | David Tardon <dtardon@redhat.com> | 2017-01-17 19:13:28 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-01-29 20:21:29 +0100 |
commit | 69c03000038e96d120f57b8259763e27907b8470 (patch) | |
tree | 996476144e64fcaa0a9c9044553c4e35df953cee /writerperfect/inc/DirectoryStream.hxx | |
parent | 05ce36d2e2bada48ee97d6a7c45e3bcf71dff29a (diff) |
eliminate some code duplicity
Change-Id: I7792ddd691f81744971d45e1155e3192b24155dc
Diffstat (limited to 'writerperfect/inc/DirectoryStream.hxx')
-rw-r--r-- | writerperfect/inc/DirectoryStream.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx index dce2a63a82f2..36b818d272a5 100644 --- a/writerperfect/inc/DirectoryStream.hxx +++ b/writerperfect/inc/DirectoryStream.hxx @@ -41,6 +41,9 @@ public: virtual ~DirectoryStream() override; static bool isDirectory(const css::uno::Reference<css::ucb::XContent> &xContent); + static std::unique_ptr<DirectoryStream> createForParent(const css::uno::Reference<css::ucb::XContent> &xContent); + + const css::uno::Reference<css::ucb::XContent> getContent() const; virtual bool isStructured() override; virtual unsigned subStreamCount() override; |