From a155f7f65f418b33f3c09c8abb5ba99863033abd Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 2 Jan 2007 14:41:30 +0000
Subject: INTEGRATION: CWS ab31 (1.3.8); FILE MERGED 2006/12/14 11:14:42 ab
1.3.8.2: #i72282# Support renaming of localized libraries 2006/12/07 08:33:53
ab 1.3.8.1: #i72346# StringResource support for dialog libraries
---
basic/source/uno/scriptcont.cxx | 47 +++++++++++++++++++++++++++++++++++++----
1 file changed, 43 insertions(+), 4 deletions(-)
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index 0930bdb57af0..c0874ea2511b 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: scriptcont.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: kz $ $Date: 2006-11-09 10:57:41 $
+ * last change: $Author: hr $ $Date: 2007-01-02 15:41:30 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -209,15 +209,18 @@ SfxScriptLibraryContainer::SfxScriptLibraryContainer
}
// Methods to get library instances of the correct type
-SfxLibrary* SfxScriptLibraryContainer::implCreateLibrary( void )
+SfxLibrary* SfxScriptLibraryContainer::implCreateLibrary( const OUString& aName )
{
+ (void)aName; // Only needed for SfxDialogLibrary
SfxLibrary* pRet = (SfxLibrary*) new SfxScriptLibrary( mxMSF, mxSFI );
return pRet;
}
SfxLibrary* SfxScriptLibraryContainer::implCreateLibraryLink
- ( const OUString& aLibInfoFileURL, const OUString& StorageURL, sal_Bool ReadOnly )
+ ( const OUString& aName, const OUString& aLibInfoFileURL,
+ const OUString& StorageURL, sal_Bool ReadOnly )
{
+ (void)aName; // Only needed for SfxDialogLibrary
SfxLibrary* pRet =
(SfxLibrary*) new SfxScriptLibrary
( mxMSF, mxSFI, aLibInfoFileURL, StorageURL, ReadOnly );
@@ -1088,6 +1091,10 @@ void SAL_CALL SfxScriptLibraryContainer::initialize( const Sequence< Any >& aArg
init( aInitialisationParam, aScriptLanguage );
}
+void SfxScriptLibraryContainer::implSetStorage( const Reference< embed::XStorage >& xStorage )
+{
+ (void)xStorage;
+}
//============================================================================
// Service
@@ -1171,6 +1178,38 @@ SfxScriptLibrary::SfxScriptLibrary( Reference< XMultiServiceFactory > xMSF,
{
}
+// Provide modify state including resources
+sal_Bool SfxScriptLibrary::isModified( void )
+{
+ return implIsModified(); // No resources
+}
+
+void SfxScriptLibrary::storeResources( void )
+{
+ // No resources
+}
+
+void SfxScriptLibrary::storeResourcesToURL( const ::rtl::OUString& URL,
+ const Reference< task::XInteractionHandler >& Handler )
+{
+ (void)URL;
+ (void)Handler;
+}
+
+void SfxScriptLibrary::storeResourcesAsURL
+ ( const ::rtl::OUString& URL, const ::rtl::OUString& NewName )
+{
+ (void)URL;
+ (void)NewName;
+}
+
+void SfxScriptLibrary::storeResourcesToStorage( const ::com::sun::star::uno::Reference
+ < ::com::sun::star::embed::XStorage >& xStorage )
+{
+ // No resources
+ (void)xStorage;
+}
+
//============================================================================
} // namespace basic
--
cgit