summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-20 14:06:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-20 14:20:33 +0100
commit1f116adb7cfa7ee6a441693530d5afc94ca70f1a (patch)
treede93624767b6ffa5d98fd81c6826acb85614cf57 /dbaccess
parenta89ec4cf0bff07cb2b62ba0b376c0ca43719980a (diff)
callcatcher: update unused code
Change-Id: I29b3f1408b814a1424d8bab232e9ac618901b4c2
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/definitioncolumn.cxx8
-rw-r--r--dbaccess/source/core/dataaccess/commanddefinition.cxx55
-rw-r--r--dbaccess/source/core/dataaccess/commanddefinition.hxx13
-rw-r--r--dbaccess/source/core/inc/definitioncolumn.hxx2
-rw-r--r--dbaccess/source/core/misc/dsntypes.cxx6
-rw-r--r--dbaccess/source/inc/dsntypes.hxx2
-rw-r--r--dbaccess/source/ui/dlg/tablespage.cxx12
-rw-r--r--dbaccess/source/ui/dlg/tablespage.hxx4
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;