diff options
Diffstat (limited to 'chart2/source/controller/dialogs')
60 files changed, 112 insertions, 112 deletions
diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx index 5d6f1dd6db63..a58043df97c0 100644 --- a/chart2/source/controller/dialogs/DataBrowser.cxx +++ b/chart2/source/controller/dialogs/DataBrowser.cxx @@ -101,7 +101,7 @@ namespace impl class SeriesHeaderEdit : public Edit { public: - SeriesHeaderEdit( Window * pParent ); + SeriesHeaderEdit( vcl::Window * pParent ); virtual ~SeriesHeaderEdit(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -114,7 +114,7 @@ private: bool m_bShowWarningBox; }; -SeriesHeaderEdit::SeriesHeaderEdit( Window * pParent ) : +SeriesHeaderEdit::SeriesHeaderEdit( vcl::Window * pParent ) : Edit( pParent ), m_nStartColumn( 0 ), m_bShowWarningBox( false ) @@ -147,7 +147,7 @@ void SeriesHeaderEdit::MouseButtonDown( const MouseEvent& rMEvt ) class SeriesHeader { public: - explicit SeriesHeader(Window * pParent, Window *pColorParent); + explicit SeriesHeader(vcl::Window * pParent, vcl::Window *pColorParent); void SetColor( const Color & rCol ); void SetPos( const Point & rPos ); @@ -200,7 +200,7 @@ private: bool m_bSeriesNameChangePending; }; -SeriesHeader::SeriesHeader( Window * pParent, Window *pColorParent ) : +SeriesHeader::SeriesHeader( vcl::Window * pParent, vcl::Window *pColorParent ) : m_spSymbol( new FixedImage( pParent, WB_NOBORDER )), m_spSeriesName( new SeriesHeaderEdit( pParent )), m_spColorBar( new FixedText( pColorParent, WB_NOBORDER )), @@ -455,7 +455,7 @@ sal_Int32 lcl_getColumnInDataOrHeader( } // anonymous namespace -DataBrowser::DataBrowser( Window* pParent, WinBits nStyle, bool bLiveUpdate ) : +DataBrowser::DataBrowser( vcl::Window* pParent, WinBits nStyle, bool bLiveUpdate ) : ::svt::EditBrowseBox( pParent, nStyle, EBBF_SMART_TAB_TRAVEL | EBBF_HANDLE_COLUMN_TEXT, BROWSER_STANDARD_FLAGS ), m_nSeekRow( 0 ), m_bIsReadOnly( false ), @@ -580,8 +580,8 @@ void DataBrowser::RenewTable() GoToColumnId( ::std::min( nOldColId, static_cast< sal_uInt16 >( ColCount() - 1 ))); Dialog* pDialog = GetParentDialog(); - Window* pWin = pDialog->get<VclContainer>("columns"); - Window* pColorWin = pDialog->get<VclContainer>("colorcolumns"); + vcl::Window* pWin = pDialog->get<VclContainer>("columns"); + vcl::Window* pColorWin = pDialog->get<VclContainer>("colorcolumns"); // fill series headers clearHeaders(); @@ -1216,8 +1216,8 @@ void DataBrowser::EndScroll() void DataBrowser::RenewSeriesHeaders() { Dialog* pDialog = GetParentDialog(); - Window* pWin = pDialog->get<VclContainer>("columns"); - Window* pColorWin = pDialog->get<VclContainer>("colorcolumns"); + vcl::Window* pWin = pDialog->get<VclContainer>("columns"); + vcl::Window* pColorWin = pDialog->get<VclContainer>("colorcolumns"); clearHeaders(); DataBrowserModel::tDataHeaderVector aHeaders( m_apDataBrowserModel->getDataHeaders()); @@ -1260,8 +1260,8 @@ void DataBrowser::ImplAdjustHeaderControls() nCurrentPos += this->GetColumnWidth( 0 ); Dialog* pDialog = GetParentDialog(); - Window* pWin = pDialog->get<VclContainer>("columns"); - Window* pColorWin = pDialog->get<VclContainer>("colorcolumns"); + vcl::Window* pWin = pDialog->get<VclContainer>("columns"); + vcl::Window* pColorWin = pDialog->get<VclContainer>("colorcolumns"); pWin->set_margin_left(nCurrentPos); pColorWin->set_margin_left(nCurrentPos); diff --git a/chart2/source/controller/dialogs/DataBrowser.hxx b/chart2/source/controller/dialogs/DataBrowser.hxx index 3d908aa4517c..f4c82b3dd012 100644 --- a/chart2/source/controller/dialogs/DataBrowser.hxx +++ b/chart2/source/controller/dialogs/DataBrowser.hxx @@ -67,7 +67,7 @@ protected: void SetDirty(); public: - DataBrowser( Window* pParent, WinBits nStyle, bool bLiveUpdate ); + DataBrowser( vcl::Window* pParent, WinBits nStyle, bool bLiveUpdate ); virtual ~DataBrowser(); /** GetCellText returns the text at the given position diff --git a/chart2/source/controller/dialogs/TextDirectionListBox.cxx b/chart2/source/controller/dialogs/TextDirectionListBox.cxx index 46149a6befc5..85c1def2c08d 100644 --- a/chart2/source/controller/dialogs/TextDirectionListBox.cxx +++ b/chart2/source/controller/dialogs/TextDirectionListBox.cxx @@ -27,7 +27,7 @@ namespace chart { -TextDirectionListBox::TextDirectionListBox( Window* pParent, Window* pWindow1, Window* pWindow2 ) : +TextDirectionListBox::TextDirectionListBox( vcl::Window* pParent, vcl::Window* pWindow1, vcl::Window* pWindow2 ) : svx::FrameDirectionListBox( pParent, WB_BORDER | WB_TABSTOP | WB_DROPDOWN) { InsertEntryValue( SCH_RESSTR( STR_TEXT_DIRECTION_LTR ), FRMDIR_HORI_LEFT_TOP ); @@ -42,7 +42,7 @@ TextDirectionListBox::TextDirectionListBox( Window* pParent, Window* pWindow1, W } } -extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeTextDirectionListBox(Window *pParent, VclBuilder::stringmap &) +extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeTextDirectionListBox(vcl::Window *pParent, VclBuilder::stringmap &) { return new TextDirectionListBox(pParent); } diff --git a/chart2/source/controller/dialogs/dlg_ChartType.cxx b/chart2/source/controller/dialogs/dlg_ChartType.cxx index 4acb3382866e..30d03d140def 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType.cxx @@ -33,7 +33,7 @@ namespace chart using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; -ChartTypeDialog::ChartTypeDialog( Window* pParent +ChartTypeDialog::ChartTypeDialog( vcl::Window* pParent , const uno::Reference< frame::XModel >& xChartModel , const uno::Reference< uno::XComponentContext >& xContext ) : ModalDialog( pParent, "ChartTypeDialog", diff --git a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx index 3ca294af9a3b..9cd0f7c863f1 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx @@ -84,7 +84,7 @@ void ChartTypeUnoDlg::implInitialize(const uno::Any& _rValue) else ChartTypeUnoDlg_BASE::implInitialize(_rValue); } -Dialog* ChartTypeUnoDlg::createDialog(Window* _pParent) +Dialog* ChartTypeUnoDlg::createDialog(vcl::Window* _pParent) { return new ChartTypeDialog( _pParent, m_xChartModel, m_aContext ); } diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx index a1cf29d3d9ea..d7faca0c4571 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx @@ -50,7 +50,7 @@ namespace const sal_Int32 nPageCount = 4; } -CreationWizard::CreationWizard( Window* pParent, const uno::Reference< frame::XModel >& xChartModel +CreationWizard::CreationWizard( vcl::Window* pParent, const uno::Reference< frame::XModel >& xChartModel , const uno::Reference< uno::XComponentContext >& xContext , sal_Int32 nOnePageOnlyIndex ) : svt::RoadmapWizard( pParent, diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx index 8bc46fd193bd..edf8d85cf4f8 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx @@ -173,7 +173,7 @@ void CreationWizardUnoDlg::createDialogOnDemand() SolarMutexGuard aSolarGuard; if( !m_pDialog ) { - Window* pParent = NULL; + vcl::Window* pParent = NULL; if( !m_xParentWindow.is() && m_xChartModel.is() ) { uno::Reference< frame::XController > xController( diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx index a1ebedc7bafc..4183aaf6b503 100644 --- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx +++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx @@ -39,7 +39,7 @@ using ::com::sun::star::uno::Reference; namespace chart { -DataEditor::DataEditor(Window* pParent, +DataEditor::DataEditor(vcl::Window* pParent, const Reference< chart2::XChartDocument > & xChartDoc, const Reference< uno::XComponentContext > & xContext) : ModalDialog(pParent, "ChartDataDialog", @@ -48,7 +48,7 @@ DataEditor::DataEditor(Window* pParent, , m_xChartDoc(xChartDoc) , m_xContext(xContext) { - m_xBrwData.reset(new DataBrowser(get<Window>("datawindow"), WB_BORDER | WB_TABSTOP, true /* bLiveUpdate */)); + m_xBrwData.reset(new DataBrowser(get<vcl::Window>("datawindow"), WB_BORDER | WB_TABSTOP, true /* bLiveUpdate */)); m_xBrwData->set_hexpand(true); m_xBrwData->set_vexpand(true); m_xBrwData->set_expand(true); @@ -201,13 +201,13 @@ bool DataEditor::ApplyChangesToModel() // travels/no longer travels over this window. _rMemFunc may be // TaskPaneList::AddWindow or TaskPaneList::RemoveWindow void DataEditor::notifySystemWindow( - Window* pWindow, Window* pToRegister, - ::comphelper::mem_fun1_t< TaskPaneList, Window* > rMemFunc ) + vcl::Window* pWindow, vcl::Window* pToRegister, + ::comphelper::mem_fun1_t< TaskPaneList, vcl::Window* > rMemFunc ) { OSL_ENSURE( pWindow, "Window must not be null!" ); if( !pWindow ) return; - Window* pParent = pWindow->GetParent(); + vcl::Window* pParent = pWindow->GetParent(); while( pParent && ! pParent->IsSystemWindow() ) { pParent = pParent->GetParent(); diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx index a0e810df8e05..bfa90c7647be 100644 --- a/chart2/source/controller/dialogs/dlg_DataSource.cxx +++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx @@ -84,7 +84,7 @@ Reference< chart2::XChartTypeTemplate > DocumentChartTypeTemplateProvider::getCu class DataSourceTabControl : public TabControl { public: - DataSourceTabControl(Window* pParent); + DataSourceTabControl(vcl::Window* pParent); virtual bool DeactivatePage() SAL_OVERRIDE; @@ -95,7 +95,7 @@ private: bool m_bTogglingEnabled; }; -DataSourceTabControl::DataSourceTabControl(Window* pParent) +DataSourceTabControl::DataSourceTabControl(vcl::Window* pParent) : TabControl(pParent) , m_bTogglingEnabled(true) { @@ -124,7 +124,7 @@ enum DataSourceDialogPages TP_DATA_SOURCE = 2 }; -DataSourceDialog::DataSourceDialog(Window * pParent, +DataSourceDialog::DataSourceDialog(vcl::Window * pParent, const Reference< XChartDocument > & xChartDocument, const Reference< uno::XComponentContext > & xContext) : TabDialog(pParent, "DataRangeDialog", diff --git a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx index 92699fee0fd9..50fbc2f57daa 100644 --- a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx @@ -42,7 +42,7 @@ InsertAxisOrGridDialogData::InsertAxisOrGridDialogData() // SchAxisDlg -SchAxisDlg::SchAxisDlg(Window* pWindow, +SchAxisDlg::SchAxisDlg(vcl::Window* pWindow, const InsertAxisOrGridDialogData& rInput, bool bAxisDlg) : ModalDialog(pWindow, bAxisDlg ? @@ -95,7 +95,7 @@ void SchAxisDlg::getResult( InsertAxisOrGridDialogData& rOutput ) rOutput.aExistenceList[5]=m_pCbSecondaryZ->IsChecked(); } -SchGridDlg::SchGridDlg( Window* pParent, const InsertAxisOrGridDialogData& rInput ) +SchGridDlg::SchGridDlg( vcl::Window* pParent, const InsertAxisOrGridDialogData& rInput ) : SchAxisDlg( pParent, rInput, false )//rInAttrs, b3D, bNet, bSecondaryX, bSecondaryY, false ) { } diff --git a/chart2/source/controller/dialogs/dlg_InsertDataLabel.cxx b/chart2/source/controller/dialogs/dlg_InsertDataLabel.cxx index f68e4ae955f4..83c13095025f 100644 --- a/chart2/source/controller/dialogs/dlg_InsertDataLabel.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertDataLabel.cxx @@ -23,7 +23,7 @@ namespace chart { -DataLabelsDialog::DataLabelsDialog(Window* pWindow, const SfxItemSet& rInAttrs, SvNumberFormatter* pFormatter) : +DataLabelsDialog::DataLabelsDialog(vcl::Window* pWindow, const SfxItemSet& rInAttrs, SvNumberFormatter* pFormatter) : ModalDialog(pWindow ,"dlg_DataLabels" ,"modules/schart/ui/dlg_DataLabel.ui"), diff --git a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx index b392b717a2df..fd7f0a0e03bb 100644 --- a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx @@ -39,7 +39,7 @@ namespace chart { InsertErrorBarsDialog::InsertErrorBarsDialog( - Window* pParent, const SfxItemSet& rMyAttrs, + vcl::Window* pParent, const SfxItemSet& rMyAttrs, const uno::Reference< chart2::XChartDocument > & xChartDocument, ErrorBarResources::tErrorBarType eType /* = ErrorBarResources::ERROR_BAR_Y */ ) : ModalDialog( pParent diff --git a/chart2/source/controller/dialogs/dlg_InsertLegend.cxx b/chart2/source/controller/dialogs/dlg_InsertLegend.cxx index 836223934ac1..9e113052eadb 100644 --- a/chart2/source/controller/dialogs/dlg_InsertLegend.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertLegend.cxx @@ -25,7 +25,7 @@ namespace chart using namespace ::com::sun::star; -SchLegendDlg::SchLegendDlg(Window* pWindow, const uno::Reference< uno::XComponentContext>& xCC ) +SchLegendDlg::SchLegendDlg(vcl::Window* pWindow, const uno::Reference< uno::XComponentContext>& xCC ) : ModalDialog(pWindow ,"dlg_InsertLegend" ,"modules/schart/ui/dlg_InsertLegend.ui") diff --git a/chart2/source/controller/dialogs/dlg_InsertTitle.cxx b/chart2/source/controller/dialogs/dlg_InsertTitle.cxx index 5e5c83ded6ca..742d6a5ae1d6 100644 --- a/chart2/source/controller/dialogs/dlg_InsertTitle.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertTitle.cxx @@ -25,7 +25,7 @@ namespace chart { -SchTitleDlg::SchTitleDlg(Window* pWindow, const TitleDialogData& rInput ) +SchTitleDlg::SchTitleDlg(vcl::Window* pWindow, const TitleDialogData& rInput ) : ModalDialog(pWindow, "InsertTitleDialog", "modules/schart/ui/inserttitledlg.ui") , m_xTitleResources(new TitleResources(*this, true)) { diff --git a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx index 100af2798467..a2ba7f3c0ca0 100644 --- a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx +++ b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx @@ -30,7 +30,7 @@ namespace chart { using namespace ::com::sun::star; -NumberFormatDialog::NumberFormatDialog(Window* pParent, SfxItemSet& rSet) +NumberFormatDialog::NumberFormatDialog(vcl::Window* pParent, SfxItemSet& rSet) : SfxSingleTabDialog(pParent, rSet, "FormatNumberDialog", "cui/ui/formatnumberdialog.ui") { diff --git a/chart2/source/controller/dialogs/dlg_NumberFormat.hxx b/chart2/source/controller/dialogs/dlg_NumberFormat.hxx index 0faabc29e93f..a27ff0caf7f0 100644 --- a/chart2/source/controller/dialogs/dlg_NumberFormat.hxx +++ b/chart2/source/controller/dialogs/dlg_NumberFormat.hxx @@ -21,7 +21,7 @@ #include <sfx2/basedlgs.hxx> -class Window; +namespace vcl { class Window; } class SfxItemSet; namespace chart @@ -30,7 +30,7 @@ namespace chart class NumberFormatDialog : public SfxSingleTabDialog { public: - NumberFormatDialog(Window* pParent, SfxItemSet& rSet); + NumberFormatDialog(vcl::Window* pParent, SfxItemSet& rSet); virtual ~NumberFormatDialog(); static SfxItemSet CreateEmptyItemSetForNumberFormatDialog( SfxItemPool& rItemPool ); diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx index 0bc20aea2d37..ac3157760999 100644 --- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx +++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx @@ -319,7 +319,7 @@ void SchAttribTabDlg::SetAxisMinorStepWidthForErrorBarDecimals( double fMinorSte m_fAxisMinorStepWidthForErrorBarDecimals = fMinorStepWidth; } -SchAttribTabDlg::SchAttribTabDlg(Window* pParent, +SchAttribTabDlg::SchAttribTabDlg(vcl::Window* pParent, const SfxItemSet* pAttr, const ObjectPropertiesDialogParameter* pDialogParameter, const ViewElementListProvider* pViewElementListProvider, diff --git a/chart2/source/controller/dialogs/dlg_ShapeFont.cxx b/chart2/source/controller/dialogs/dlg_ShapeFont.cxx index 929c9cd846fb..95a19805471b 100644 --- a/chart2/source/controller/dialogs/dlg_ShapeFont.cxx +++ b/chart2/source/controller/dialogs/dlg_ShapeFont.cxx @@ -34,7 +34,7 @@ using namespace ::com::sun::star; namespace chart { -ShapeFontDialog::ShapeFontDialog( Window* pParent, const SfxItemSet* pAttr, +ShapeFontDialog::ShapeFontDialog( vcl::Window* pParent, const SfxItemSet* pAttr, const ViewElementListProvider* pViewElementListProvider ) : SfxTabDialog(pParent, "CharDialog", "modules/schart/ui/chardialog.ui", pAttr) diff --git a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx index 44b343719d08..4ce313050cbe 100644 --- a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx +++ b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx @@ -32,7 +32,7 @@ using namespace ::com::sun::star; namespace chart { -ShapeParagraphDialog::ShapeParagraphDialog(Window* pParent, +ShapeParagraphDialog::ShapeParagraphDialog(vcl::Window* pParent, const SfxItemSet* pAttr) : SfxTabDialog(pParent, "ParagraphDialog", "modules/schart/ui/paradialog.ui", pAttr) diff --git a/chart2/source/controller/dialogs/dlg_View3D.cxx b/chart2/source/controller/dialogs/dlg_View3D.cxx index b393c17c388d..c346fdd23aaa 100644 --- a/chart2/source/controller/dialogs/dlg_View3D.cxx +++ b/chart2/source/controller/dialogs/dlg_View3D.cxx @@ -39,7 +39,7 @@ using namespace ::com::sun::star::chart2; sal_uInt16 View3DDialog::m_nLastPageId = 0; -View3DDialog::View3DDialog(Window* pParent, const uno::Reference< frame::XModel > & xChartModel, const XColorListRef &pColorTable ) +View3DDialog::View3DDialog(vcl::Window* pParent, const uno::Reference< frame::XModel > & xChartModel, const XColorListRef &pColorTable ) : TabDialog(pParent, "3DViewDialog", "modules/schart/ui/3dviewdialog.ui") , m_pGeometry(0) , m_pAppearance(0) diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index 0057bbe99ac6..24315a3de371 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -84,7 +84,7 @@ void lcl_setBoolItemToCheckBox( const SfxItemSet& rInAttrs, sal_uInt16 nWhichId, }//end anonymous namespace -DataLabelResources::DataLabelResources(VclBuilderContainer* pWindow, Window* pParent, const SfxItemSet& rInAttrs ) +DataLabelResources::DataLabelResources(VclBuilderContainer* pWindow, vcl::Window* pParent, const SfxItemSet& rInAttrs ) : m_pNumberFormatter(0), m_bNumberFormatMixedState(true), diff --git a/chart2/source/controller/dialogs/res_DataLabel.hxx b/chart2/source/controller/dialogs/res_DataLabel.hxx index b6d278969b92..0044e4a9d26e 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.hxx +++ b/chart2/source/controller/dialogs/res_DataLabel.hxx @@ -37,7 +37,7 @@ namespace chart class DataLabelResources { public: - DataLabelResources( VclBuilderContainer* pWindow, Window* pParent, const SfxItemSet& rInAttrs ); + DataLabelResources( VclBuilderContainer* pWindow, vcl::Window* pParent, const SfxItemSet& rInAttrs ); virtual ~DataLabelResources(); bool FillItemSet(SfxItemSet* rOutAttrs) const; @@ -83,7 +83,7 @@ private: bool m_bSourceFormatForValue; bool m_bSourceFormatForPercent; - Window* m_pWindow; + vcl::Window* m_pWindow; SfxItemPool* m_pPool; DECL_LINK(NumberFormatDialogHdl, PushButton * ); diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx index 911f3931ac01..9dd896f32362 100644 --- a/chart2/source/controller/dialogs/res_Trendline.cxx +++ b/chart2/source/controller/dialogs/res_Trendline.cxx @@ -39,7 +39,7 @@ void lcl_setValue( FormattedField& rFmtField, double fValue ) rFmtField.SetDefaultValue( fValue ); } -TrendlineResources::TrendlineResources( Window * pParent, const SfxItemSet& rInAttrs ) : +TrendlineResources::TrendlineResources( vcl::Window * pParent, const SfxItemSet& rInAttrs ) : m_eTrendLineType( CHREGRESS_LINEAR ), m_bTrendLineUnique( true ), m_pNumFormatter( NULL ), diff --git a/chart2/source/controller/dialogs/res_Trendline.hxx b/chart2/source/controller/dialogs/res_Trendline.hxx index 128d436ab863..0d4be04cdf4d 100644 --- a/chart2/source/controller/dialogs/res_Trendline.hxx +++ b/chart2/source/controller/dialogs/res_Trendline.hxx @@ -34,7 +34,7 @@ namespace chart class TrendlineResources { public: - TrendlineResources( Window* pParent, const SfxItemSet& rInAttrs ); + TrendlineResources( vcl::Window* pParent, const SfxItemSet& rInAttrs ); virtual ~TrendlineResources(); void Reset(const SfxItemSet& rInAttrs); diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx index ea1c355e6f4e..6a15742ff548 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx @@ -86,7 +86,7 @@ namespace chart #define POS_3DSCHEME_CUSTOM 2 ThreeD_SceneAppearance_TabPage::ThreeD_SceneAppearance_TabPage( - Window* pWindow + vcl::Window* pWindow , const uno::Reference< frame::XModel > & xChartModel , ControllerLockHelper & rControllerLockHelper ) : TabPage ( pWindow diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx index c08cea186df6..b00718c76e9c 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx @@ -35,7 +35,7 @@ class ThreeD_SceneAppearance_TabPage : public TabPage { public: ThreeD_SceneAppearance_TabPage( - Window* pWindow, + vcl::Window* pWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xChartModel, ControllerLockHelper & rControllerLockHelper ); virtual ~ThreeD_SceneAppearance_TabPage(); diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx index 164f930c164c..a4930b38f0f4 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.cxx @@ -54,7 +54,7 @@ void lcl_SetMetricFieldLimits( MetricField& rField, sal_Int64 nLimit ) } } -ThreeD_SceneGeometry_TabPage::ThreeD_SceneGeometry_TabPage( Window* pWindow +ThreeD_SceneGeometry_TabPage::ThreeD_SceneGeometry_TabPage( vcl::Window* pWindow , const uno::Reference< beans::XPropertySet > & xSceneProperties , ControllerLockHelper & rControllerLockHelper ) : TabPage ( pWindow diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx index decc521e87fa..21bc08a7ccc1 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx @@ -35,7 +35,7 @@ namespace chart class ThreeD_SceneGeometry_TabPage : public TabPage { public: - ThreeD_SceneGeometry_TabPage( Window* pWindow, + ThreeD_SceneGeometry_TabPage( vcl::Window* pWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & xSceneProperties, ControllerLockHelper & rControllerLockHelper ); diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index 27fb132dd420..81ccc2bbfa60 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -36,14 +36,14 @@ namespace chart using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; -LightButton::LightButton( Window* pParent) +LightButton::LightButton( vcl::Window* pParent) : ImageButton( pParent) , m_bLightOn(false) { SetModeImage( Image( SVX_RES(RID_SVXIMAGE_LIGHT_OFF) ) ); } -extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeLightButton(Window *pParent, VclBuilder::stringmap &) +extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeLightButton(vcl::Window *pParent, VclBuilder::stringmap &) { return new LightButton(pParent); } @@ -225,7 +225,7 @@ namespace } } -ThreeD_SceneIllumination_TabPage::ThreeD_SceneIllumination_TabPage( Window* pWindow +ThreeD_SceneIllumination_TabPage::ThreeD_SceneIllumination_TabPage( vcl::Window* pWindow , const uno::Reference< beans::XPropertySet > & xSceneProperties , const uno::Reference< frame::XModel >& xChartModel , const XColorListRef & pColorTable ) diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx index 7bfe1ab59602..3f7af791d290 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx @@ -36,7 +36,7 @@ namespace chart class LightButton : public ImageButton { public: - LightButton( Window* pParent); + LightButton( vcl::Window* pParent); virtual ~LightButton(); void switchLightOn(bool bOn); @@ -52,7 +52,7 @@ class ThreeD_SceneIllumination_TabPage : public TabPage { public: ThreeD_SceneIllumination_TabPage( - Window* pWindow, + vcl::Window* pWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & xSceneProperties, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xChartModel, diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx index 5181402a9c3c..f80402c093a2 100644 --- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx +++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx @@ -31,7 +31,7 @@ namespace chart { -SchAxisLabelTabPage::SchAxisLabelTabPage( Window* pParent, const SfxItemSet& rInAttrs ) : +SchAxisLabelTabPage::SchAxisLabelTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ) : SfxTabPage( pParent, "AxisLabelTabPage","modules/schart/ui/tp_axisLabel.ui", &rInAttrs ), m_bShowStaggeringControls( true ), @@ -79,7 +79,7 @@ void SchAxisLabelTabPage::Construct() { } -SfxTabPage* SchAxisLabelTabPage::Create( Window* pParent, const SfxItemSet* rAttrs ) +SfxTabPage* SchAxisLabelTabPage::Create( vcl::Window* pParent, const SfxItemSet* rAttrs ) { return new SchAxisLabelTabPage( pParent, *rAttrs ); } diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.hxx b/chart2/source/controller/dialogs/tp_AxisLabel.hxx index be28343340c9..059215b911b8 100644 --- a/chart2/source/controller/dialogs/tp_AxisLabel.hxx +++ b/chart2/source/controller/dialogs/tp_AxisLabel.hxx @@ -69,12 +69,12 @@ private: DECL_LINK ( ToggleShowLabel, void* ); public: - SchAxisLabelTabPage( Window* pParent, const SfxItemSet& rInAttrs ); + SchAxisLabelTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); virtual ~SchAxisLabelTabPage(); void Construct(); - static SfxTabPage* Create( Window* pParent, const SfxItemSet* rInAttrs ); + static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); virtual bool FillItemSet( SfxItemSet* rOutAttrs ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rInAttrs ) SAL_OVERRIDE; diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx index 71b5221e859d..8fda04263f47 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx @@ -42,7 +42,7 @@ using namespace ::com::sun::star; namespace chart { -AxisPositionsTabPage::AxisPositionsTabPage(Window* pWindow,const SfxItemSet& rInAttrs) +AxisPositionsTabPage::AxisPositionsTabPage(vcl::Window* pWindow,const SfxItemSet& rInAttrs) : SfxTabPage(pWindow ,"tp_AxisPositions" ,"modules/schart/ui/tp_AxisPositions.ui" @@ -84,7 +84,7 @@ AxisPositionsTabPage::AxisPositionsTabPage(Window* pWindow,const SfxItemSet& rIn m_pLB_PlaceTicks->SetDropDownLineCount( m_pLB_PlaceTicks->GetEntryCount() ); } -SfxTabPage* AxisPositionsTabPage::Create(Window* pWindow,const SfxItemSet* rOutAttrs) +SfxTabPage* AxisPositionsTabPage::Create(vcl::Window* pWindow,const SfxItemSet* rOutAttrs) { return new AxisPositionsTabPage(pWindow, *rOutAttrs); } diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.hxx b/chart2/source/controller/dialogs/tp_AxisPositions.hxx index 78ce532c13fc..3dfeecd8f3ff 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.hxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.hxx @@ -32,9 +32,9 @@ namespace chart class AxisPositionsTabPage : public SfxTabPage { public: - AxisPositionsTabPage( Window* pParent, const SfxItemSet& rInAttrs ); + AxisPositionsTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - static SfxTabPage* Create( Window* pParent, const SfxItemSet* rInAttrs ); + static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); virtual bool FillItemSet( SfxItemSet* rOutAttrs ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rInAttrs ) SAL_OVERRIDE; using TabPage::DeactivatePage; diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 00defcfeeec0..0703e1d7a979 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -312,7 +312,7 @@ IMPL_LINK_NOARG( GL3DResourceGroup, SettingChangedHdl ) class SplinePropertiesDialog : public ModalDialog { public: - SplinePropertiesDialog( Window* pParent ); + SplinePropertiesDialog( vcl::Window* pParent ); virtual ~SplinePropertiesDialog(); void fillControls( const ChartTypeParameter& rParameter ); @@ -334,7 +334,7 @@ private: const sal_uInt16 CUBIC_SPLINE_POS = 0; const sal_uInt16 B_SPLINE_POS = 1; -SplinePropertiesDialog::SplinePropertiesDialog( Window* pParent ) +SplinePropertiesDialog::SplinePropertiesDialog( vcl::Window* pParent ) : ModalDialog( pParent, "SmoothLinesDialog", "modules/schart/ui/smoothlinesdlg.ui") { get(m_pLB_Spline_Type, "SplineTypeComboBox"); @@ -399,7 +399,7 @@ IMPL_LINK_NOARG(SplinePropertiesDialog, SplineTypeListBoxHdl) class SteppedPropertiesDialog : public ModalDialog { public: - SteppedPropertiesDialog( Window* pParent ); + SteppedPropertiesDialog( vcl::Window* pParent ); virtual ~SteppedPropertiesDialog(); void fillControls( const ChartTypeParameter& rParameter ); @@ -416,7 +416,7 @@ private: RadioButton* m_pRB_CenterY; }; -SteppedPropertiesDialog::SteppedPropertiesDialog( Window* pParent ) +SteppedPropertiesDialog::SteppedPropertiesDialog( vcl::Window* pParent ) : ModalDialog( pParent, "SteppedLinesDialog", "modules/schart/ui/steppedlinesdlg.ui") { get(m_pRB_Start, "step_start_rb"); @@ -675,7 +675,7 @@ IMPL_LINK_NOARG(GeometryResourceGroup, GeometryChangeHdl) return 0; } -ChartTypeTabPage::ChartTypeTabPage(Window* pParent +ChartTypeTabPage::ChartTypeTabPage(vcl::Window* pParent , const uno::Reference< XChartDocument >& xChartModel , const uno::Reference< uno::XComponentContext >& xContext , bool bDoLiveUpdate, bool bShowDescription) diff --git a/chart2/source/controller/dialogs/tp_ChartType.hxx b/chart2/source/controller/dialogs/tp_ChartType.hxx index 81557a421db8..486ae1540805 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.hxx +++ b/chart2/source/controller/dialogs/tp_ChartType.hxx @@ -48,7 +48,7 @@ class GL3DResourceGroup; class ChartTypeTabPage : public ResourceChangeListener, public svt::OWizardPage, public ChartTypeTemplateProvider { public: - ChartTypeTabPage( Window* pParent + ChartTypeTabPage( vcl::Window* pParent , const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument >& xChartModel , const ::com::sun::star::uno::Reference< diff --git a/chart2/source/controller/dialogs/tp_DataLabel.cxx b/chart2/source/controller/dialogs/tp_DataLabel.cxx index c5e9cce2e2c5..ef795fa2e2ca 100644 --- a/chart2/source/controller/dialogs/tp_DataLabel.cxx +++ b/chart2/source/controller/dialogs/tp_DataLabel.cxx @@ -25,7 +25,7 @@ namespace chart { -DataLabelsTabPage::DataLabelsTabPage(Window* pWindow, const SfxItemSet& rInAttrs) +DataLabelsTabPage::DataLabelsTabPage(vcl::Window* pWindow, const SfxItemSet& rInAttrs) : SfxTabPage(pWindow , "tp_DataLabel" , "modules/schart/ui/tp_DataLabel.ui" @@ -38,7 +38,7 @@ DataLabelsTabPage::~DataLabelsTabPage() { } -SfxTabPage* DataLabelsTabPage::Create(Window* pWindow, const SfxItemSet* rOutAttrs) +SfxTabPage* DataLabelsTabPage::Create(vcl::Window* pWindow, const SfxItemSet* rOutAttrs) { return new DataLabelsTabPage(pWindow, *rOutAttrs); } diff --git a/chart2/source/controller/dialogs/tp_DataLabel.hxx b/chart2/source/controller/dialogs/tp_DataLabel.hxx index 5e14a412fb67..1bad928af04d 100644 --- a/chart2/source/controller/dialogs/tp_DataLabel.hxx +++ b/chart2/source/controller/dialogs/tp_DataLabel.hxx @@ -33,10 +33,10 @@ namespace chart class DataLabelsTabPage : public SfxTabPage { public: - DataLabelsTabPage(Window* pWindow, const SfxItemSet& rInAttrs); + DataLabelsTabPage(vcl::Window* pWindow, const SfxItemSet& rInAttrs); virtual ~DataLabelsTabPage(); - static SfxTabPage* Create(Window* pWindow, const SfxItemSet* rInAttrs); + static SfxTabPage* Create(vcl::Window* pWindow, const SfxItemSet* rInAttrs); void SetNumberFormatter( SvNumberFormatter* pFormatter ); diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index a92298b229ba..14da20cbaaf6 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -181,7 +181,7 @@ namespace chart { DataSourceTabPage::DataSourceTabPage( - Window * pParent, + vcl::Window * pParent, DialogModel & rDialogModel, ChartTypeTemplateProvider* pTemplateProvider, Dialog * pParentDialog, diff --git a/chart2/source/controller/dialogs/tp_DataSource.hxx b/chart2/source/controller/dialogs/tp_DataSource.hxx index 496333e31cdc..1cc0439a1065 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.hxx +++ b/chart2/source/controller/dialogs/tp_DataSource.hxx @@ -53,7 +53,7 @@ class DataSourceTabPage : { public: explicit DataSourceTabPage( - Window * pParent, + vcl::Window * pParent, DialogModel & rDialogModel, ChartTypeTemplateProvider* pTemplateProvider, Dialog * pParentDialog, diff --git a/chart2/source/controller/dialogs/tp_DataSourceControls.cxx b/chart2/source/controller/dialogs/tp_DataSourceControls.cxx index 11ebbcf9df75..54ecfe64ea79 100644 --- a/chart2/source/controller/dialogs/tp_DataSourceControls.cxx +++ b/chart2/source/controller/dialogs/tp_DataSourceControls.cxx @@ -31,11 +31,11 @@ namespace chart SeriesEntry::~SeriesEntry() {} -SeriesListBox::SeriesListBox(Window* pParent, WinBits nStyle) +SeriesListBox::SeriesListBox(vcl::Window* pParent, WinBits nStyle) : SvTreeListBox(pParent, nStyle) {} -extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSeriesListBox(Window *pParent, VclBuilder::stringmap &rMap) +extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSeriesListBox(vcl::Window *pParent, VclBuilder::stringmap &rMap) { WinBits nWinStyle = 0; OString sBorder = VclBuilder::extractCustomProperty(rMap); diff --git a/chart2/source/controller/dialogs/tp_DataSourceControls.hxx b/chart2/source/controller/dialogs/tp_DataSourceControls.hxx index 82ae7addf888..e5a5ec54e333 100644 --- a/chart2/source/controller/dialogs/tp_DataSourceControls.hxx +++ b/chart2/source/controller/dialogs/tp_DataSourceControls.hxx @@ -45,7 +45,7 @@ public: class SeriesListBox : public ::SvTreeListBox { public: - explicit SeriesListBox(Window* pParent, WinBits nStyle); + explicit SeriesListBox(vcl::Window* pParent, WinBits nStyle); virtual SvTreeListEntry* CreateEntry() const SAL_OVERRIDE; }; diff --git a/chart2/source/controller/dialogs/tp_ErrorBars.cxx b/chart2/source/controller/dialogs/tp_ErrorBars.cxx index c240e7652db8..28280253b48f 100644 --- a/chart2/source/controller/dialogs/tp_ErrorBars.cxx +++ b/chart2/source/controller/dialogs/tp_ErrorBars.cxx @@ -28,7 +28,7 @@ using namespace ::com::sun::star; namespace chart { -ErrorBarsTabPage::ErrorBarsTabPage( Window* pParent, const SfxItemSet& rInAttrs ) : +ErrorBarsTabPage::ErrorBarsTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ) : SfxTabPage( pParent ,"tp_ErrorBars" ,"modules/schart/ui/tp_ErrorBars.ui" @@ -42,7 +42,7 @@ ErrorBarsTabPage::ErrorBarsTabPage( Window* pParent, const SfxItemSet& rInAttrs } SfxTabPage* ErrorBarsTabPage::Create( - Window* pParent, const SfxItemSet* rOutAttrs ) + vcl::Window* pParent, const SfxItemSet* rOutAttrs ) { return new ErrorBarsTabPage( pParent, *rOutAttrs ); } diff --git a/chart2/source/controller/dialogs/tp_ErrorBars.hxx b/chart2/source/controller/dialogs/tp_ErrorBars.hxx index 05f2e59607d8..6da7692d8c9f 100644 --- a/chart2/source/controller/dialogs/tp_ErrorBars.hxx +++ b/chart2/source/controller/dialogs/tp_ErrorBars.hxx @@ -29,7 +29,7 @@ namespace chart class ErrorBarsTabPage : public SfxTabPage { public: - ErrorBarsTabPage ( Window* pParent, const SfxItemSet& rInAttrs ); + ErrorBarsTabPage ( vcl::Window* pParent, const SfxItemSet& rInAttrs ); void SetAxisMinorStepWidthForErrorBarDecimals( double fMinorStepWidth ); void SetErrorBarType( ErrorBarResources::tErrorBarType eNewType ); @@ -37,7 +37,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument > & xChartDocument ); - static SfxTabPage* Create( Window* pParent, const SfxItemSet* rInAttrs ); + static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); virtual bool FillItemSet( SfxItemSet* rOutAttrs ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rInAttrs ) SAL_OVERRIDE; diff --git a/chart2/source/controller/dialogs/tp_LegendPosition.cxx b/chart2/source/controller/dialogs/tp_LegendPosition.cxx index 1381159d24e7..c275c25660d8 100644 --- a/chart2/source/controller/dialogs/tp_LegendPosition.cxx +++ b/chart2/source/controller/dialogs/tp_LegendPosition.cxx @@ -29,7 +29,7 @@ namespace chart { -SchLegendPosTabPage::SchLegendPosTabPage(Window* pWindow, const SfxItemSet& rInAttrs) +SchLegendPosTabPage::SchLegendPosTabPage(vcl::Window* pWindow, const SfxItemSet& rInAttrs) : SfxTabPage( pWindow ,"tp_LegendPosition" ,"modules/schart/ui/tp_LegendPosition.ui" @@ -41,7 +41,7 @@ SchLegendPosTabPage::SchLegendPosTabPage(Window* pWindow, const SfxItemSet& rInA m_pLbTextDirection->SetDropDownLineCount(3); } -SfxTabPage* SchLegendPosTabPage::Create(Window* pWindow, const SfxItemSet* rOutAttrs) +SfxTabPage* SchLegendPosTabPage::Create(vcl::Window* pWindow, const SfxItemSet* rOutAttrs) { return new SchLegendPosTabPage(pWindow, *rOutAttrs); } diff --git a/chart2/source/controller/dialogs/tp_LegendPosition.hxx b/chart2/source/controller/dialogs/tp_LegendPosition.hxx index 0c767d81f44b..0d4f4acf0d07 100644 --- a/chart2/source/controller/dialogs/tp_LegendPosition.hxx +++ b/chart2/source/controller/dialogs/tp_LegendPosition.hxx @@ -36,9 +36,9 @@ private: TextDirectionListBox* m_pLbTextDirection; public: - SchLegendPosTabPage(Window* pParent, const SfxItemSet& rInAttrs); + SchLegendPosTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs); - static SfxTabPage* Create(Window* pParent, const SfxItemSet* rInAttrs); + static SfxTabPage* Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); virtual bool FillItemSet(SfxItemSet* rOutAttrs) SAL_OVERRIDE; virtual void Reset(const SfxItemSet* rInAttrs) SAL_OVERRIDE; }; diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx index da008a1a964a..5e32432af83d 100644 --- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx @@ -30,7 +30,7 @@ namespace chart { -SchLayoutTabPage::SchLayoutTabPage(Window* pWindow,const SfxItemSet& rInAttrs) +SchLayoutTabPage::SchLayoutTabPage(vcl::Window* pWindow,const SfxItemSet& rInAttrs) : SfxTabPage(pWindow, "tp_ChartType", "modules/schart/ui/tp_ChartType.ui", &rInAttrs) , m_pGeometryResources(0) { @@ -42,7 +42,7 @@ SchLayoutTabPage::~SchLayoutTabPage() delete m_pGeometryResources; } -SfxTabPage* SchLayoutTabPage::Create(Window* pWindow, +SfxTabPage* SchLayoutTabPage::Create(vcl::Window* pWindow, const SfxItemSet* rOutAttrs) { return new SchLayoutTabPage(pWindow, *rOutAttrs); diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.hxx b/chart2/source/controller/dialogs/tp_PointGeometry.hxx index f0424bc57133..635768fe1178 100644 --- a/chart2/source/controller/dialogs/tp_PointGeometry.hxx +++ b/chart2/source/controller/dialogs/tp_PointGeometry.hxx @@ -28,10 +28,10 @@ class BarGeometryResources; class SchLayoutTabPage : public SfxTabPage { public: - SchLayoutTabPage(Window* pParent, const SfxItemSet& rInAttrs); + SchLayoutTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs); virtual ~SchLayoutTabPage(); - static SfxTabPage* Create(Window* pParent, const SfxItemSet* rInAttrs); + static SfxTabPage* Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); virtual bool FillItemSet(SfxItemSet* rOutAttrs) SAL_OVERRIDE; virtual void Reset(const SfxItemSet* rInAttrs) SAL_OVERRIDE; diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx index 73a9d41439f2..32b09b5398ff 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx @@ -28,7 +28,7 @@ namespace chart { -PolarOptionsTabPage::PolarOptionsTabPage( Window* pWindow,const SfxItemSet& rInAttrs ) : +PolarOptionsTabPage::PolarOptionsTabPage( vcl::Window* pWindow,const SfxItemSet& rInAttrs ) : SfxTabPage( pWindow ,"tp_PolarOptions" ,"modules/schart/ui/tp_PolarOptions.ui" @@ -48,7 +48,7 @@ PolarOptionsTabPage::~PolarOptionsTabPage() { } -SfxTabPage* PolarOptionsTabPage::Create( Window* pWindow,const SfxItemSet* rOutAttrs ) +SfxTabPage* PolarOptionsTabPage::Create( vcl::Window* pWindow,const SfxItemSet* rOutAttrs ) { return new PolarOptionsTabPage( pWindow, *rOutAttrs ); } diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.hxx b/chart2/source/controller/dialogs/tp_PolarOptions.hxx index d0cbe2e0e98b..7d0ea5034122 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.hxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.hxx @@ -32,10 +32,10 @@ class PolarOptionsTabPage : public SfxTabPage { public: - PolarOptionsTabPage(Window* pParent, const SfxItemSet& rInAttrs ); + PolarOptionsTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs ); virtual ~PolarOptionsTabPage(); - static SfxTabPage* Create(Window* pParent, const SfxItemSet* rInAttrs); + static SfxTabPage* Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); virtual bool FillItemSet(SfxItemSet* rOutAttrs) SAL_OVERRIDE; virtual void Reset(const SfxItemSet* rInAttrs) SAL_OVERRIDE; diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx index a9e854f9e58b..451945e89ab9 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx @@ -61,7 +61,7 @@ using namespace ::com::sun::star::chart2; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; -RangeChooserTabPage::RangeChooserTabPage( Window* pParent +RangeChooserTabPage::RangeChooserTabPage( vcl::Window* pParent , DialogModel & rDialogModel , ChartTypeTemplateProvider* pTemplateProvider , Dialog * pParentDialog diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.hxx b/chart2/source/controller/dialogs/tp_RangeChooser.hxx index 8c2111928d13..3b88a46dd845 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.hxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.hxx @@ -43,7 +43,7 @@ class RangeChooserTabPage : public svt::OWizardPage, public RangeSelectionListen { public: - RangeChooserTabPage( Window* pParent + RangeChooserTabPage( vcl::Window* pParent , DialogModel & rDialogModel , ChartTypeTemplateProvider* pTemplateProvider , Dialog * pParentDialog diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx index e0cefa06cf01..363de5376a87 100644 --- a/chart2/source/controller/dialogs/tp_Scale.cxx +++ b/chart2/source/controller/dialogs/tp_Scale.cxx @@ -51,7 +51,7 @@ void lcl_setValue( FormattedField& rFmtField, double fValue ) } -ScaleTabPage::ScaleTabPage(Window* pWindow,const SfxItemSet& rInAttrs) : +ScaleTabPage::ScaleTabPage(vcl::Window* pWindow,const SfxItemSet& rInAttrs) : SfxTabPage(pWindow , "tp_Scale" , "modules/schart/ui/tp_Scale.ui" @@ -236,7 +236,7 @@ IMPL_LINK_NOARG(ScaleTabPage, SelectAxisTypeHdl) return 0; } -SfxTabPage* ScaleTabPage::Create(Window* pWindow,const SfxItemSet* rOutAttrs) +SfxTabPage* ScaleTabPage::Create(vcl::Window* pWindow,const SfxItemSet* rOutAttrs) { return new ScaleTabPage(pWindow, *rOutAttrs); } diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx index 3c65b604845f..ff8bbe7e9d1b 100644 --- a/chart2/source/controller/dialogs/tp_Scale.hxx +++ b/chart2/source/controller/dialogs/tp_Scale.hxx @@ -32,9 +32,9 @@ namespace chart class ScaleTabPage : public SfxTabPage { public: - ScaleTabPage( Window* pParent, const SfxItemSet& rInAttrs ); + ScaleTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - static SfxTabPage* Create( Window* pParent, const SfxItemSet* rInAttrs ); + static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); virtual bool FillItemSet( SfxItemSet* rOutAttrs ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rInAttrs ) SAL_OVERRIDE; using TabPage::DeactivatePage; diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx index a04d2efb0d42..26c158406f6d 100644 --- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx +++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx @@ -32,7 +32,7 @@ namespace chart { -SchOptionTabPage::SchOptionTabPage(Window* pWindow,const SfxItemSet& rInAttrs) +SchOptionTabPage::SchOptionTabPage(vcl::Window* pWindow,const SfxItemSet& rInAttrs) : SfxTabPage(pWindow, "TP_OPTIONS", "modules/schart/ui/tp_SeriesToAxis.ui", @@ -76,7 +76,7 @@ IMPL_LINK_NOARG(SchOptionTabPage, EnableHdl) return 0; } -SfxTabPage* SchOptionTabPage::Create(Window* pWindow,const SfxItemSet* rOutAttrs) +SfxTabPage* SchOptionTabPage::Create(vcl::Window* pWindow,const SfxItemSet* rOutAttrs) { return new SchOptionTabPage(pWindow, *rOutAttrs); } diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx index 56de1da3d449..db4afb60e9fb 100644 --- a/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx +++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx @@ -30,10 +30,10 @@ namespace chart class SchOptionTabPage : public SfxTabPage { public: - SchOptionTabPage(Window* pParent, const SfxItemSet& rInAttrs); + SchOptionTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs); virtual ~SchOptionTabPage(); - static SfxTabPage* Create(Window* pParent, const SfxItemSet* rInAttrs); + static SfxTabPage* Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); virtual bool FillItemSet(SfxItemSet* rOutAttrs) SAL_OVERRIDE; virtual void Reset(const SfxItemSet* rInAttrs) SAL_OVERRIDE; diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx index 89f78a95d534..6fc90a273926 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx @@ -31,7 +31,7 @@ namespace chart { -SchAlignmentTabPage::SchAlignmentTabPage(Window* pWindow, +SchAlignmentTabPage::SchAlignmentTabPage(vcl::Window* pWindow, const SfxItemSet& rInAttrs, bool bWithRotation) : SfxTabPage(pWindow, "TitleRotationTabPage","modules/schart/ui/titlerotationtabpage.ui", &rInAttrs) { @@ -60,13 +60,13 @@ SchAlignmentTabPage::~SchAlignmentTabPage() delete m_pOrientHlp; } -SfxTabPage* SchAlignmentTabPage::Create(Window* pParent, +SfxTabPage* SchAlignmentTabPage::Create(vcl::Window* pParent, const SfxItemSet* rInAttrs) { return new SchAlignmentTabPage(pParent, *rInAttrs); } -SfxTabPage* SchAlignmentTabPage::CreateWithoutRotation(Window* pParent, +SfxTabPage* SchAlignmentTabPage::CreateWithoutRotation(vcl::Window* pParent, const SfxItemSet* rInAttrs) { return new SchAlignmentTabPage(pParent, *rInAttrs, false); diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.hxx b/chart2/source/controller/dialogs/tp_TitleRotation.hxx index 86f49e9402de..dd3ceb0902d6 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.hxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.hxx @@ -42,11 +42,11 @@ private: FixedText* m_pFtABCD; public: - SchAlignmentTabPage(Window* pParent, const SfxItemSet& rInAttrs, bool bWithRotation = true); + SchAlignmentTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs, bool bWithRotation = true); virtual ~SchAlignmentTabPage(); - static SfxTabPage* Create(Window* pParent, const SfxItemSet* rInAttrs); - static SfxTabPage* CreateWithoutRotation(Window* pParent, const SfxItemSet* rInAttrs); + static SfxTabPage* Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); + static SfxTabPage* CreateWithoutRotation(vcl::Window* pParent, const SfxItemSet* rInAttrs); virtual bool FillItemSet(SfxItemSet* rOutAttrs) SAL_OVERRIDE; virtual void Reset(const SfxItemSet* rInAttrs) SAL_OVERRIDE; }; diff --git a/chart2/source/controller/dialogs/tp_Trendline.cxx b/chart2/source/controller/dialogs/tp_Trendline.cxx index fe7c81f044e6..d95a213dafa9 100644 --- a/chart2/source/controller/dialogs/tp_Trendline.cxx +++ b/chart2/source/controller/dialogs/tp_Trendline.cxx @@ -25,7 +25,7 @@ namespace chart { -TrendlineTabPage::TrendlineTabPage( Window* pParent, const SfxItemSet& rInAttrs ) : +TrendlineTabPage::TrendlineTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ) : SfxTabPage( pParent, "TP_TRENDLINE", "modules/schart/ui/tp_Trendline.ui", &rInAttrs ), m_aTrendlineResources( this, rInAttrs ) { @@ -36,7 +36,7 @@ TrendlineTabPage::~TrendlineTabPage() } SfxTabPage* TrendlineTabPage::Create( - Window* pParent, const SfxItemSet* rOutAttrs ) + vcl::Window* pParent, const SfxItemSet* rOutAttrs ) { return new TrendlineTabPage( pParent, *rOutAttrs ); } diff --git a/chart2/source/controller/dialogs/tp_Trendline.hxx b/chart2/source/controller/dialogs/tp_Trendline.hxx index c18ceb74922c..a88c858c7b9a 100644 --- a/chart2/source/controller/dialogs/tp_Trendline.hxx +++ b/chart2/source/controller/dialogs/tp_Trendline.hxx @@ -29,10 +29,10 @@ namespace chart class TrendlineTabPage : public SfxTabPage { public: - TrendlineTabPage ( Window* pParent, const SfxItemSet& rInAttrs ); + TrendlineTabPage ( vcl::Window* pParent, const SfxItemSet& rInAttrs ); virtual ~TrendlineTabPage (); - static SfxTabPage* Create( Window* pParent, const SfxItemSet* rInAttrs ); + static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); virtual bool FillItemSet( SfxItemSet* rOutAttrs ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rInAttrs ) SAL_OVERRIDE; |