diff options
Diffstat (limited to 'writerperfect/source/common/DirectoryStream.cxx')
-rw-r--r-- | writerperfect/source/common/DirectoryStream.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/writerperfect/source/common/DirectoryStream.cxx b/writerperfect/source/common/DirectoryStream.cxx index 41d6591f1f49..e5150e10d0ad 100644 --- a/writerperfect/source/common/DirectoryStream.cxx +++ b/writerperfect/source/common/DirectoryStream.cxx @@ -115,7 +115,9 @@ DirectoryStream::~DirectoryStream() delete m_pImpl; } -DirectoryStream *DirectoryStream::createForParent(const com::sun::star::uno::Reference<com::sun::star::ucb::XContent> &xContent) try +DirectoryStream *DirectoryStream::createForParent(const com::sun::star::uno::Reference<com::sun::star::ucb::XContent> &xContent) +{ +try { if (!xContent.is()) return 0; @@ -143,8 +145,11 @@ catch (...) { return 0; } +} -bool DirectoryStream::isDirectory(const com::sun::star::uno::Reference<com::sun::star::ucb::XContent> &xContent) try +bool DirectoryStream::isDirectory(const com::sun::star::uno::Reference<com::sun::star::ucb::XContent> &xContent) +{ +try { if (!xContent.is()) return false; @@ -156,6 +161,7 @@ catch (...) { return false; } +} bool DirectoryStream::isStructured() { |