summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-03 12:04:24 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-03 12:04:24 +0000
commite8cba04146b80413509db58aed40546bbd2a08e7 (patch)
tree80340d791883f8484eca666bc7f651bcd15a7ea8 /basctl
parent5fe9a3ce12e733080f533660a839e14d92aad3e4 (diff)
INTEGRATION: CWS tkr01 (1.26.12); FILE MERGED
2007/06/26 10:01:52 tkr 1.26.12.1: #i78846# Enable TreeControl support
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/propbrw.cxx8
1 files changed, 6 insertions, 2 deletions
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;