summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-06 15:33:55 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-06 15:33:55 +0000
commited2ada93ed3512a268cbff8fb22886bdbb1061ae (patch)
tree8ec03996613c16422b268c62bd2b4ff4f607f0ef /chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx
parente09d425490182bfc283409c54984a51681cfec45 (diff)
INTEGRATION: CWS chart20_DEV300 (1.2.4); FILE MERGED
2008/02/21 15:59:25 bm 1.2.4.1: #i366# error bars from ranges
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx
index 888f4adf3aa8..88002ffb460d 100644
--- a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx
+++ b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dlg_InsertErrorBars.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2008-02-18 15:42:41 $
+ * last change: $Author: kz $ $Date: 2008-03-06 16:33:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -63,16 +63,20 @@ namespace chart
InsertErrorBarsDialog::InsertErrorBarsDialog(
Window* pParent, const SfxItemSet& rMyAttrs,
+ const uno::Reference< chart2::XChartDocument > & xChartDocument,
ErrorBarResources::tErrorBarType eType /* = ErrorBarResources::ERROR_BAR_Y */ ) :
ModalDialog( pParent, SchResId( DLG_DATA_YERRORBAR )),
rInAttrs( rMyAttrs ),
aBtnOK( this, SchResId( BTN_OK )),
aBtnCancel( this, SchResId( BTN_CANCEL )),
aBtnHelp( this, SchResId( BTN_HELP )),
- m_apErrorBarResources( new ErrorBarResources( this, rInAttrs, eType ))
+ m_apErrorBarResources( new ErrorBarResources(
+ this, this, rInAttrs,
+ /* bNoneAvailable = */ true, eType ))
{
FreeResource();
this->SetText( String( SchResId( STR_PAGE_YERROR_BARS )));
+ m_apErrorBarResources->SetChartDocumentForRangeChoosing( xChartDocument );
}
InsertErrorBarsDialog::~InsertErrorBarsDialog()