diff options
-rw-r--r-- | connectivity/source/drivers/mozab/MResultSet.cxx | 14 | ||||
-rw-r--r-- | connectivity/source/drivers/mozab/MResultSet.hxx | 1 | ||||
-rw-r--r-- | toolkit/inc/toolkit/awt/vclxdevice.hxx | 1 | ||||
-rw-r--r-- | toolkit/inc/toolkit/awt/vclxwindows.hxx | 1 | ||||
-rw-r--r-- | toolkit/source/awt/vclxdevice.cxx | 5 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 7 | ||||
-rwxr-xr-x | unusedcode.easy | 3 |
7 files changed, 0 insertions, 32 deletions
diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx index ed92e4212b7a..6e1cdbe4a9a3 100644 --- a/connectivity/source/drivers/mozab/MResultSet.cxx +++ b/connectivity/source/drivers/mozab/MResultSet.cxx @@ -717,16 +717,6 @@ void SAL_CALL OResultSet::release() throw() { return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); } -// ----------------------------------------------------------------------------- -void OResultSet::initializeRow(OValueRow& _rRow,sal_Int32 _nColumnCount) -{ - if(!_rRow.is()) - { - _rRow = new OValueVector(_nColumnCount); - (_rRow->get())[0].setBound(sal_True); - ::std::for_each(_rRow->get().begin()+1,_rRow->get().end(),TSetBound(sal_False)); - } -} // ------------------------------------------------------------------------- void OResultSet::parseParameter( const OSQLParseNode* pNode, rtl::OUString& rMatchString ) @@ -1205,10 +1195,6 @@ void SAL_CALL OResultSet::executeQuery() throw( ::com::sun::star::sdbc::SQLExcep OSL_ENSURE(m_xColumns.is(), "Need the Columns!!"); - // sal_Int32 nColumnCount = m_xColumns->size(); - // initializeRow(m_aRow,nColumnCount); - // initializeRow(m_aEvaluateRow,nColumnCount); - switch( m_pSQLIterator->getStatementType() ) { case SQL_STATEMENT_SELECT: diff --git a/connectivity/source/drivers/mozab/MResultSet.hxx b/connectivity/source/drivers/mozab/MResultSet.hxx index 47e9ad13d276..2559b7fb7cf3 100644 --- a/connectivity/source/drivers/mozab/MResultSet.hxx +++ b/connectivity/source/drivers/mozab/MResultSet.hxx @@ -258,7 +258,6 @@ protected: void parseParameter( const OSQLParseNode* pNode, rtl::OUString& rMatchString ); void fillRowData() throw( ::com::sun::star::sdbc::SQLException ); - void initializeRow(OValueRow& _rRow,sal_Int32 _nColumnCount); void analyseWhereClause( const OSQLParseNode* parseTree, MQueryExpression &queryExpression); diff --git a/toolkit/inc/toolkit/awt/vclxdevice.hxx b/toolkit/inc/toolkit/awt/vclxdevice.hxx index fba5ec764a86..b800b2c2728f 100644 --- a/toolkit/inc/toolkit/awt/vclxdevice.hxx +++ b/toolkit/inc/toolkit/awt/vclxdevice.hxx @@ -75,7 +75,6 @@ public: OutputDevice* GetOutputDevice() const { return mpOutputDevice; } void SetCreatedWithToolkit( sal_Bool bCreatedWithToolkit ); - sal_Bool IsCreatedWithToolkit() const; // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); diff --git a/toolkit/inc/toolkit/awt/vclxwindows.hxx b/toolkit/inc/toolkit/awt/vclxwindows.hxx index 3949b543c685..a1f078411d95 100644 --- a/toolkit/inc/toolkit/awt/vclxwindows.hxx +++ b/toolkit/inc/toolkit/awt/vclxwindows.hxx @@ -338,7 +338,6 @@ public: static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds ); virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); } - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getFirstActionListener (); }; // ---------------------------------------------------- diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx index 40a5bb777e17..39c74b10e907 100644 --- a/toolkit/source/awt/vclxdevice.cxx +++ b/toolkit/source/awt/vclxdevice.cxx @@ -81,11 +81,6 @@ void VCLXDevice::SetCreatedWithToolkit( sal_Bool bCreatedWithToolkit ) nFlags &= ~FLAGS_CREATEDWITHTOOLKIT; } -sal_Bool VCLXDevice::IsCreatedWithToolkit() const -{ - return ( nFlags & FLAGS_CREATEDWITHTOOLKIT ) != 0; -} - // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any VCLXDevice::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 64a4ad8111b9..b8d13e24f5af 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1335,13 +1335,6 @@ void VCLXRadioButton::ImplClickedOrToggled( sal_Bool bToggled ) } } -::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > VCLXRadioButton::getFirstActionListener () -{ - if (!maItemListeners.getLength ()) - return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > (); - return maActionListeners.getElements()[0]; -} - // ---------------------------------------------------- // class VCLXSpinField // ---------------------------------------------------- diff --git a/unusedcode.easy b/unusedcode.easy index 7f3bb6c17f83..04647b4324c8 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -294,10 +294,8 @@ TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl() UnoControlBase::UnoControlBase() UnoControlModel::UnoControlModel() VCLUnoHelper::CreatePointer() -VCLXDevice::IsCreatedWithToolkit() const VCLXPrinterServer::getImplementationId() VCLXPrinterServer::getTypes() -VCLXRadioButton::getFirstActionListener() VbaFoundFilesEnum::SetFileList(com::sun::star::uno::Sequence<rtl::OUString>&) VbaFoundFilesEnum::VbaFoundFilesEnum() VclEventListeners2::~VclEventListeners2() @@ -717,7 +715,6 @@ connectivity::SQLError::getSQLState(int) const connectivity::file::OStatement_Base::reset() connectivity::file::OStatement_Base::setWarning(com::sun::star::sdbc::SQLWarning const&) connectivity::mozab::MQueryHelper::next() -connectivity::mozab::OResultSet::initializeRow(rtl::Reference<connectivity::ODeleteVector<connectivity::ORowSetValue> >&, int) connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char) connectivity::sdbcx::OGroup::OGroup(unsigned char) connectivity::toString(com::sun::star::uno::Any const&) |