summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-27 09:25:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-27 10:43:35 +0200
commit7ef34163216d575f43dfef6fa734ee06d2fe13af (patch)
tree94914ca19e7268bc5f17791bfb36f4ccf9a1d229 /cui
parent7c52d86f7b05fe7e0178f6d98a12a531b88a32ff (diff)
loplugin:unusedmethods
Change-Id: I5d75baa2af046f377b49e967783fb06cd9e885ef Reviewed-on: https://gerrit.libreoffice.org/42841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfgutil.cxx14
-rw-r--r--cui/source/inc/cfgutil.hxx11
2 files changed, 0 insertions, 25 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 2a8e591b82dc..02a34d9daf34 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -1265,8 +1265,6 @@ IMPL_LINK( SvxScriptSelectorDialog, ClickHdl, Button *, pButton, void )
}
else if (pButton == m_pOKButton)
{
- GetAddHdl().Call( *this );
-
// If we are displaying Slot API commands then this the dialog is being
// run from Tools/Configure and we should not close it
if ( !m_bShowSlots )
@@ -1293,12 +1291,6 @@ SvxScriptSelectorDialog::SetRunLabel()
m_pOKButton->SetText(CuiResId(RID_SVXSTR_SELECTOR_RUN));
}
-void
-SvxScriptSelectorDialog::SetDialogDescription( const OUString& rDescription )
-{
- m_pDialogDescription->SetText( rDescription );
-}
-
OUString
SvxScriptSelectorDialog::GetScriptURL() const
{
@@ -1320,10 +1312,4 @@ SvxScriptSelectorDialog::GetScriptURL() const
return result;
}
-OUString
-SvxScriptSelectorDialog::GetSelectedDisplayName()
-{
- return m_pCommands->GetEntryText( m_pCommands->FirstSelected() );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index 528b26f04b0e..3b2b190ed26e 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -192,7 +192,6 @@ class SvxScriptSelectorDialog : public ModalDialog
OUString m_sDefaultDesc;
SfxStylesInfo_Impl m_aStylesInfo;
bool m_bShowSlots;
- Link<SvxScriptSelectorDialog&,void> m_aAddHdl;
DECL_LINK( ClickHdl, Button *, void );
DECL_LINK( SelectHdl, SvTreeListBox*, void );
@@ -210,18 +209,8 @@ public:
virtual ~SvxScriptSelectorDialog() override;
virtual void dispose() override;
- void SetAddHdl( const Link<SvxScriptSelectorDialog&,void>& rLink ) { m_aAddHdl = rLink; }
- const Link<SvxScriptSelectorDialog&,void>& GetAddHdl() const { return m_aAddHdl; }
-
- void SetImageProvider(SaveInData* provider)
- {
- m_pCategories->SetImageProvider(provider);
- }
-
OUString GetScriptURL() const;
- OUString GetSelectedDisplayName();
void SetRunLabel();
- void SetDialogDescription(const OUString& rDescription);
};
#endif