From e8cba04146b80413509db58aed40546bbd2a08e7 Mon Sep 17 00:00:00 2001
From: RĂ¼diger Timm <rt@openoffice.org>
Date: Tue, 3 Jul 2007 12:04:24 +0000
Subject: INTEGRATION: CWS tkr01 (1.26.12); FILE MERGED 2007/06/26 10:01:52 tkr
 1.26.12.1: #i78846# Enable TreeControl support

---
 basctl/source/dlged/propbrw.cxx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'basctl/source/dlged')

diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index c881c5cb7c70..5f625d0dba36 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: propbrw.cxx,v $
  *
- *  $Revision: 1.26 $
+ *  $Revision: 1.27 $
  *
- *  last change: $Author: kz $ $Date: 2007-05-10 10:44:54 $
+ *  last change: $Author: rt $ $Date: 2007-07-03 13:04:24 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -529,6 +529,10 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject )
         {
             nResId = RID_STR_CLASS_FILECONTROL;
         }
+        else if ( xServiceInfo->supportsService( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.tree.TreeControlModel" ) ) ) )
+        {
+            nResId = RID_STR_CLASS_TREECONTROL;
+        }
         else
         {
             nResId = RID_STR_CLASS_CONTROL;
-- 
cgit