summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-08-14 10:45:43 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-08-14 10:45:43 +0000
commita0f58d1dc00a22b745eb541ab84136d3d8d5bc87 (patch)
treea42b1fd87cb7d917457e4446162c801df47ac98b /svtools
parent0eebf3ae6b01f49019dafca6120be3cd5d420078 (diff)
INTEGRATION: CWS c03v5_SRC680 (1.27.16); FILE MERGED
2006/07/28 09:20:54 rt 1.27.16.1: #138337# proper implementation of IsDataBase (joined from CWS c03v4).
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/moduleoptions.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svtools/source/config/moduleoptions.cxx b/svtools/source/config/moduleoptions.cxx
index 32976d81a4be..698c235c7a9a 100644
--- a/svtools/source/config/moduleoptions.cxx
+++ b/svtools/source/config/moduleoptions.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: moduleoptions.cxx,v $
*
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 20:47:22 $
+ * last change: $Author: hr $ $Date: 2006-08-14 11:45:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1342,7 +1342,8 @@ sal_Bool SvtModuleOptions::IsBasicIDE() const
//*****************************************************************************************************************
sal_Bool SvtModuleOptions::IsDataBase() const
{
- return sal_True;
+ ::osl::MutexGuard aGuard( impl_GetOwnStaticMutex() );
+ return m_pDataContainer->IsModuleInstalled( E_SDATABASE );
}
//*****************************************************************************************************************
sal_uInt32 SvtModuleOptions::GetFeatures() const