diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/brwbox1.cxx | 10 | ||||
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index 593536615c15..64efb0e7023f 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -72,7 +72,7 @@ void BrowseBox::ConstructImpl( BrowserMode nMode ) InitSettings_Impl( pDataWin ); bBootstrapped = false; - nDataRowHeight = 0; + m_nDataRowHeight = 0; nTitleLines = 1; nFirstCol = 0; nTopRow = 0; @@ -848,16 +848,16 @@ sal_uInt16 BrowseBox::ColCount() const tools::Long BrowseBox::ImpGetDataRowHeight() const { BrowseBox *pThis = const_cast<BrowseBox*>(this); - pThis->nDataRowHeight = pThis->CalcReverseZoom(pDataWin->GetTextHeight() + 4); + pThis->m_nDataRowHeight = pThis->CalcReverseZoom(pDataWin->GetTextHeight() + 4); pThis->Resize(); pDataWin->Invalidate(); - return nDataRowHeight; + return m_nDataRowHeight; } void BrowseBox::SetDataRowHeight( tools::Long nPixel ) { - nDataRowHeight = CalcReverseZoom(nPixel); + m_nDataRowHeight = CalcReverseZoom(nPixel); Resize(); pDataWin->Invalidate(); } @@ -2283,7 +2283,7 @@ bool BrowseBox::IsCursorMoveAllowed( sal_Int32, sal_uInt16 ) const tools::Long BrowseBox::GetDataRowHeight() const { - return CalcZoom(nDataRowHeight ? nDataRowHeight : ImpGetDataRowHeight()); + return CalcZoom(m_nDataRowHeight ? m_nDataRowHeight : ImpGetDataRowHeight()); } diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index f91752c53c08..0f1079b16678 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -669,13 +669,13 @@ void BrowseBox::Draw( OutputDevice* pDev, const Point& rPos, SystemTextColorFlag // we're drawing onto a foreign device, so we have to fake the DataRowHeight for the subsequent ImplPaintData // (as it is based on the settings of our data window, not the foreign device) - if (!nDataRowHeight) + if (!m_nDataRowHeight) ImpGetDataRowHeight(); - tools::Long nHeightLogic = PixelToLogic(Size(0, nDataRowHeight), MapMode(MapUnit::Map10thMM)).Height(); + tools::Long nHeightLogic = PixelToLogic(Size(0, m_nDataRowHeight), MapMode(MapUnit::Map10thMM)).Height(); tools::Long nForeignHeightPixel = pDev->LogicToPixel(Size(0, nHeightLogic), MapMode(MapUnit::Map10thMM)).Height(); - tools::Long nOriginalHeight = nDataRowHeight; - nDataRowHeight = nForeignHeightPixel; + tools::Long nOriginalHeight = m_nDataRowHeight; + m_nDataRowHeight = nForeignHeightPixel; // this counts for the column widths, too size_t nPos; @@ -759,7 +759,7 @@ void BrowseBox::Draw( OutputDevice* pDev, const Point& rPos, SystemTextColorFlag ImplPaintData( *pDev, tools::Rectangle( aRealPos, aRealSize ), true ); // restore the column widths/data row height - nDataRowHeight = nOriginalHeight; + m_nDataRowHeight = nOriginalHeight; for ( nPos = 0; nPos < mvCols.size(); ++nPos ) { BrowserColumn* pCurrent = mvCols[ nPos ].get(); |