diff options
Diffstat (limited to 'sdext/source/presenter/PresenterToolBar.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index e01fdf0968876..c9070fd6f3db8 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -57,8 +57,6 @@ using namespace ::com::sun::star::drawing::framework; namespace sdext { namespace presenter { static const sal_Int32 gnGapSize (20); -static const sal_Int32 gnMinimalSeparatorSize (20); -static const sal_Int32 gnSeparatorInset (0); namespace { @@ -1902,11 +1900,6 @@ void VerticalSeparator::Paint ( PresenterCanvasHelper::SetDeviceColor(aRenderState, pFont->mnColor); } - if (aBBox.Height >= gnMinimalSeparatorSize + 2*gnSeparatorInset) - { - aBBox.Height -= 2*gnSeparatorInset; - aBBox.Y += gnSeparatorInset; - } rxCanvas->fillPolyPolygon( PresenterGeometryHelper::CreatePolygon(aBBox, rxCanvas->getDevice()), rViewState, @@ -1952,11 +1945,6 @@ void HorizontalSeparator::Paint ( PresenterCanvasHelper::SetDeviceColor(aRenderState, pFont->mnColor); } - if (aBBox.Width >= gnMinimalSeparatorSize+2*gnSeparatorInset) - { - aBBox.Width -= 2*gnSeparatorInset; - aBBox.X += gnSeparatorInset; - } rxCanvas->fillPolyPolygon( PresenterGeometryHelper::CreatePolygon(aBBox, rxCanvas->getDevice()), rViewState, |