summaryrefslogtreecommitdiff
path: root/include/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-21 10:15:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-21 10:07:37 +0000
commit0649622956431e0a1955cb80d1175025401ab5e5 (patch)
treecdaa1ff406d232399d53594ad1a32691402ab665 /include/dbaccess
parentede35e5c693a287f31e3c02d8afd33580e827380 (diff)
loplugin:unusedmethods
Change-Id: I52a9f16f3ed543a3c83ca111df70e3f7ae1ef33c Reviewed-on: https://gerrit.libreoffice.org/34508 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/dbaccess')
-rw-r--r--include/dbaccess/IController.hxx14
-rw-r--r--include/dbaccess/genericcontroller.hxx1
2 files changed, 0 insertions, 15 deletions
diff --git a/include/dbaccess/IController.hxx b/include/dbaccess/IController.hxx
index 2f3e0ba6ef3d..5890489da5e7 100644
--- a/include/dbaccess/IController.hxx
+++ b/include/dbaccess/IController.hxx
@@ -89,20 +89,6 @@ namespace dbaui
*/
virtual bool isCommandEnabled( const OUString& _rCompleteCommandURL ) const = 0;
- /** registers a command URL, giving it a unique name
-
- If you call this with a command URL which is supported by the controller, then
- you will simply get the controller's internal numeric shortcut to this command.
-
- If you call this with a command URL which is not supported by the controller, then
- you will get a new ID, which is unique during the lifetime of the controller.
-
- If the command URL is invalid, or the controller cannot register new commands anymore,
- then 0 is returned.
- */
- virtual sal_uInt16
- registerCommandURL( const OUString& _rCompleteCommandURL ) = 0;
-
/** notifyHiContrastChanged will be called when the hicontrast mode changed.
@param _bHiContrast
<TRUE/> when in hicontrast mode.
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index bae36a23ec54..e2e389c8d9a6 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -461,7 +461,6 @@ namespace dbaui
virtual void executeChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
virtual bool isCommandEnabled(sal_uInt16 _nCommandId) const override;
virtual bool isCommandEnabled(const OUString& _rCompleteCommandURL) const override;
- virtual sal_uInt16 registerCommandURL( const OUString& _rCompleteCommandURL ) override;
virtual void notifyHiContrastChanged() override;
virtual bool isDataSourceReadOnly() const override;
virtual css::uno::Reference< css::frame::XController > getXController() override;