INTEGRATION: CWS mba30patches01 (1.18.4); FILE MERGED

2008/04/23 10:49:14 mba 1.18.4.2: RESYNC: (1.18-1.19); FILE MERGED
2008/03/18 15:40:56 mba 1.18.4.1: #i86365#: remove unused code
This commit is contained in:
Kurt Zenker 2008-05-20 18:10:14 +00:00
parent da0569e7f5
commit 8b1af7f6f2

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: browserline.cxx,v $
* $Revision: 1.19 $
* $Revision: 1.20 $
*
* This file is part of OpenOffice.org.
*
@ -141,39 +141,6 @@ namespace pcr
impl_layoutComponents();
}
//------------------------------------------------------------------
void OBrowserLine::SetPosPixel(Point aPosPoint)
{
m_aLinePos = aPosPoint;
Point aPos( m_aLinePos );
aPos.Y()+=2;
Point aTitlePos(m_aLinePos);
aTitlePos.Y()+=8;
m_aFtTitle.SetPosPixel(aTitlePos);
if ( m_pControlWindow )
{
Point aControlPos( aPos );
aControlPos.X() = m_pControlWindow->GetPosPixel().X();
m_pControlWindow->SetPosPixel( aControlPos );
}
if ( m_pBrowseButton )
{
Point aButtonPos( aPos );
aButtonPos.X() = m_pBrowseButton->GetPosPixel().X();
m_pBrowseButton->SetPosPixel( aButtonPos );
}
if ( m_pAdditionalBrowseButton )
{
Point aButtonPos( aPos );
aButtonPos.X() = m_pAdditionalBrowseButton->GetPosPixel().X();
m_pAdditionalBrowseButton->SetPosPixel( aButtonPos );
}
}
//------------------------------------------------------------------
Window* OBrowserLine::GetRefWindow()
{
@ -236,12 +203,6 @@ namespace pcr
impl_layoutComponents();
}
//------------------------------------------------------------------
Size OBrowserLine::GetSizePixel()
{
return m_aOutputSize;
}
//------------------------------------------------------------------
void OBrowserLine::Show(sal_Bool bFlag)
{