svtools/source/dialogs/addresstemplate.cxx | 20 -------------------- 1 file changed, 20 deletions(-)
New commits: commit 82925f1a2141206864d8a6d490af4adafcaeaed9 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Apr 3 15:36:43 2014 +0200 Remove unused getCommandType Change-Id: I76c9ea0740223b601440ca7c7122b814e777fca3 diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 3a1177e..102a5df 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits