diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/definitioncolumn.cxx | 8 | ||||
-rw-r--r-- | dbaccess/source/core/dataaccess/commanddefinition.cxx | 55 | ||||
-rw-r--r-- | dbaccess/source/core/dataaccess/commanddefinition.hxx | 13 | ||||
-rw-r--r-- | dbaccess/source/core/inc/definitioncolumn.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/misc/dsntypes.cxx | 6 | ||||
-rw-r--r-- | dbaccess/source/inc/dsntypes.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 12 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.hxx | 4 |
8 files changed, 0 insertions, 102 deletions
diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx index 87b2d29bbdbc..f2e366e5f840 100644 --- a/dbaccess/source/core/api/definitioncolumn.cxx +++ b/dbaccess/source/core/api/definitioncolumn.cxx @@ -396,14 +396,6 @@ void OColumnWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const } } -sal_Int64 SAL_CALL OColumnWrapper::getSomething( const Sequence< sal_Int8 >& aIdentifier ) throw(RuntimeException) -{ - Reference< XUnoTunnel > xTunnel( m_xAggregate, UNO_QUERY); - if ( xTunnel.is() ) - return xTunnel->getSomething( aIdentifier ); - return 0; -} - // OTableColumnDescriptorWrapper OTableColumnDescriptorWrapper::OTableColumnDescriptorWrapper( const Reference< XPropertySet >& _rCol, const bool _bPureWrap, const bool _bIsDescriptor ) :OColumnWrapper( _rCol, !_bIsDescriptor ) diff --git a/dbaccess/source/core/dataaccess/commanddefinition.cxx b/dbaccess/source/core/dataaccess/commanddefinition.cxx index 89b2ed39405d..bf0584e23fbc 100644 --- a/dbaccess/source/core/dataaccess/commanddefinition.cxx +++ b/dbaccess/source/core/dataaccess/commanddefinition.cxx @@ -68,61 +68,6 @@ void OCommandDefinition::registerProperties() &rCommandDefinition.m_aLayoutInformation, cppu::UnoType<decltype(rCommandDefinition.m_aLayoutInformation)>::get()); } -OUString OCommandDefinition::getName() throw( ::com::sun::star::uno::RuntimeException ) -{ - return getDefinition().m_aProps.aTitle; -} - -OUString OCommandDefinition::getCommand() throw( ::com::sun::star::uno::RuntimeException ) -{ - return getCommandDefinition().m_sCommand; -} - -void OCommandDefinition::setCommand(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException ) -{ - setPropertyValue(PROPERTY_COMMAND, Any(p1) ); -} - -bool OCommandDefinition::getEscapeProcessing() throw( ::com::sun::star::uno::RuntimeException ) -{ - return getCommandDefinition().m_bEscapeProcessing; -} - -void OCommandDefinition::setEscapeProcessing(bool p1) throw( ::com::sun::star::uno::RuntimeException ) -{ - setPropertyValue(PROPERTY_ESCAPE_PROCESSING, Any(p1) ); -} - -OUString OCommandDefinition::getUpdateTableName() throw( ::com::sun::star::uno::RuntimeException ) -{ - return getCommandDefinition().m_sUpdateTableName; -} - -void OCommandDefinition::setUpdateTableName(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException ) -{ - setPropertyValue(PROPERTY_UPDATE_TABLENAME, Any(p1) ); -} - -OUString OCommandDefinition::getUpdateCatalogName() throw( ::com::sun::star::uno::RuntimeException ) -{ - return getCommandDefinition().m_sUpdateCatalogName; -} - -void OCommandDefinition::setUpdateCatalogName(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException ) -{ - setPropertyValue(PROPERTY_UPDATE_CATALOGNAME, Any(p1) ); -} - -OUString OCommandDefinition::getUpdateSchemaName() throw( ::com::sun::star::uno::RuntimeException ) -{ - return getCommandDefinition().m_sUpdateSchemaName; -} - -void OCommandDefinition::setUpdateSchemaName(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException ) -{ - setPropertyValue(PROPERTY_UPDATE_SCHEMANAME, Any(p1) ); -} - OCommandDefinition::OCommandDefinition(const Reference< XComponentContext >& _xORB ,const Reference< XInterface >& _rxContainer ,const TContentPtr& _pImpl) diff --git a/dbaccess/source/core/dataaccess/commanddefinition.hxx b/dbaccess/source/core/dataaccess/commanddefinition.hxx index 18469f916267..d8f4923d81ce 100644 --- a/dbaccess/source/core/dataaccess/commanddefinition.hxx +++ b/dbaccess/source/core/dataaccess/commanddefinition.hxx @@ -124,19 +124,6 @@ public: virtual void SAL_CALL removeEventListener(const com::sun::star::uno::Reference<com::sun::star::lang::XEventListener>& p1) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { OComponentDefinition::removeEventListener(p1); } - // XQueryDefinition properties - OUString getName() throw( ::com::sun::star::uno::RuntimeException ); - OUString getCommand() throw( ::com::sun::star::uno::RuntimeException ); - void setCommand(const OUString&) throw( ::com::sun::star::uno::RuntimeException ); - bool getEscapeProcessing() throw( ::com::sun::star::uno::RuntimeException ); - void setEscapeProcessing(bool) throw( ::com::sun::star::uno::RuntimeException ); - OUString getUpdateTableName() throw( ::com::sun::star::uno::RuntimeException ); - void setUpdateTableName(const OUString&) throw( ::com::sun::star::uno::RuntimeException ); - OUString getUpdateCatalogName() throw( ::com::sun::star::uno::RuntimeException ); - void setUpdateCatalogName(const OUString&) throw( ::com::sun::star::uno::RuntimeException ); - OUString getUpdateSchemaName() throw( ::com::sun::star::uno::RuntimeException ); - void setUpdateSchemaName(const OUString&) throw( ::com::sun::star::uno::RuntimeException ); - // OPropertySetHelper DECLARE_PROPERTYCONTAINER_DEFAULTS( ); diff --git a/dbaccess/source/core/inc/definitioncolumn.hxx b/dbaccess/source/core/inc/definitioncolumn.hxx index d615c55929f3..0fa060e2bd2c 100644 --- a/dbaccess/source/core/inc/definitioncolumn.hxx +++ b/dbaccess/source/core/inc/definitioncolumn.hxx @@ -209,8 +209,6 @@ namespace dbaccess ) throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE; - sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); - protected: OUString impl_getPropertyNameFromHandle( const sal_Int32 _nHandle ) const; diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx index a8e80f21be6a..1e4d003c271a 100644 --- a/dbaccess/source/core/misc/dsntypes.cxx +++ b/dbaccess/source/core/misc/dsntypes.cxx @@ -279,12 +279,6 @@ bool ODsnTypeCollection::supportsDBCreation(const OUString& _sURL) const return aFeatures.getOrDefault("SupportsDBCreation",sal_False); } -bool ODsnTypeCollection::needsJVM(const OUString& _sURL) const -{ - const ::comphelper::NamedValueCollection& aFeatures = m_aDriverConfig.getMetaData(_sURL); - return aFeatures.getOrDefault("UseJava",sal_False); -} - Sequence<PropertyValue> ODsnTypeCollection::getDefaultDBSettings( const OUString& _sURL ) const { const ::comphelper::NamedValueCollection& aProperties = m_aDriverConfig.getProperties(_sURL); diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx index 79b8f9c928aa..f26d6b2a21db 100644 --- a/dbaccess/source/inc/dsntypes.hxx +++ b/dbaccess/source/inc/dsntypes.hxx @@ -179,8 +179,6 @@ public: DATASOURCE_TYPE determineType(const OUString& _rDsn) const; - bool needsJVM(const OUString& _rDsn) const; - sal_Int32 getIndexOf(const OUString& _sURL) const; sal_Int32 size() const; OUString getType(const OUString& _sURL) const; diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index b8e31e998163..8d82f1eaf4fe 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -138,18 +138,6 @@ namespace dbaui m_pTablesList->notifyHiContrastChanged(); } } - void OTableSubscriptionPage::resizeControls(const Size& _rDiff) - { - if ( _rDiff.Height() ) - { - Size aOldSize = m_pTablesList->GetSizePixel(); - aOldSize.Height() -= _rDiff.Height(); - m_pTablesList->SetPosSizePixel( - m_pTablesList->GetPosPixel()+Point(0,_rDiff.Height()), - aOldSize - ); - } - } void OTableSubscriptionPage::implCheckTables(const Sequence< OUString >& _rTables) { // the meta data for the current connection, used for splitting up table names diff --git a/dbaccess/source/ui/dlg/tablespage.hxx b/dbaccess/source/ui/dlg/tablespage.hxx index 884ef4a499a9..2b8d9f223880 100644 --- a/dbaccess/source/ui/dlg/tablespage.hxx +++ b/dbaccess/source/ui/dlg/tablespage.hxx @@ -56,10 +56,6 @@ namespace dbaui virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; - /** will be called when the controls need to be resized. - */ - void resizeControls(const Size& _rDiff); - OTableSubscriptionPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ,OTableSubscriptionDialog* _pTablesDlg); virtual ~OTableSubscriptionPage(); virtual void dispose() SAL_OVERRIDE; |