summaryrefslogtreecommitdiff
path: root/svtools/source/contnr
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-11-26 20:05:17 +0000
committerRüdiger Timm <rt@openoffice.org>2004-11-26 20:05:17 +0000
commitcb6e9618b8f7998a944cf66d03514b7cd309dd04 (patch)
tree79d8531dcdd83a30d42708a13e4085899399906e /svtools/source/contnr
parentf43acd6ffe8b64220aa1521dfaa00d78c07e49d6 (diff)
INTEGRATION: CWS presentationengine01 (1.6.106); FILE MERGED
2004/08/29 18:06:55 cl 1.6.106.1: added support for non selectable entries
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r--svtools/source/contnr/treelist.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index 129db472a56e..748167edd24f 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: treelist.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2004-06-16 10:11:30 $
+ * last change: $Author: rt $ $Date: 2004-11-26 21:05:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1443,7 +1443,7 @@ BOOL SvTreeList::Select( SvListView* pView, SvListEntry* pEntry, BOOL bSelect )
SvViewData* pViewData = pView->GetViewData( pEntry );
if ( bSelect )
{
- if ( pViewData->IsSelected() )
+ if ( pViewData->IsSelected() || !pViewData->IsSelectable() )
return FALSE;
else
{