Tag: cws_src680_os63 User: os Date: 05/07/06 05:50:22 Modified: /dba/dbaccess/source/filter/xml/ xmlColumn.cxx, xmlStyleImport.cxx, xmlStyleImport.hxx, xmlTable.cxx /dba/dbaccess/source/ui/browser/ brwctrlr.cxx, sbagrid.cxx /dba/dbaccess/source/ui/dlg/ ConnectionHelper.cxx, ConnectionPage.cxx, DBSetupConnectionPages.cxx, DbAdminImpl.cxx, dbwizsetup.cxx, generalpage.cxx /dba/dbaccess/source/ui/inc/ GeneralUndo.hxx, JoinTableView.hxx, QueryTableView.hxx, TableConnection.hxx, TableConnectionData.hxx, TableWindow.hxx, TableWindowData.hxx, TypeInfo.hxx, dsntypes.hxx, propertysetitem.hxx, stringlistitem.hxx /dba/dbaccess/source/ui/misc/ dsntypes.cxx, propertysetitem.cxx, stringlistitem.cxx /dba/dbaccess/source/ui/querydesign/ JoinTableView.cxx, QTableConnection.cxx, QTableConnection.hxx, QTableConnectionData.cxx, QTableConnectionData.hxx, QTableWindow.cxx, QTableWindow.hxx, QTableWindowData.cxx, QTableWindowData.hxx, QueryTableView.cxx, TableConnection.cxx, TableConnectionData.cxx, TableWindow.cxx, TableWindowData.cxx, TableWindowData.hxx /dba/dbaccess/source/ui/relationdesign/ RTableWindow.hxx, RelationTableView.cxx /dba/dbaccess/source/ui/tabledesign/ TEditControl.cxx, TEditControl.hxx, TableUndo.cxx, TableUndo.hxx
Log: #i50349 tools/rtti.hxx removed File Changes: Directory: /dba/dbaccess/source/filter/xml/ =========================================== File [changed]: xmlColumn.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlColumn.cxx?r1=1.3&r2=1.3.48.1 Delta lines: +4 -4 ------------------- --- xmlColumn.cxx 18 Mar 2005 10:05:57 -0000 1.3 +++ xmlColumn.cxx 6 Jul 2005 12:50:02 -0000 1.3.48.1 @@ -2,9 +2,9 @@ * * $RCSfile: xmlColumn.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.48.1 $ * - * last change: $Author: obo $ $Date: 2005/03/18 10:05:57 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -185,7 +185,7 @@ const SvXMLStylesContext* pAutoStyles = GetOwnImport().GetAutoStyles(); if ( pAutoStyles ) { - OTableStyleContext* pAutoStyle = PTR_CAST(OTableStyleContext,pAutoStyles->FindStyleChildContext(XML_STYLE_FAMILY_TABLE_COLUMN,m_sStyleName)); + OTableStyleContext* pAutoStyle = const_cast< OTableStyleContext* >( dynamic_cast< const OTableStyleContext* >(pAutoStyles->FindStyleChildContext(XML_STYLE_FAMILY_TABLE_COLUMN,m_sStyleName ))); if ( pAutoStyle ) { pAutoStyle->FillPropertySet(xProp); File [changed]: xmlStyleImport.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlStyleImport.cxx?r1=1.2&r2=1.2.154.1 Delta lines: +6 -8 ------------------- --- xmlStyleImport.cxx 2 Aug 2004 15:22:54 -0000 1.2 +++ xmlStyleImport.cxx 6 Jul 2005 12:50:03 -0000 1.2.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: xmlStyleImport.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 15:22:54 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -128,8 +128,6 @@ using namespace xmloff::token; // ----------------------------------------------------------------------------- -TYPEINIT1( OTableStyleContext, XMLPropStyleContext ); -TYPEINIT1( OTableStylesContext, SvXMLStylesContext ); OTableStyleContext::OTableStyleContext( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName, @@ -168,13 +166,13 @@ { if ((m_nNumberFormat == -1) && m_sDataStyleName.getLength()) { - SvXMLNumFormatContext* pStyle = PTR_CAST(SvXMLNumFormatContext,pStyles->FindStyleChildContext( + const SvXMLNumFormatContext* pStyle = dynamic_cast< const SvXMLNumFormatContext* >( pStyles->FindStyleChildContext( XML_STYLE_FAMILY_DATA_STYLE, m_sDataStyleName, sal_True)); if ( !pStyle ) { - OTableStylesContext* pMyStyles = PTR_CAST(OTableStylesContext,GetOwnImport().GetAutoStyles()); + const OTableStylesContext* pMyStyles = dynamic_cast< const OTableStylesContext* >(GetOwnImport().GetAutoStyles()); if ( pMyStyles ) - pStyle = PTR_CAST(SvXMLNumFormatContext,pMyStyles-> + pStyle = dynamic_cast< const SvXMLNumFormatContext* >(pMyStyles-> FindStyleChildContext(XML_STYLE_FAMILY_DATA_STYLE, m_sDataStyleName, sal_True)); else DBG_ERROR("not possible to get style"); @@ -182,7 +180,7 @@ if ( pStyle ) { uno::Any aNumberFormat; - m_nNumberFormat = pStyle->GetKey(); + m_nNumberFormat = const_cast<SvXMLNumFormatContext*>(pStyle)->GetKey(); aNumberFormat <<= m_nNumberFormat; //rPropSet->setPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_NUMBERFORMAT)), aNumberFormat); AddProperty(CTF_DB_NUMBERFORMAT, aNumberFormat); File [changed]: xmlStyleImport.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlStyleImport.hxx?r1=1.2&r2=1.2.154.1 Delta lines: +2 -4 ------------------- --- xmlStyleImport.hxx 2 Aug 2004 15:23:04 -0000 1.2 +++ xmlStyleImport.hxx 6 Jul 2005 12:50:03 -0000 1.2.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: xmlStyleImport.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 15:23:04 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -120,7 +120,6 @@ public: - TYPEINFO(); OTableStyleContext( ODBFilter& rImport, sal_uInt16 nPrfx, const ::rtl::OUString& rLName, @@ -164,7 +163,6 @@ public: - TYPEINFO(); OTableStylesContext( SvXMLImport& rImport, sal_uInt16 nPrfx , const ::rtl::OUString& rLName , File [changed]: xmlTable.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlTable.cxx?r1=1.2&r2=1.2.154.1 Delta lines: +3 -3 ------------------- --- xmlTable.cxx 2 Aug 2004 15:23:12 -0000 1.2 +++ xmlTable.cxx 6 Jul 2005 12:50:03 -0000 1.2.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: xmlTable.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 15:23:12 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -257,7 +257,7 @@ const SvXMLStylesContext* pAutoStyles = GetOwnImport().GetAutoStyles(); if ( pAutoStyles ) { - OTableStyleContext* pAutoStyle = PTR_CAST(OTableStyleContext,pAutoStyles->FindStyleChildContext(XML_STYLE_FAMILY_TABLE_TABLE,m_sStyleName)); + OTableStyleContext* pAutoStyle = const_cast<OTableStyleContext*>(dynamic_cast< const OTableStyleContext* >(pAutoStyles->FindStyleChildContext(XML_STYLE_FAMILY_TABLE_TABLE,m_sStyleName ))); if ( pAutoStyle ) { pAutoStyle->FillPropertySet(m_xTable); Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: brwctrlr.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/brwctrlr.cxx?r1=1.86&r2=1.86.60.1 Delta lines: +4 -4 ------------------- --- brwctrlr.cxx 1 Mar 2005 19:15:34 -0000 1.86 +++ brwctrlr.cxx 6 Jul 2005 12:50:04 -0000 1.86.60.1 @@ -2,9 +2,9 @@ * * $RCSfile: brwctrlr.cxx,v $ * - * $Revision: 1.86 $ + * $Revision: 1.86.60.1 $ * - * last change: $Author: kz $ $Date: 2005/03/01 19:15:34 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1474,7 +1474,7 @@ case ID_BROWSER_CUT: { CellControllerRef xCurrentController = getBrowserView()->getVclControl()->Controller(); - if (xCurrentController.Is() && xCurrentController->ISA(EditCellController)) + if (xCurrentController.Is() && dynamic_cast< const EditCellController*>(&xCurrentController)) { Edit& rEdit = (Edit&)xCurrentController->GetWindow(); sal_Bool bHasLen = (rEdit.GetSelection().Len() != 0); File [changed]: sbagrid.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/sbagrid.cxx?r1=1.71&r2=1.71.46.1 Delta lines: +4 -4 ------------------- --- sbagrid.cxx 18 Mar 2005 10:08:25 -0000 1.71 +++ sbagrid.cxx 6 Jul 2005 12:50:04 -0000 1.71.46.1 @@ -2,9 +2,9 @@ * * $RCSfile: sbagrid.cxx,v $ * - * $Revision: 1.71 $ + * $Revision: 1.71.46.1 $ * - * last change: $Author: obo $ $Date: 2005/03/18 10:08:25 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1801,7 +1801,7 @@ ActivateCell(); CellControllerRef xCurrentController = Controller(); - if (!xCurrentController.Is() || !xCurrentController->ISA(EditCellController)) + if (!xCurrentController.Is() || !dynamic_cast< const EditCellController*>(&xCurrentController)) return DND_ACTION_NONE; Edit& rEdit = (Edit&)xCurrentController->GetWindow(); Directory: /dba/dbaccess/source/ui/dlg/ ======================================= File [changed]: ConnectionHelper.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/ConnectionHelper.cxx?r1=1.6&r2=1.6.52.1 Delta lines: +4 -4 ------------------- --- ConnectionHelper.cxx 10 Mar 2005 16:47:00 -0000 1.6 +++ ConnectionHelper.cxx 6 Jul 2005 12:50:05 -0000 1.6.52.1 @@ -2,9 +2,9 @@ * * $RCSfile: ConnectionHelper.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.6.52.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:47:00 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -224,7 +224,7 @@ ,m_aPB_Connection(this, ResId(PB_AUTOBROWSEURL)) { // extract the datasource type collection from the item set - DbuTypeCollectionItem* pCollectionItem = PTR_CAST(DbuTypeCollectionItem, _rCoreAttrs.GetItem(DSID_TYPECOLLECTION)); + const DbuTypeCollectionItem* pCollectionItem = dynamic_cast< const DbuTypeCollectionItem* >( _rCoreAttrs.GetItem(DSID_TYPECOLLECTION )); if (pCollectionItem) m_pCollection = pCollectionItem->getCollection(); m_aPB_Connection.SetClickHdl(LINK(this, OConnectionHelper, OnBrowseConnections)); File [changed]: ConnectionPage.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/ConnectionPage.cxx?r1=1.10&r2=1.10.48.1 Delta lines: +4 -4 ------------------- --- ConnectionPage.cxx 18 Mar 2005 10:09:18 -0000 1.10 +++ ConnectionPage.cxx 6 Jul 2005 12:50:05 -0000 1.10.48.1 @@ -2,9 +2,9 @@ * * $RCSfile: ConnectionPage.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.10.48.1 $ * - * last change: $Author: obo $ $Date: 2005/03/18 10:09:18 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -246,7 +246,7 @@ m_aTestJavaDriver.SetClickHdl(LINK(this,OConnectionTabPage,OnTestJavaClickHdl)); // extract the datasource type collection from the item set - DbuTypeCollectionItem* pCollectionItem = PTR_CAST(DbuTypeCollectionItem, _rCoreAttrs.GetItem(DSID_TYPECOLLECTION)); + const DbuTypeCollectionItem* pCollectionItem = dynamic_cast< const DbuTypeCollectionItem* >( _rCoreAttrs.GetItem(DSID_TYPECOLLECTION )); if (pCollectionItem) m_pCollection = pCollectionItem->getCollection(); DBG_ASSERT(m_pCollection, "OConnectionTabPage::OConnectionTabPage : really need a DSN type collection !"); File [changed]: DBSetupConnectionPages.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx?r1=1.4&r2=1.4.54.1 Delta lines: +4 -4 ------------------- --- DBSetupConnectionPages.cxx 10 Mar 2005 16:47:54 -0000 1.4 +++ DBSetupConnectionPages.cxx 6 Jul 2005 12:50:06 -0000 1.4.54.1 @@ -2,9 +2,9 @@ * * $RCSfile: DBSetupConnectionPages.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.4.54.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:47:54 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -316,7 +316,7 @@ if ( m_aETHostServer.GetText() != m_aETHostServer.GetSavedValue() ) { - DbuTypeCollectionItem* pCollectionItem = PTR_CAST(DbuTypeCollectionItem, _rSet.GetItem(DSID_TYPECOLLECTION)); + const DbuTypeCollectionItem* pCollectionItem = dynamic_cast< const DbuTypeCollectionItem* >( _rSet.GetItem(DSID_TYPECOLLECTION )); ODsnTypeCollection* pCollection = NULL; if (pCollectionItem) pCollection = pCollectionItem->getCollection(); File [changed]: DbAdminImpl.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/DbAdminImpl.cxx?r1=1.8&r2=1.8.54.1 Delta lines: +23 -17 --------------------- --- DbAdminImpl.cxx 10 Mar 2005 16:48:20 -0000 1.8 +++ DbAdminImpl.cxx 6 Jul 2005 12:50:06 -0000 1.8.54.1 @@ -2,9 +2,9 @@ * * $RCSfile: DbAdminImpl.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.8.54.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:48:20 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -168,7 +168,13 @@ //------------------------------------------------------------------------- namespace { - sal_Bool implCheckItemType( SfxItemSet& _rSet, const USHORT _nId, const TypeId _nExpectedItemType ) +typedef sal_Bool (*ConvertToSfxPoolItem)( const SfxPoolItem* ); +template<class T> sal_Bool _IsSfxPoolItem(const SfxPoolItem* pItem) +{ + return 0 != dynamic_cast<const T*>(pItem); +} + + sal_Bool implCheckItemType( SfxItemSet& _rSet, const USHORT _nId, ConvertToSfxPoolItem rConvert) { sal_Bool bCorrectType = sal_False; @@ -177,7 +183,7 @@ if ( pPool ) { const SfxPoolItem& rDefItem = pPool->GetDefaultItem( _nId ); - bCorrectType = rDefItem.IsA( _nExpectedItemType ); + bCorrectType = rConvert(&rDefItem); } return bCorrectType; } @@ -919,14 +925,14 @@ { // translate the SfxPoolItem Any aValue; - if (_pItem->ISA(SfxStringItem)) - aValue <<= ::rtl::OUString(PTR_CAST(SfxStringItem, _pItem)->GetValue().GetBuffer()); - else if (_pItem->ISA(SfxBoolItem)) - aValue <<= PTR_CAST(SfxBoolItem, _pItem)->GetValue(); - else if (_pItem->ISA(SfxInt32Item)) - aValue <<= PTR_CAST(SfxInt32Item, _pItem)->GetValue(); - else if (_pItem->ISA(OStringListItem)) - aValue <<= PTR_CAST(OStringListItem, _pItem)->getList(); + if (dynamic_cast< const SfxStringItem*>(_pItem)) + aValue <<= ::rtl::OUString(dynamic_cast< const SfxStringItem* >( _pItem )->GetValue().GetBuffer()); + else if (dynamic_cast< const SfxBoolItem *>(_pItem)) + aValue <<= dynamic_cast< const SfxBoolItem* >( _pItem )->GetValue(); + else if (dynamic_cast< const SfxInt32Item *>(_pItem)) + aValue <<= dynamic_cast< const SfxInt32Item* >( _pItem )->GetValue(); + else if (dynamic_cast< const OStringListItem*>(_pItem)) + aValue <<= dynamic_cast< const OStringListItem* >( _pItem )->getList(); else { DBG_ERROR("ODbDataSourceAdministrationHelper::implTranslateProperty: unsupported item type!"); @@ -971,7 +977,7 @@ switch (_rValue.getValueType().getTypeClass()) { case TypeClass_STRING: - if ( implCheckItemType( _rSet, nId, SfxStringItem::StaticType() ) ) + if ( implCheckItemType( _rSet, nId, _IsSfxPoolItem<SfxStringItem> )) { ::rtl::OUString sValue; _rValue >>= sValue; @@ -987,7 +993,7 @@ break; case TypeClass_BOOLEAN: - if ( implCheckItemType( _rSet, nId, SfxBoolItem::StaticType() ) ) + if ( implCheckItemType( _rSet, nId, _IsSfxPoolItem<SfxBoolItem> )) { sal_Bool bVal = sal_False; _rValue >>= bVal; @@ -1003,7 +1009,7 @@ break; case TypeClass_LONG: - if ( implCheckItemType( _rSet, nId, SfxInt32Item::StaticType() ) ) + if ( implCheckItemType( _rSet, nId, _IsSfxPoolItem<SfxInt32Item> )) { sal_Int32 nValue = 0; _rValue >>= nValue; @@ -1019,7 +1025,7 @@ break; case TypeClass_SEQUENCE: - if ( implCheckItemType( _rSet, nId, OStringListItem::StaticType() ) ) + if ( implCheckItemType( _rSet, nId, _IsSfxPoolItem<OStringListItem> ) ) { // determine the element type TypeDescription aTD(_rValue.getValueType()); File [changed]: dbwizsetup.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/dbwizsetup.cxx?r1=1.11&r2=1.11.54.1 Delta lines: +4 -4 ------------------- --- dbwizsetup.cxx 10 Mar 2005 16:49:38 -0000 1.11 +++ dbwizsetup.cxx 6 Jul 2005 12:50:06 -0000 1.11.54.1 @@ -2,9 +2,9 @@ * * $RCSfile: dbwizsetup.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.11.54.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:49:38 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -313,7 +313,7 @@ pFinalPage = NULL; // m_sWizardTitle = String(ResId(STR_DBWIZARDTITLE)); // extract the datasource type collection from the item set - DbuTypeCollectionItem* pCollectionItem = PTR_CAST(DbuTypeCollectionItem, _pItems->GetItem(DSID_TYPECOLLECTION)); + const DbuTypeCollectionItem* pCollectionItem = dynamic_cast< const DbuTypeCollectionItem* >( _pItems->GetItem(DSID_TYPECOLLECTION )); if (pCollectionItem) m_pCollection = pCollectionItem->getCollection(); File [changed]: generalpage.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/generalpage.cxx?r1=1.41&r2=1.41.90.1 Delta lines: +4 -4 ------------------- --- generalpage.cxx 21 Jan 2005 17:15:41 -0000 1.41 +++ generalpage.cxx 6 Jul 2005 12:50:07 -0000 1.41.90.1 @@ -2,9 +2,9 @@ * * $RCSfile: generalpage.cxx,v $ * - * $Revision: 1.41 $ + * $Revision: 1.41.90.1 $ * - * last change: $Author: kz $ $Date: 2005/01/21 17:15:41 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,7 +144,7 @@ // and remember the respective DSN prefixes FreeResource(); // extract the datasource type collection from the item set - DbuTypeCollectionItem* pCollectionItem = PTR_CAST(DbuTypeCollectionItem, _rItems.GetItem(DSID_TYPECOLLECTION)); + const DbuTypeCollectionItem* pCollectionItem = dynamic_cast< const DbuTypeCollectionItem* >( _rItems.GetItem(DSID_TYPECOLLECTION )); if (pCollectionItem) m_pCollection = pCollectionItem->getCollection(); Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: GeneralUndo.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/GeneralUndo.hxx?r1=1.3&r2=1.3.186.1 Delta lines: +3 -4 ------------------- --- GeneralUndo.hxx 10 May 2004 13:07:11 -0000 1.3 +++ GeneralUndo.hxx 6 Jul 2005 12:50:07 -0000 1.3.186.1 @@ -2,9 +2,9 @@ * * $RCSfile: GeneralUndo.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.186.1 $ * - * last change: $Author: hr $ $Date: 2004/05/10 13:07:11 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,7 +80,6 @@ String m_strComment; // undo, redo comment public: - TYPEINFO(); OCommentUndoAction(USHORT nCommentID) { m_strComment = String(ModuleRes(nCommentID)); } virtual UniString GetComment() const { return m_strComment; } File [changed]: JoinTableView.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/JoinTableView.hxx?r1=1.22&r2=1.22.144.1 Delta lines: +3 -4 ------------------- --- JoinTableView.hxx 9 Sep 2004 09:44:03 -0000 1.22 +++ JoinTableView.hxx 6 Jul 2005 12:50:08 -0000 1.22.144.1 @@ -2,9 +2,9 @@ * * $RCSfile: JoinTableView.hxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.22.144.1 $ * - * last change: $Author: rt $ $Date: 2004/09/09 09:44:03 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -157,7 +157,6 @@ OJoinDesignViewAccess* m_pAccessible; public: - TYPEINFO(); OJoinTableView( Window* pParent, OJoinDesignView* pView ); virtual ~OJoinTableView(); File [changed]: QueryTableView.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/QueryTableView.hxx?r1=1.12&r2=1.12.422.1 Delta lines: +2 -3 ------------------- --- QueryTableView.hxx 8 Nov 2002 09:27:37 -0000 1.12 +++ QueryTableView.hxx 6 Jul 2005 12:50:08 -0000 1.12.422.1 @@ -2,9 +2,9 @@ * * $RCSfile: QueryTableView.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.12.422.1 $ * - * last change: $Author: oj $ $Date: 2002/11/08 09:27:37 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,7 +99,6 @@ virtual OTableWindow* createWindow(OTableWindowData* _pData); public: - TYPEINFO(); OQueryTableView(Window* pParent,OQueryDesignView* pView); virtual ~OQueryTableView(); File [changed]: TableConnection.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/TableConnection.hxx?r1=1.7&r2=1.7.212.1 Delta lines: +3 -4 ------------------- --- TableConnection.hxx 2 Mar 2004 12:44:42 -0000 1.7 +++ TableConnection.hxx 6 Jul 2005 12:50:09 -0000 1.7.212.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableConnection.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.7.212.1 $ * - * last change: $Author: rt $ $Date: 2004/03/02 12:44:42 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -109,7 +109,6 @@ OConnectionLine* CreateConnLine( const OConnectionLine& rConnLine ); public: - TYPEINFO(); OTableConnection( OJoinTableView* pContainer, OTableConnectionData* pTabConnData ); OTableConnection( const OTableConnection& rConn ); // WICHTIG : normalerweise bekomme ich von aussen einen Zeiger auf OTableConnectionData mitgegeben, hier aber muss ich File [changed]: TableConnectionData.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/TableConnectionData.hxx?r1=1.3&r2=1.3.430.1 Delta lines: +2 -3 ------------------- --- TableConnectionData.hxx 6 Feb 2002 07:23:39 -0000 1.3 +++ TableConnectionData.hxx 6 Jul 2005 12:50:09 -0000 1.3.430.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableConnectionData.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.430.1 $ * - * last change: $Author: oj $ $Date: 2002/02/06 07:23:39 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -107,7 +107,6 @@ OTableConnectionData& operator=( const OTableConnectionData& rConnData ); public: - TYPEINFO(); OTableConnectionData(); OTableConnectionData( const String& rSourceWinName, const String& rDestWinName, const String& rConnName = String() ); OTableConnectionData( const OTableConnectionData& rConnData ); File [changed]: TableWindow.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/TableWindow.hxx?r1=1.12&r2=1.12.332.1 Delta lines: +3 -4 ------------------- --- TableWindow.hxx 25 Jun 2003 11:03:39 -0000 1.12 +++ TableWindow.hxx 6 Jul 2005 12:50:09 -0000 1.12.332.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableWindow.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.12.332.1 $ * - * last change: $Author: vg $ $Date: 2003/06/25 11:03:39 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -171,7 +171,6 @@ OTableWindow( Window* pParent, OTableWindowData* pTabWinData); public: - TYPEINFO(); virtual ~OTableWindow(); File [changed]: TableWindowData.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/TableWindowData.hxx?r1=1.1&r2=1.1.458.1 Delta lines: +1 -2 ------------------- --- TableWindowData.hxx 28 Feb 2001 10:05:14 -0000 1.1 +++ TableWindowData.hxx 6 Jul 2005 12:50:10 -0000 1.1.458.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableWindowData.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.1.458.1 $ * - * last change: $Author: oj $ $Date: 2001/02/28 10:05:14 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -87,7 +87,6 @@ sal_Bool m_bShowAll; public: - TYPEINFO(); OTableWindowData(); OTableWindowData( const ::rtl::OUString& _rComposedName, const ::rtl::OUString& strTableName, const ::rtl::OUString& rWinName = ::rtl::OUString() ); virtual ~OTableWindowData(); File [changed]: TypeInfo.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/TypeInfo.hxx?r1=1.6&r2=1.6.154.1 Delta lines: +4 -4 ------------------- --- TypeInfo.hxx 2 Aug 2004 15:54:36 -0000 1.6 +++ TypeInfo.hxx 6 Jul 2005 12:50:10 -0000 1.6.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: TypeInfo.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.6.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 15:54:36 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,9 +58,9 @@ * * ************************************************************************/ + #ifndef DBAUI_TYPEINFO_HXX #define DBAUI_TYPEINFO_HXX - #ifndef _RTL_USTRING_ #include <rtl/ustring> File [changed]: dsntypes.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/dsntypes.hxx?r1=1.17&r2=1.17.64.1 Delta lines: +3 -4 ------------------- --- dsntypes.hxx 21 Feb 2005 12:45:45 -0000 1.17 +++ dsntypes.hxx 6 Jul 2005 12:50:10 -0000 1.17.64.1 @@ -2,9 +2,9 @@ * * $RCSfile: dsntypes.hxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.17.64.1 $ * - * last change: $Author: vg $ $Date: 2005/02/21 12:45:45 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -256,7 +256,6 @@ ODsnTypeCollection* m_pCollection; public: - TYPEINFO(); DbuTypeCollectionItem(sal_Int16 nWhich = 0, ODsnTypeCollection* _pCollection = NULL); DbuTypeCollectionItem(const DbuTypeCollectionItem& _rSource); File [changed]: propertysetitem.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/propertysetitem.hxx?r1=1.2&r2=1.2.384.1 Delta lines: +2 -3 ------------------- --- propertysetitem.hxx 19 Mar 2003 17:52:42 -0000 1.2 +++ propertysetitem.hxx 6 Jul 2005 12:50:10 -0000 1.2.384.1 @@ -2,9 +2,9 @@ * * $RCSfile: propertysetitem.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.384.1 $ * - * last change: $Author: hr $ $Date: 2003/03/19 17:52:42 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -84,7 +84,6 @@ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xSet; public: - TYPEINFO(); OPropertySetItem(sal_Int16 nWhich); OPropertySetItem(sal_Int16 nWhich, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxSet); File [changed]: stringlistitem.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/stringlistitem.hxx?r1=1.2&r2=1.2.384.1 Delta lines: +2 -3 ------------------- --- stringlistitem.hxx 19 Mar 2003 17:52:43 -0000 1.2 +++ stringlistitem.hxx 6 Jul 2005 12:50:11 -0000 1.2.384.1 @@ -2,9 +2,9 @@ * * $RCSfile: stringlistitem.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.384.1 $ * - * last change: $Author: hr $ $Date: 2003/03/19 17:52:43 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -88,7 +88,6 @@ ::com::sun::star::uno::Sequence< ::rtl::OUString > m_aList; public: - TYPEINFO(); OStringListItem(sal_Int16 nWhich, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _rList); OStringListItem(const OStringListItem& _rSource); Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: dsntypes.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/dsntypes.cxx?r1=1.25&r2=1.25.64.1 Delta lines: +4 -5 ------------------- --- dsntypes.cxx 21 Feb 2005 14:15:14 -0000 1.25 +++ dsntypes.cxx 6 Jul 2005 12:50:11 -0000 1.25.64.1 @@ -2,9 +2,9 @@ * * $RCSfile: dsntypes.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.25.64.1 $ * - * last change: $Author: vg $ $Date: 2005/02/21 14:15:14 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -793,7 +793,6 @@ //========================================================================= //= DbuTypeCollectionItem //========================================================================= -TYPEINIT1(DbuTypeCollectionItem, SfxPoolItem); //------------------------------------------------------------------------- DbuTypeCollectionItem::DbuTypeCollectionItem(sal_Int16 _nWhich, ODsnTypeCollection* _pCollection) :SfxPoolItem(_nWhich) @@ -811,7 +810,7 @@ //------------------------------------------------------------------------- int DbuTypeCollectionItem::operator==(const SfxPoolItem& _rItem) const { - DbuTypeCollectionItem* pCompare = PTR_CAST(DbuTypeCollectionItem, &_rItem); + const DbuTypeCollectionItem* pCompare = dynamic_cast<const DbuTypeCollectionItem*>(&_rItem); return pCompare && (pCompare->getCollection() == getCollection()); } File [changed]: propertysetitem.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/propertysetitem.cxx?r1=1.2&r2=1.2.384.1 Delta lines: +3 -4 ------------------- --- propertysetitem.cxx 19 Mar 2003 17:52:54 -0000 1.2 +++ propertysetitem.cxx 6 Jul 2005 12:50:12 -0000 1.2.384.1 @@ -2,9 +2,9 @@ * * $RCSfile: propertysetitem.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.384.1 $ * - * last change: $Author: hr $ $Date: 2003/03/19 17:52:54 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,7 +74,6 @@ //========================================================================= //= OPropertySetItem //========================================================================= - TYPEINIT1(OPropertySetItem, SfxPoolItem); //------------------------------------------------------------------------- OPropertySetItem::OPropertySetItem(sal_Int16 _nWhich) :SfxPoolItem(_nWhich) @@ -98,7 +97,7 @@ //------------------------------------------------------------------------- int OPropertySetItem::operator==(const SfxPoolItem& _rItem) const { - const OPropertySetItem* pCompare = PTR_CAST(OPropertySetItem, &_rItem); + const OPropertySetItem* pCompare = dynamic_cast<const OPropertySetItem*>(&_rItem); if ((!pCompare) || (pCompare->m_xSet.get() != m_xSet.get())) return 0; File [changed]: stringlistitem.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/stringlistitem.cxx?r1=1.2&r2=1.2.384.1 Delta lines: +3 -4 ------------------- --- stringlistitem.cxx 19 Mar 2003 17:52:54 -0000 1.2 +++ stringlistitem.cxx 6 Jul 2005 12:50:12 -0000 1.2.384.1 @@ -2,9 +2,9 @@ * * $RCSfile: stringlistitem.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.384.1 $ * - * last change: $Author: hr $ $Date: 2003/03/19 17:52:54 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,7 +73,6 @@ //========================================================================= //= OStringListItem //========================================================================= -TYPEINIT1(OStringListItem, SfxPoolItem); //------------------------------------------------------------------------- OStringListItem::OStringListItem(sal_Int16 _nWhich, const Sequence< ::rtl::OUString >& _rList) :SfxPoolItem(_nWhich) @@ -91,7 +90,7 @@ //------------------------------------------------------------------------- int OStringListItem::operator==(const SfxPoolItem& _rItem) const { - const OStringListItem* pCompare = PTR_CAST(OStringListItem, &_rItem); + const OStringListItem* pCompare = dynamic_cast< const OStringListItem*>(&_rItem); if ((!pCompare) || (pCompare->m_aList.getLength() != m_aList.getLength())) return 0; Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: JoinTableView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/JoinTableView.cxx?r1=1.50&r2=1.50.144.1 Delta lines: +3 -4 ------------------- --- JoinTableView.cxx 9 Sep 2004 09:48:08 -0000 1.50 +++ JoinTableView.cxx 6 Jul 2005 12:50:13 -0000 1.50.144.1 @@ -2,9 +2,9 @@ * * $RCSfile: JoinTableView.cxx,v $ * - * $Revision: 1.50 $ + * $Revision: 1.50.144.1 $ * - * last change: $Author: rt $ $Date: 2004/09/09 09:48:08 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -235,7 +235,6 @@ } // ----------------------------------------------------------------------------- // ----------------------------------------------------------------------------- -TYPEINIT0(OJoinTableView); //================================================================== // class OJoinTableView //================================================================== File [changed]: QTableConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableConnection.cxx?r1=1.3&r2=1.3.430.1 Delta lines: +2 -3 ------------------- --- QTableConnection.cxx 6 Feb 2002 08:15:30 -0000 1.3 +++ QTableConnection.cxx 6 Jul 2005 12:50:13 -0000 1.3.430.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableConnection.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.430.1 $ * - * last change: $Author: oj $ $Date: 2002/02/06 08:15:30 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,7 +73,6 @@ using namespace dbaui; -TYPEINIT1(OQueryTableConnection, OTableConnection); //======================================================================== // class OQueryTableConnection File [changed]: QTableConnection.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableConnection.hxx?r1=1.2&r2=1.2.458.1 Delta lines: +2 -3 ------------------- --- QTableConnection.hxx 6 Feb 2001 13:02:52 -0000 1.2 +++ QTableConnection.hxx 6 Jul 2005 12:50:13 -0000 1.2.458.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableConnection.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.458.1 $ * - * last change: $Author: rt $ $Date: 2001/02/06 13:02:52 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,7 +82,6 @@ OConnectionLine* CreateConnLine( const OConnectionLine& rConnLine ); public: - TYPEINFO(); OQueryTableConnection(OQueryTableView* pContainer, OQueryTableConnectionData* pTabConnData); OQueryTableConnection(const OQueryTableConnection& rConn); virtual ~OQueryTableConnection(); File [changed]: QTableConnectionData.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableConnectionData.cxx?r1=1.6&r2=1.6.430.1 Delta lines: +3 -4 ------------------- --- QTableConnectionData.cxx 6 Feb 2002 08:15:30 -0000 1.6 +++ QTableConnectionData.cxx 6 Jul 2005 12:50:13 -0000 1.6.430.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableConnectionData.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.6.430.1 $ * - * last change: $Author: oj $ $Date: 2002/02/06 08:15:30 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,7 +72,6 @@ #endif using namespace dbaui; -TYPEINIT1(OQueryTableConnectionData, OTableConnectionData); //======================================================================== // class OQueryTableConnectionData @@ -139,7 +138,7 @@ void OQueryTableConnectionData::CopyFrom(const OTableConnectionData& rSource) { DBG_CHKTHIS(OQueryTableConnectionData,NULL); - DBG_ASSERT(rSource.ISA(OQueryTableConnectionData), "QueryTabConn::CopyFrom : ungueltiger Parameter !"); + DBG_ASSERT(dynamic_cast< const OQueryTableConnectionData*>(&rSource), "QueryTabConn::CopyFrom : ungueltiger Parameter !"); // wie in der Basisklasse zurueckziehen auf das (nicht-virtuelle) operator= *this = (const OQueryTableConnectionData&)rSource; } File [changed]: QTableConnectionData.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableConnectionData.hxx?r1=1.5&r2=1.5.430.1 Delta lines: +2 -3 ------------------- --- QTableConnectionData.hxx 6 Feb 2002 08:15:30 -0000 1.5 +++ QTableConnectionData.hxx 6 Jul 2005 12:50:14 -0000 1.5.430.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableConnectionData.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.5.430.1 $ * - * last change: $Author: oj $ $Date: 2002/02/06 08:15:30 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,7 +102,6 @@ OQueryTableConnectionData& operator=( const OQueryTableConnectionData& rConnData ); public: - TYPEINFO(); OQueryTableConnectionData(); OQueryTableConnectionData( const OQueryTableConnectionData& rConnData ); OQueryTableConnectionData( const ::rtl::OUString& strSourceTable, const ::rtl::OUString& strDestTable, File [changed]: QTableWindow.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableWindow.cxx?r1=1.14&r2=1.14.242.1 Delta lines: +4 -5 ------------------- --- QTableWindow.cxx 1 Dec 2003 10:38:18 -0000 1.14 +++ QTableWindow.cxx 6 Jul 2005 12:50:14 -0000 1.14.242.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableWindow.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.14.242.1 $ * - * last change: $Author: rt $ $Date: 2003/12/01 10:38:18 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -133,7 +133,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::beans; using namespace dbaui; -TYPEINIT1(OQueryTableWindow, OTableWindow); //======================================================================== // class OQueryTableWindow //======================================================================== @@ -176,7 +175,7 @@ ::rtl::OUString strAliasName; OTableWindowData* pWinData = GetData(); - DBG_ASSERT(pWinData->ISA(OQueryTableWindowData), "OQueryTableWindow::Init() : habe keine OQueryTableWindowData"); + DBG_ASSERT(dynamic_cast< const OQueryTableWindowData*>(pWinData), "OQueryTableWindow::Init() : habe keine OQueryTableWindowData"); if (m_strInitialAlias.getLength() ) // Der Alias wurde explizit mit angegeben File [changed]: QTableWindow.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableWindow.hxx?r1=1.5&r2=1.5.422.1 Delta lines: +2 -3 ------------------- --- QTableWindow.hxx 8 Nov 2002 09:26:57 -0000 1.5 +++ QTableWindow.hxx 6 Jul 2005 12:50:14 -0000 1.5.422.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableWindow.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.5.422.1 $ * - * last change: $Author: oj $ $Date: 2002/11/08 09:26:57 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,7 +82,6 @@ sal_Int32 m_nAliasNum; ::rtl::OUString m_strInitialAlias; public: - TYPEINFO(); OQueryTableWindow( Window* pParent, OQueryTableWindowData* pTabWinData, sal_Unicode* pszInitialAlias = NULL ); virtual ~OQueryTableWindow(); File [changed]: QTableWindowData.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableWindowData.cxx?r1=1.2&r2=1.2.444.1 Delta lines: +2 -3 ------------------- --- QTableWindowData.cxx 27 Aug 2001 06:57:23 -0000 1.2 +++ QTableWindowData.cxx 6 Jul 2005 12:50:14 -0000 1.2.444.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableWindowData.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.444.1 $ * - * last change: $Author: oj $ $Date: 2001/08/27 06:57:23 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,7 +70,6 @@ using namespace ::com::sun::star::io; using namespace ::com::sun::star::uno; -TYPEINIT1(OQueryTableWindowData, OTableWindowData); DBG_NAME(OQueryTableWindowData) //================================================================== File [changed]: QTableWindowData.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableWindowData.hxx?r1=1.3&r2=1.3.444.1 Delta lines: +2 -3 ------------------- --- QTableWindowData.hxx 5 Oct 2001 06:49:18 -0000 1.3 +++ QTableWindowData.hxx 6 Jul 2005 12:50:15 -0000 1.3.444.1 @@ -2,9 +2,9 @@ * * $RCSfile: QTableWindowData.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.444.1 $ * - * last change: $Author: oj $ $Date: 2001/10/05 06:49:18 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,7 +83,6 @@ protected: // ::std::vector< ::rtl::OUString> m_vField; public: - TYPEINFO(); OQueryTableWindowData(); OQueryTableWindowData(const ::rtl::OUString& _rComposedName, const ::rtl::OUString& rTableName, const ::rtl::OUString& rTableAlias); virtual ~OQueryTableWindowData(); File [changed]: QueryTableView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QueryTableView.cxx?r1=1.33&r2=1.33.144.1 Delta lines: +7 -8 ------------------- --- QueryTableView.cxx 9 Sep 2004 09:48:33 -0000 1.33 +++ QueryTableView.cxx 6 Jul 2005 12:50:15 -0000 1.33.144.1 @@ -2,9 +2,9 @@ * * $RCSfile: QueryTableView.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.33.144.1 $ * - * last change: $Author: rt $ $Date: 2004/09/09 09:48:33 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -159,7 +159,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::accessibility; -TYPEINIT1(OQueryTableView, OJoinTableView); //------------------------------------------------------------------------------ namespace @@ -576,7 +575,7 @@ ::std::vector< OTableWindowData*>::iterator aWinIter = pWindowData->begin(); for(;aWinIter != pWindowData->end();++aWinIter) { - pNewTabWinData = PTR_CAST(OQueryTableWindowData, *aWinIter); + pNewTabWinData = dynamic_cast< OQueryTableWindowData* >( *aWinIter ); if (pNewTabWinData && pNewTabWinData->GetWinName() == strAlias && pNewTabWinData->GetComposedName() == _rComposedName && pNewTabWinData->GetTableName() == strTableName) break; } @@ -773,7 +772,7 @@ void OQueryTableView::ConnDoubleClicked(OTableConnection* pConnection) { DBG_CHKTHIS(OQueryTableView,NULL); - DBG_ASSERT(pConnection->ISA(OQueryTableConnection), "OQueryTableView::ConnDoubleClicked : pConnection hat falschen Typ"); + DBG_ASSERT(dynamic_cast< const OQueryTableConnection*>(pConnection), "OQueryTableView::ConnDoubleClicked : pConnection hat falschen Typ"); // da ich nur solche selber verwende, duerfen auch nur solche hier ankommen if( openJoinDialog(this,pConnection->GetData(),FALSE) ) @@ -818,7 +817,7 @@ ::std::vector<OTableConnection*>::const_iterator OQueryTableView::RemoveConnection( OTableConnection* _pConnection,sal_Bool _bDelete ) { DBG_CHKTHIS(OQueryTableView,NULL); - DBG_ASSERT(_pConnection->ISA(OQueryTableConnection), "OQueryTableView::RemoveConnection : Connection ist vom falschen Typ !"); + DBG_ASSERT(dynamic_cast< const OQueryTableConnection*>(_pConnection), "OQueryTableView::RemoveConnection : Connection ist vom falschen Typ !"); // NICHT die Basisklasse erledigen lassen (die loescht die Connection hart, ich will sie aber ans Undo uebergeben) // we don't want that our connection will be deleted, we put it in the undo manager @@ -882,7 +881,7 @@ { DBG_CHKTHIS(OQueryTableView,NULL); DBG_ASSERT(pTabWin != NULL, "OQueryTableView::RemoveTabWin : Fenster sollte ungleich NULL sein !"); - DBG_ASSERT(pTabWin->ISA(OQueryTableWindow), "OQueryTableView::RemoveTabWin : Fenster sollte ein OQueryTableWindow sein !"); + DBG_ASSERT(dynamic_cast< const OQueryTableWindow*>(pTabWin), "OQueryTableView::RemoveTabWin : Fenster sollte ein OQueryTableWindow sein !"); // mein Parent brauche ich, da es vom Loeschen erfahren soll OQueryDesignView* pParent = static_cast<OQueryDesignView*>(getDesignView()); File [changed]: TableConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/TableConnection.cxx?r1=1.10&r2=1.10.212.1 Delta lines: +3 -4 ------------------- --- TableConnection.cxx 2 Mar 2004 12:46:58 -0000 1.10 +++ TableConnection.cxx 6 Jul 2005 12:50:15 -0000 1.10.212.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableConnection.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.10.212.1 $ * - * last change: $Author: rt $ $Date: 2004/03/02 12:46:58 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -84,7 +84,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::accessibility; -TYPEINIT0(OTableConnection); //======================================================================== // class OTableConnection //======================================================================== File [changed]: TableConnectionData.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/TableConnectionData.cxx?r1=1.5&r2=1.5.154.1 Delta lines: +3 -4 ------------------- --- TableConnectionData.cxx 2 Aug 2004 16:14:22 -0000 1.5 +++ TableConnectionData.cxx 6 Jul 2005 12:50:15 -0000 1.5.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableConnectionData.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.5.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 16:14:22 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,7 +74,6 @@ // class OTableConnectionData //================================================================== DBG_NAME(OTableConnectionData); -TYPEINIT0(OTableConnectionData); //------------------------------------------------------------------------ OTableConnectionData::OTableConnectionData() { File [changed]: TableWindow.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/TableWindow.cxx?r1=1.29&r2=1.29.154.1 Delta lines: +3 -4 ------------------- --- TableWindow.cxx 2 Aug 2004 16:14:58 -0000 1.29 +++ TableWindow.cxx 6 Jul 2005 12:50:15 -0000 1.29.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableWindow.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.29.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 16:14:58 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -149,7 +149,6 @@ #define TABWIN_HEIGHT_MIN 80 -TYPEINIT0(OTableWindow); //======================================================================== // class OTableWindow //======================================================================== File [changed]: TableWindowData.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/TableWindowData.cxx?r1=1.3&r2=1.3.458.1 Delta lines: +2 -3 ------------------- --- TableWindowData.cxx 28 Feb 2001 10:18:26 -0000 1.3 +++ TableWindowData.cxx 6 Jul 2005 12:50:16 -0000 1.3.458.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableWindowData.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.458.1 $ * - * last change: $Author: oj $ $Date: 2001/02/28 10:18:26 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,7 +77,6 @@ using namespace ::com::sun::star::io; using namespace ::com::sun::star::uno; -TYPEINIT0(OTableWindowData); //================================================================== // class OTableWindowData File [changed]: TableWindowData.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/TableWindowData.hxx?r1=1.2&r2=1.2.154.1 Delta lines: +3 -4 ------------------- --- TableWindowData.hxx 2 Aug 2004 16:15:28 -0000 1.2 +++ TableWindowData.hxx 6 Jul 2005 12:50:16 -0000 1.2.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableWindowData.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 16:15:28 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -87,7 +87,6 @@ BOOL m_bShowAll; public: - TYPEINFO(); OTableWindowData(); OTableWindowData( const ::rtl::OUString& _rComposedName, const ::rtl::OUString& strTableName, const ::rtl::OUString& rWinName = ::rtl::OUString() ); virtual ~OTableWindowData(); Directory: /dba/dbaccess/source/ui/relationdesign/ ================================================== File [changed]: RTableWindow.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/relationdesign/RTableWindow.hxx?r1=1.1&r2=1.1.422.1 Delta lines: +3 -4 ------------------- --- RTableWindow.hxx 12 Nov 2002 10:09:38 -0000 1.1 +++ RTableWindow.hxx 6 Jul 2005 12:50:18 -0000 1.1.422.1 @@ -2,9 +2,9 @@ * * $RCSfile: RTableWindow.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.1.422.1 $ * - * last change: $Author: oj $ $Date: 2002/11/12 10:09:38 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,7 +72,6 @@ public: ORelationTableWindow( Window* pParent, OTableWindowData* pTabWinData) : OTableWindow(pParent, pTabWinData) {} - TYPEINFO(); /** returns the name which should be used when displaying join or relations @return File [changed]: RelationTableView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/relationdesign/RelationTableView.cxx?r1=1.18&r2=1.18.144.1 Delta lines: +3 -4 ------------------- --- RelationTableView.cxx 9 Sep 2004 09:50:41 -0000 1.18 +++ RelationTableView.cxx 6 Jul 2005 12:50:18 -0000 1.18.144.1 @@ -2,9 +2,9 @@ * * $RCSfile: RelationTableView.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.18.144.1 $ * - * last change: $Author: rt $ $Date: 2004/09/09 09:50:41 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -159,7 +159,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::accessibility; -TYPEINIT1(ORelationTableWindow, OTableWindow); //================================================================== // class ORelationTableView Directory: /dba/dbaccess/source/ui/tabledesign/ =============================================== File [changed]: TEditControl.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TEditControl.cxx?r1=1.42&r2=1.42.52.1 Delta lines: +3 -4 ------------------- --- TEditControl.cxx 10 Mar 2005 16:54:31 -0000 1.42 +++ TEditControl.cxx 6 Jul 2005 12:50:19 -0000 1.42.52.1 @@ -2,9 +2,9 @@ * * $RCSfile: TEditControl.cxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.42.52.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:54:31 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -160,7 +160,6 @@ } //============================================================================== -// TYPEINIT1(OTableEditorCtrl, DBView); DBG_NAME(OTableEditorCtrl); //============================================================================== File [changed]: TEditControl.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TEditControl.hxx?r1=1.13&r2=1.13.384.1 Delta lines: +2 -3 ------------------- --- TEditControl.hxx 19 Mar 2003 17:53:02 -0000 1.13 +++ TEditControl.hxx 6 Jul 2005 12:50:19 -0000 1.13.384.1 @@ -2,9 +2,9 @@ * * $RCSfile: TEditControl.hxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.13.384.1 $ * - * last change: $Author: hr $ $Date: 2003/03/19 17:53:02 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -179,7 +179,6 @@ DECL_LINK(ControlPreNotifyHdl, NotifyEvent*); public: - // TYPEINFO(); OTableEditorCtrl(Window* pParentWin); virtual ~OTableEditorCtrl(); virtual BOOL CursorMoving(long nNewRow, USHORT nNewCol); File [changed]: TableUndo.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TableUndo.cxx?r1=1.12&r2=1.12.154.1 Delta lines: +3 -12 -------------------- --- TableUndo.cxx 2 Aug 2004 16:19:00 -0000 1.12 +++ TableUndo.cxx 6 Jul 2005 12:50:20 -0000 1.12.154.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableUndo.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.12.154.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 16:19:00 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -94,15 +94,6 @@ using namespace ::svt; #endif -TYPEINIT1( OCommentUndoAction, SfxUndoAction ); -TYPEINIT1( OTableDesignUndoAct, OCommentUndoAction ); -TYPEINIT1( OTableEditorUndoAct, OTableDesignUndoAct ); -TYPEINIT1( OTableDesignCellUndoAct, OTableDesignUndoAct ); -TYPEINIT1( OTableEditorTypeSelUndoAct, OTableEditorUndoAct ); -TYPEINIT1( OTableEditorDelUndoAct, OTableEditorUndoAct ); -TYPEINIT1( OTableEditorInsUndoAct, OTableEditorUndoAct ); -TYPEINIT1( OTableEditorInsNewUndoAct, OTableEditorUndoAct ); -TYPEINIT1( OPrimKeyUndoAct, OTableEditorUndoAct ); //============================================================================== // class OTableDesignUndoAct File [changed]: TableUndo.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TableUndo.hxx?r1=1.5&r2=1.5.186.1 Delta lines: +3 -11 -------------------- --- TableUndo.hxx 10 May 2004 13:09:33 -0000 1.5 +++ TableUndo.hxx 6 Jul 2005 12:50:20 -0000 1.5.186.1 @@ -2,9 +2,9 @@ * * $RCSfile: TableUndo.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.5.186.1 $ * - * last change: $Author: hr $ $Date: 2004/05/10 13:09:33 $ + * last change: $Author: os $ $Date: 2005/07/06 12:50:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -90,7 +90,6 @@ virtual void Undo(); virtual void Redo(); public: - TYPEINFO(); OTableDesignUndoAct( OTableRowView* pOwner ,USHORT nCommentID); virtual ~OTableDesignUndoAct(); }; @@ -103,7 +102,6 @@ OTableEditorCtrl* pTabEdCtrl; public: - TYPEINFO(); OTableEditorUndoAct( OTableEditorCtrl* pOwner,USHORT nCommentID ); virtual ~OTableEditorUndoAct(); }; @@ -121,7 +119,6 @@ virtual void Undo(); virtual void Redo(); public: - TYPEINFO(); OTableDesignCellUndoAct( OTableRowView* pOwner, long nRowID, USHORT nColumn ); virtual ~OTableDesignCellUndoAct(); }; @@ -139,7 +136,6 @@ virtual void Undo(); virtual void Redo(); public: - TYPEINFO(); OTableEditorTypeSelUndoAct( OTableEditorCtrl* pOwner, long nRowID, USHORT nColumn, const TOTypeInfoSP& _pOldType ); virtual ~OTableEditorTypeSelUndoAct(); }; @@ -153,7 +149,6 @@ virtual void Undo(); virtual void Redo(); public: - TYPEINFO(); OTableEditorDelUndoAct( OTableEditorCtrl* pOwner ); virtual ~OTableEditorDelUndoAct(); }; @@ -168,7 +163,6 @@ virtual void Undo(); virtual void Redo(); public: - TYPEINFO(); OTableEditorInsUndoAct( OTableEditorCtrl* pOwner, long nInsertPosition, const ::std::vector< OTableRow*>& _vInsertedRows); @@ -185,7 +179,6 @@ virtual void Undo(); virtual void Redo(); public: - TYPEINFO(); OTableEditorInsNewUndoAct( OTableEditorCtrl* pOwner, long nInsertPosition, long nInsertedRows ); virtual ~OTableEditorInsNewUndoAct(); }; @@ -202,7 +195,6 @@ virtual void Undo(); virtual void Redo(); public: - TYPEINFO(); OPrimKeyUndoAct( OTableEditorCtrl* pOwner, MultiSelection aDeletedKeys, MultiSelection aInsertedKeys ); virtual ~OPrimKeyUndoAct(); }; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
