diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-05-19 12:43:47 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-05-19 12:43:47 +0000 |
commit | f51b35cb62cd81d0871cca44b42eb31120cfe9e7 (patch) | |
tree | 821710470be4eb2e8df2eb2b4b9ef82ba00de995 | |
parent | dbf7c033b0b394de9ee73cb4671b8ee2b960f588 (diff) |
INTEGRATION: CWS qwizards1 (1.4.56); FILE MERGED
2004/01/05 12:52:39 tv 1.4.56.2: RESYNC: (1.4-1.5); FILE MERGED
2003/11/07 15:10:12 bc 1.4.56.1: #111603# Roadmap API wrapper for Wizards added
-rw-r--r-- | toolkit/source/controls/dialogcontrol.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index 783448f3b74c..af33394e2ad5 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dialogcontrol.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: kz $ $Date: 2003-12-11 11:57:40 $ + * last change: $Author: kz $ $Date: 2004-05-19 13:43:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,6 +77,9 @@ #ifndef TOOLKIT_FORMATTED_CONTROL_HXX #include "toolkit/controls/formattedcontrol.hxx" #endif +#ifndef TOOLKIT_ROADMAP_CONTROL_HXX +#include "toolkit/controls/roadmapcontrol.hxx" +#endif #ifndef TOOLKIT_INC_TOOLKIT_CONTROLS_TKSCROLLBAR_HXX #include "toolkit/controls/tkscrollbar.hxx" #endif @@ -404,6 +407,8 @@ Reference< XInterface > UnoControlDialogModel::createInstance( const ::rtl::OUSt pNewModel = new OGeometryControlModel< UnoControlScrollBarModel >; else if ( aServiceSpecifier.compareToAscii( szServiceName2_UnoControlFixedLineModel ) == 0 ) pNewModel = new OGeometryControlModel< UnoControlFixedLineModel >; + else if ( aServiceSpecifier.compareToAscii( szServiceName2_UnoControlRoadmapModel ) == 0 ) + pNewModel = new OGeometryControlModel< UnoControlRoadmapModel >; if ( !pNewModel ) { @@ -443,7 +448,7 @@ Sequence< ::rtl::OUString > UnoControlDialogModel::getAvailableServiceNames() th static Sequence< ::rtl::OUString >* pNamesSeq = NULL; if ( !pNamesSeq ) { - pNamesSeq = new Sequence< ::rtl::OUString >( 19 ); + pNamesSeq = new Sequence< ::rtl::OUString >( 20 ); ::rtl::OUString* pNames = pNamesSeq->getArray(); pNames[0] = ::rtl::OUString::createFromAscii( szServiceName2_UnoControlEditModel ); pNames[1] = ::rtl::OUString::createFromAscii( szServiceName2_UnoControlFormattedFieldModel ); @@ -464,6 +469,8 @@ Sequence< ::rtl::OUString > UnoControlDialogModel::getAvailableServiceNames() th pNames[16] = ::rtl::OUString::createFromAscii( szServiceName2_UnoControlProgressBarModel ); pNames[17] = ::rtl::OUString::createFromAscii( szServiceName2_UnoControlScrollBarModel ); pNames[18] = ::rtl::OUString::createFromAscii( szServiceName2_UnoControlFixedLineModel ); + pNames[19] = ::rtl::OUString::createFromAscii( szServiceName2_UnoControlRoadmapModel ); + } return *pNamesSeq; } |