summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 19:19:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 19:28:07 +0100
commita62a139c4f33b4e981851dac961cfc41f23f896f (patch)
tree2769be51f81f19bf153f9e160c4be6e07a1a45bb /extensions
parent38d9e38981a8ade60bb627b00197ecd28fb9158e (diff)
loplugin:unusedmethods
Change-Id: Iad97bdbcbec4cbbccf3df9b9d682e744b0c1982e Reviewed-on: https://gerrit.libreoffice.org/85709 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/inspectorhelpwindow.cxx18
-rw-r--r--extensions/source/propctrlr/inspectorhelpwindow.hxx2
2 files changed, 0 insertions, 20 deletions
diff --git a/extensions/source/propctrlr/inspectorhelpwindow.cxx b/extensions/source/propctrlr/inspectorhelpwindow.cxx
index 699f64cc6ba8..beaecec3502a 100644
--- a/extensions/source/propctrlr/inspectorhelpwindow.cxx
+++ b/extensions/source/propctrlr/inspectorhelpwindow.cxx
@@ -47,11 +47,6 @@ namespace pcr
m_nMaxLines = nMaxLines;
}
- long InspectorHelpWindow::GetMinimalHeightPixel()
- {
- return impl_getMinimalTextWindowHeight();
- }
-
long InspectorHelpWindow::impl_getMinimalTextWindowHeight()
{
return m_xHelpText->get_height_rows(m_nMinLines);
@@ -62,19 +57,6 @@ namespace pcr
return m_xHelpText->get_height_rows(m_nMaxLines);
}
- long InspectorHelpWindow::GetOptimalHeightPixel()
- {
- // --- calc the height as needed for the mere text window
- long nMinTextWindowHeight = impl_getMinimalTextWindowHeight();
- long nMaxTextWindowHeight = impl_getMaximalTextWindowHeight();
-
- long nActTextWindowHeight = m_xHelpFrame->get_preferred_size().Height();
-
- long nOptTextWindowHeight = std::max( nMinTextWindowHeight, std::min( nMaxTextWindowHeight, nActTextWindowHeight ) );
-
- return nOptTextWindowHeight;
- }
-
} // namespace pcr
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/propctrlr/inspectorhelpwindow.hxx b/extensions/source/propctrlr/inspectorhelpwindow.hxx
index fb8d15290eff..47041e33e0fa 100644
--- a/extensions/source/propctrlr/inspectorhelpwindow.hxx
+++ b/extensions/source/propctrlr/inspectorhelpwindow.hxx
@@ -40,8 +40,6 @@ namespace pcr
void SetText(const OUString& rStr);
void SetLimits(sal_Int32 nMinLines, sal_Int32 nMaxLines);
- long GetMinimalHeightPixel();
- long GetOptimalHeightPixel();
void Show(bool bShow) { m_xHelpFrame->set_visible(bShow); }
bool IsVisible() const { return m_xHelpFrame->get_visible(); }