summaryrefslogtreecommitdiff
path: root/include/comphelper/storagehelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/storagehelper.hxx')
-rw-r--r--include/comphelper/storagehelper.hxx43
1 files changed, 14 insertions, 29 deletions
diff --git a/include/comphelper/storagehelper.hxx b/include/comphelper/storagehelper.hxx
index fb58cf69f8ce..d852cb718f58 100644
--- a/include/comphelper/storagehelper.hxx
+++ b/include/comphelper/storagehelper.hxx
@@ -70,22 +70,19 @@ public:
static css::uno::Reference< css::lang::XSingleServiceFactory >
GetStorageFactory(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::lang::XSingleServiceFactory >
GetFileSystemStorageFactory(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetTemporaryStorage(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// this one will only return Storage
///
@@ -95,8 +92,7 @@ public:
const OUString& aURL,
sal_Int32 nStorageMode,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// this one will return either Storage or FileSystemStorage
///
@@ -106,17 +102,14 @@ public:
const OUString& aURL,
sal_Int32 nStorageMode,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
-
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
GetStorageFromInputStream(
const css::uno::Reference < css::io::XInputStream >& xStream,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -124,33 +117,28 @@ public:
const css::uno::Reference < css::io::XStream >& xStream,
sal_Int32 nStorageMode = css::embed::ElementModes::READWRITE,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static void CopyInputToOutput(
const css::uno::Reference< css::io::XInputStream >& xInput,
- const css::uno::Reference< css::io::XOutputStream >& xOutput )
- throw ( css::uno::Exception );
+ const css::uno::Reference< css::io::XOutputStream >& xOutput );
/// @throws css::uno::Exception
static css::uno::Reference< css::io::XInputStream >
GetInputStreamFromURL(
const OUString& aURL,
- const css::uno::Reference< css::uno::XComponentContext >& context )
- throw ( css::uno::Exception );
+ const css::uno::Reference< css::uno::XComponentContext >& context );
/// @throws css::uno::Exception
static void SetCommonStorageEncryptionData(
const css::uno::Reference< css::embed::XStorage >& xStorage,
- const css::uno::Sequence< css::beans::NamedValue >& aEncryptionData )
- throw ( css::uno::Exception );
+ const css::uno::Sequence< css::beans::NamedValue >& aEncryptionData );
// the following method supports only storages of OOo formats
/// @throws css::uno::Exception
static sal_Int32 GetXStorageFormat(
- const css::uno::Reference< css::embed::XStorage >& xStorage )
- throw ( css::uno::Exception, std::exception );
+ const css::uno::Reference< css::embed::XStorage >& xStorage );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -159,8 +147,7 @@ public:
const OUString& aURL,
sal_Int32 nStorageMode,
const css::uno::Reference< css::uno::XComponentContext >& rxContext
- = css::uno::Reference< css::uno::XComponentContext >() )
- throw ( css::uno::Exception );
+ = css::uno::Reference< css::uno::XComponentContext >() );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -170,8 +157,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rxContext
= css::uno::Reference< css::uno::XComponentContext >(),
bool bRepairStorage = false,
- bool bUseBufferedStream = false )
- throw ( css::uno::Exception );
+ bool bUseBufferedStream = false );
/// @throws css::uno::Exception
static css::uno::Reference< css::embed::XStorage >
@@ -182,8 +168,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rxContext
= css::uno::Reference< css::uno::XComponentContext >(),
bool bRepairStorage = false,
- bool bUseBufferedStream = false )
- throw ( css::uno::Exception );
+ bool bUseBufferedStream = false );
static css::uno::Sequence< css::beans::NamedValue >
CreatePackageEncryptionData(