diff options
Diffstat (limited to 'svtools/source/table/tablecontrol_impl.cxx')
-rw-r--r-- | svtools/source/table/tablecontrol_impl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index 916f7d8b824f..71c688f949fe 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -2082,7 +2082,7 @@ namespace svt { namespace table && std::abs( nPixelDelta ) < aDataArea.GetHeight() ) { - m_pDataWindow->Scroll( 0, (long)-nPixelDelta, aDataArea, SCROLL_CLIP | SCROLL_UPDATE | SCROLL_CHILDREN); + m_pDataWindow->Scroll( 0, (long)-nPixelDelta, aDataArea, ScrollFlags::Clip | ScrollFlags::Update | ScrollFlags::Children); } else { @@ -2145,7 +2145,7 @@ namespace svt { namespace table - m_aColumnWidths[ m_nLeftColumn ].getStart(); // update our column positions - // Do this *before* scrolling, as SCROLL_UPDATE will trigger a paint, which already needs the correct + // Do this *before* scrolling, as ScrollFlags::Update will trigger a paint, which already needs the correct // information in m_aColumnWidths for ( ColumnPositions::iterator colPos = m_aColumnWidths.begin(); colPos != m_aColumnWidths.end(); @@ -2160,7 +2160,7 @@ namespace svt { namespace table && std::abs( nPixelDelta ) < aDataArea.GetWidth() ) { - m_pDataWindow->Scroll( nPixelDelta, 0, aDataArea, SCROLL_CLIP | SCROLL_UPDATE ); + m_pDataWindow->Scroll( nPixelDelta, 0, aDataArea, ScrollFlags::Clip | ScrollFlags::Update ); } else { |