Kaydet (Commit) 82925f1a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused getCommandType

Change-Id: I76c9ea0740223b601440ca7c7122b814e777fca3
üst 4a94fc28
......@@ -103,12 +103,6 @@ namespace svt
/// the command to use for the address book
virtual OUString getCommand() const = 0;
/** the command type to use for the address book
@return
a <type scope="com.sun.star.sdb">CommandType</type> value
*/
virtual sal_Int32 getCommandType() const = 0;
/// checks whether or not there is an assignment for a given logical field
virtual sal_Bool hasFieldAssignment(const OUString& _rLogicalName) = 0;
/// retrieves the assignment for a given logical field
......@@ -148,7 +142,6 @@ public:
// IAssigmentData overridables
virtual OUString getDatasourceName() const SAL_OVERRIDE;
virtual OUString getCommand() const SAL_OVERRIDE;
virtual sal_Int32 getCommandType() const SAL_OVERRIDE;
virtual sal_Bool hasFieldAssignment(const OUString& _rLogicalName) SAL_OVERRIDE;
virtual OUString getFieldAssignment(const OUString& _rLogicalName) SAL_OVERRIDE;
......@@ -213,12 +206,6 @@ public:
}
sal_Int32 AssigmentTransientData::getCommandType() const
{
return CommandType::TABLE;
}
sal_Bool AssigmentTransientData::hasFieldAssignment(const OUString& _rLogicalName)
{
MapString2String::const_iterator aPos = m_aAliases.find( _rLogicalName );
......@@ -285,7 +272,6 @@ public:
// IAssigmentData overridables
virtual OUString getDatasourceName() const SAL_OVERRIDE;
virtual OUString getCommand() const SAL_OVERRIDE;
virtual sal_Int32 getCommandType() const SAL_OVERRIDE;
virtual sal_Bool hasFieldAssignment(const OUString& _rLogicalName) SAL_OVERRIDE;
virtual OUString getFieldAssignment(const OUString& _rLogicalName) SAL_OVERRIDE;
......@@ -468,12 +454,6 @@ void AssignmentPersistentData::Commit()
}
sal_Int32 AssignmentPersistentData::getCommandType() const
{
return getInt32Property( "CommandType" );
}
// = AddressBookSourceDialogData
struct AddressBookSourceDialogData
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment