This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 9703c6a9cf Use slightly better BMP scaling, remove shadow
9703c6a9cf is described below

commit 9703c6a9cf1c325ccbdae70f2093268c44df3dcb
Author: mseidel <msei...@apache.org>
AuthorDate: Fri Aug 11 16:55:51 2023 +0200

    Use slightly better BMP scaling, remove shadow
    
    (cherry picked from commit 33671a7023e3dff0adf8c631f953fa74e773cae6)
---
 .../source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx   | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/main/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx 
b/main/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx
index fc93d17570..776bfc4335 100644
--- a/main/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx
+++ b/main/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx
@@ -232,7 +232,7 @@ Point InsertionIndicatorOverlay::PaintRepresentatives (
                const Size aSuperSampleSize(
                        aPreviewSize.Width()*gnSuperScaleFactor,
                        aPreviewSize.Height()*gnSuperScaleFactor);
-               aPreview.Scale(aPreviewSize, BMP_SCALE_INTERPOLATE);
+               aPreview.Scale(aPreviewSize, BMP_SCALE_FASTESTINTERPOLATE);
                rContent.DrawBitmapEx(aPageOffset, aPreview);
 
                // When the page is marked as excluded from the slide show then
@@ -274,8 +274,8 @@ Point InsertionIndicatorOverlay::PaintRepresentatives (
                rContent.SetFillColor();
                rContent.DrawRect(aBorderBox);
 
-               // Draw shadow around preview.
-               mpShadowPainter->PaintFrame(rContent, aBorderBox);
+               // Draw shadow around preview (removed now).
+               //mpShadowPainter->PaintFrame(rContent, aBorderBox);
        }
 
        return aPageOffset;
@@ -445,3 +445,5 @@ Size InsertionIndicatorOverlay::GetSize (void) const
 
 
 } } } // end of namespace ::sd::slidesorter::view
+
+/* vim: set noet sw=4 ts=4: */

Reply via email to