summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/browserview.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-12-13 10:56:36 +0000
committerKurt Zenker <kz@openoffice.org>2006-12-13 10:56:36 +0000
commit0fb67ae80bb9bbe752eab5f1f2629555da8fefc4 (patch)
tree29a0a78fbde82c6fe559d8b1f551c5231871ff3e /extensions/source/propctrlr/browserview.cxx
parentf4a2b0771a15d9f4a7a76d91242cbb56982cd816 (diff)
INTEGRATION: CWS oihelp (1.12.42); FILE MERGED
2006/11/15 10:03:11 fs 1.12.42.2: #i71485# 2006/11/14 12:29:34 fs 1.12.42.1: #i71485# introduce a HelpSection (still fixed size, not finished completely)
Diffstat (limited to 'extensions/source/propctrlr/browserview.cxx')
-rw-r--r--extensions/source/propctrlr/browserview.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/browserview.cxx b/extensions/source/propctrlr/browserview.cxx
index e5375ab41626..bddd18b9071b 100644
--- a/extensions/source/propctrlr/browserview.cxx
+++ b/extensions/source/propctrlr/browserview.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: browserview.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 13:13:40 $
+ * last change: $Author: kz $ $Date: 2006-12-13 11:56:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -108,7 +108,7 @@ namespace pcr
void OPropertyBrowserView::activatePage(sal_uInt16 _nPage)
{
m_nActivePage = _nPage;
- getPropertyBox()->SetPage(m_nActivePage);
+ getPropertyBox().SetPage(m_nActivePage);
}
//------------------------------------------------------------------------
@@ -131,9 +131,11 @@ namespace pcr
::com::sun::star::awt::Size OPropertyBrowserView::getMinimumSize()
{
Size aSize = GetOutputSizePixel();
- aSize.setHeight( 250 );
if( m_pPropBox )
+ {
+ aSize.setHeight( m_pPropBox->getMinimumHeight() );
aSize.setWidth( m_pPropBox->getMinimumWidth() );
+ }
return ::com::sun::star::awt::Size( aSize.Width(), aSize.Height() );
}