summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-03 12:02:16 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-03 12:02:16 +0000
commitbb9b767c10f95c6c5600c9767883348210f2747e (patch)
treead262b651ac7ce76407207c19e4f78553b115bed /basctl
parent82a2eb3c1b018f15240180b5a53fe51b119d2002 (diff)
INTEGRATION: CWS tkr01 (1.36.34); FILE MERGED
2007/06/26 10:01:52 tkr 1.36.34.1: #i78846# Enable TreeControl support
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside3.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index e851eb35e634..064f56345dde 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: baside3.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: hr $ $Date: 2007-06-29 16:33:32 $
+ * last change: $Author: rt $ $Date: 2007-07-03 13:02:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -424,6 +424,7 @@ void __EXPORT DialogWindow::GetState( SfxItemSet& rSet )
case OBJ_DLG_FORMATTEDFIELD: nObj = SVX_SNAP_FORMATTEDFIELD; break;
case OBJ_DLG_PATTERNFIELD: nObj = SVX_SNAP_PATTERNFIELD; break;
case OBJ_DLG_FILECONTROL: nObj = SVX_SNAP_FILECONTROL; break;
+ case OBJ_DLG_TREECONTROL: nObj = SVX_SNAP_TREECONTROL; break;
default: nObj = 0;
}
#ifdef DBG_UTIL
@@ -628,6 +629,13 @@ void __EXPORT DialogWindow::ExecuteCommand( SfxRequest& rReq )
GetEditor()->SetInsertObj( OBJ_DLG_FILECONTROL );
}
break;
+ case SVX_SNAP_TREECONTROL:
+ {
+ GetEditor()->SetMode( DLGED_INSERT );
+ GetEditor()->SetInsertObj( OBJ_DLG_TREECONTROL );
+ }
+ break;
+
case SVX_SNAP_SELECT:
{
GetEditor()->SetMode( DLGED_SELECT );