diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-11-25 00:17:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-11-25 10:12:38 +0100 |
commit | a534361141d69096d896e6e0552d19f3138eeeb3 (patch) | |
tree | cb483086666cc65b9a902c81967fc6f49d22676f /basic/source/inc | |
parent | da4a0d1520c501b5f8a4c3385cdc5f76653213f4 (diff) |
Fold OldBasicPassword into basic::SfxScriptLibraryContainer
Change-Id: Iaeaf30f63760185a2b1dd72feb980b94d9931d55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143253
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic/source/inc')
-rw-r--r-- | basic/source/inc/scriptcont.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/inc/scriptcont.hxx b/basic/source/inc/scriptcont.hxx index f80fd81791b0..2d0e8bcf3232 100644 --- a/basic/source/inc/scriptcont.hxx +++ b/basic/source/inc/scriptcont.hxx @@ -29,7 +29,7 @@ namespace basic { -class SfxScriptLibraryContainer final : public SfxLibraryContainer, public OldBasicPassword +class SfxScriptLibraryContainer final : public SfxLibraryContainer { css::uno::Reference< css::container::XNameAccess > mxCodeNameAccess; @@ -75,9 +75,6 @@ class SfxScriptLibraryContainer final : public SfxLibraryContainer, public OldBa virtual void onNewRootStorage() override; - // OldBasicPassword interface - virtual void setLibraryPassword( const OUString& rLibraryName, const OUString& rPassword ) override; - virtual OUString getInfoFileName() const override; virtual OUString getOldInfoFileName() const override; virtual OUString getLibElementFileExtension() const override; @@ -99,6 +96,9 @@ public: // Methods XServiceInfo virtual OUString SAL_CALL getImplementationName( ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; + + // Library password handling for 5.0 documents + void setLibraryPassword( const OUString& rLibraryName, const OUString& rPassword ); }; |