summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/outlnvs2.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-10-24 15:08:09 +0000
committerChristian Lippka <cl@openoffice.org>2002-10-24 15:08:09 +0000
commite6dd18a60015443e0ea80dd9a561741443376fd3 (patch)
treedb0f0db3b174e8351c99ae023ee0a3afec877c07 /sd/source/ui/view/outlnvs2.cxx
parentecd3eb002a3cdc3afa459800a27672a45cc1e1eb (diff)
#103760# added language listbox for fields
Diffstat (limited to 'sd/source/ui/view/outlnvs2.cxx')
-rw-r--r--sd/source/ui/view/outlnvs2.cxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx
index ddfc9f1bfae6..935d907dc856 100644
--- a/sd/source/ui/view/outlnvs2.cxx
+++ b/sd/source/ui/view/outlnvs2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outlnvs2.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: cl $ $Date: 2002-07-26 10:59:46 $
+ * last change: $Author: cl $ $Date: 2002-10-24 16:08:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -547,7 +547,7 @@ void SdOutlineViewShell::FuTemporary(SfxRequest &rReq)
pFldItem->GetField()->ISA( SvxExtTimeField ) ) )
{
// Dialog...
- SdModifyFieldDlg aDlg( pWindow, pFldItem->GetField() );
+ SdModifyFieldDlg aDlg( pWindow, pFldItem->GetField(), pOutlinerView->GetAttribs() );
if( aDlg.Execute() == RET_OK )
{
SvxFieldData* pField = aDlg.GetField();
@@ -574,6 +574,16 @@ void SdOutlineViewShell::FuTemporary(SfxRequest &rReq)
delete pField;
}
+
+ SfxItemSet aSet( aDlg.GetItemSet() );
+ if( aSet.Count() )
+ {
+ pOutlinerView->SetAttribs( aSet );
+
+ Outliner* pOutliner = pOutlinerView->GetOutliner();
+ if( pOutliner )
+ pOutliner->UpdateFields();
+ }
}
}