diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/inspectorhelpwindow.cxx | 18 | ||||
-rw-r--r-- | extensions/source/propctrlr/inspectorhelpwindow.hxx | 2 |
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(); } |