summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appbaslib.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-01-29 14:07:20 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-01-29 14:07:20 +0000
commit1cf134106f52177cc892f54e817ddc6c087e1252 (patch)
treec60d1a567ba2959bbff69e59683a8fa87615f26c /sfx2/source/appl/appbaslib.cxx
parent1d43702edd32392779c73abd077ac4da60c5026a (diff)
INTEGRATION: CWS npower5 (1.2.78); FILE MERGED
2007/01/24 16:15:59 npower 1.2.78.2: Issue number: 71380 fix pass by ref for SfxBasicManagerHolder::LegacyPsswdBinaryLimitExceeded() 2007/01/17 16:49:34 npower 1.2.78.1: #i71380# re-add code to raise ui when trying to save password protected libraries containing modules that exceed the size limit
Diffstat (limited to 'sfx2/source/appl/appbaslib.cxx')
-rw-r--r--sfx2/source/appl/appbaslib.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx
index db6de010cc90..ecdfd871f327 100644
--- a/sfx2/source/appl/appbaslib.cxx
+++ b/sfx2/source/appl/appbaslib.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: appbaslib.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2006-11-08 11:56:47 $
+ * last change: $Author: rt $ $Date: 2007-01-29 15:07:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -152,6 +152,17 @@ SfxLibraryContainer* SfxBasicManagerHolder::impl_getContainer( ContainerType _eT
return NULL;
}
+// could have moved this to basic/BasicManager class, however probably best
+// to keep the nasty use of the uno implementation SfxLibraryContainer class in
+// one place
+sal_Bool
+SfxBasicManagerHolder::LegacyPsswdBinaryLimitExceeded( Sequence< rtl::OUString >& sModules )
+{
+ if ( mpBasicLibContainer )
+ return mpBasicLibContainer->LegacyPsswdBinaryLimitExceeded( sModules );
+ return sal_True;
+}
+
//============================================================================
// Service for application library container
SFX_IMPL_ONEINSTANCEFACTORY( SfxApplicationDialogLibraryContainer )