summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-03 12:03:35 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-03 12:03:35 +0000
commit74ea3b226ca732a9e22925169807803f61ee9ca0 (patch)
tree73d641a8c8ce25c2a62f9c48bdcafc30a31e8c4e /basctl
parentfd9714cc3a8449c103fb65e71dfd395a5b9154a4 (diff)
INTEGRATION: CWS tkr01 (1.49.34); FILE MERGED
2007/06/26 11:22:44 tkr 1.49.34.2: RESYNC: (1.49-1.50); FILE MERGED 2007/06/26 10:01:52 tkr 1.49.34.1: #i78846# Enable TreeControl support
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlgedobj.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx
index 0155c476b50a..cc1404a8523f 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dlgedobj.cxx,v $
*
- * $Revision: 1.50 $
+ * $Revision: 1.51 $
*
- * last change: $Author: kz $ $Date: 2007-06-20 10:39:32 $
+ * last change: $Author: rt $ $Date: 2007-07-03 13:03:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -873,6 +873,11 @@ sal_Bool DlgEdObj::supportsService( const sal_Char* _pServiceName ) const
{
nResId = RID_STR_CLASS_FILECONTROL;
}
+ else if ( supportsService( "com.sun.star.awt.tree.TreeControlModel" ) )
+ {
+ nResId = RID_STR_CLASS_TREECONTROL;
+ }
+
else
{
nResId = RID_STR_CLASS_CONTROL;
@@ -998,6 +1003,10 @@ sal_uInt16 DlgEdObj::GetObjIdentifier() const
{
return OBJ_DLG_FILECONTROL;
}
+ else if ( supportsService( "com.sun.star.awt.tree.TreeControlModel" ))
+ {
+ return OBJ_DLG_TREECONTROL;
+ }
else
{
return OBJ_DLG_CONTROL;