diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-15 16:01:53 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-15 16:01:53 +0000 |
commit | a020eebfb0a2585dc0d59dbc5e707b29b1e792f1 (patch) | |
tree | c19eaf28cb6cde8c634edbb7e341a87158723308 /sfx2 | |
parent | 53ffbbfd7b929d25ba2e1cf453bd51e7de05c7f1 (diff) |
INTEGRATION: CWS basmgr02 (1.46.68); FILE MERGED
2007/01/17 11:35:15 fs 1.46.68.2: #i73329#
2007/01/10 14:05:58 fs 1.46.68.1: #i73329# SaveBasicAndDialogContainer instead of two single methods
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appbas.cxx | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 895aba6010f3..184d2d7d983e 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -4,9 +4,9 @@ * * $RCSfile: appbas.cxx,v $ * - * $Revision: 1.46 $ + * $Revision: 1.47 $ * - * last change: $Author: kz $ $Date: 2006-11-08 11:56:37 $ + * last change: $Author: obo $ $Date: 2007-03-15 17:01:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -509,18 +509,10 @@ sal_uInt16 SfxApplication::SaveBasicManager() const } //-------------------------------------------------------------------- -sal_uInt16 SfxApplication::SaveDialogContainer() const +sal_uInt16 SfxApplication::SaveBasicAndDialogContainer() const { - // Save Dialog Container - pAppData_Impl->pBasicManager->storeLibraries( SfxBasicManagerHolder::DIALOGS, false ); - return 0; -} - -//-------------------------------------------------------------------- -sal_uInt16 SfxApplication::SaveBasicContainer() const -{ - // Save Dialog Container - pAppData_Impl->pBasicManager->storeLibraries( SfxBasicManagerHolder::SCRIPTS, false ); + if ( pAppData_Impl->pBasicManager->isValid() ) + pAppData_Impl->pBasicManager->storeAllLibraries(); return 0; } |