filter/source/svg/svgexport.cxx |    6 +++---
 filter/source/svg/svgwriter.cxx |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 60f85475ce3106148439eaa678ac2b16da48d3db
Author:     Noel Grandin <[email protected]>
AuthorDate: Mon Sep 1 09:38:38 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Mon Sep 1 11:53:29 2025 +0200

    BitmapEx->Bitmap in SvgExport
    
    now that Bitmap supports transparency
    
    Change-Id: I189c249db1f4bdfbc1e60ea3fc9a6713864925b1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190463
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index cb84d347ed79..a0ab37259547 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -450,10 +450,10 @@ BitmapChecksum GetBitmapChecksum( const MetaAction* 
pAction )
         case MetaActionType::BMPSCALE:
         {
             const MetaBmpScaleAction* pA = static_cast<const 
MetaBmpScaleAction*>(pAction);
-            // The conversion to BitmapEx is needed since a Bitmap object is
-            // converted to BitmapEx before passing it to 
SVGActionWriter::ImplWriteBmp
+            // The conversion to Bitmap is needed since a Bitmap object is
+            // converted to Bitmap before passing it to 
SVGActionWriter::ImplWriteBmp
             // where the checksum is checked for matching.
-            nChecksum = BitmapEx( pA->GetBitmap() ).GetChecksum();
+            nChecksum = pA->GetBitmap().GetChecksum();
         }
         break;
         case MetaActionType::BMPEXSCALE:
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index cf3234b115ee..d310abed972a 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -1568,12 +1568,12 @@ void SVGTextWriter::implWriteEmbeddedBitmaps()
             case MetaActionType::BMPSCALE:
             {
                 const MetaBmpScaleAction* pA = static_cast<const 
MetaBmpScaleAction*>(pAction);
-                // The conversion to BitmapEx is needed since at the point
+                // The conversion to Bitmap is needed since at the point
                 // where the bitmap is actually exported a Bitmap object is
-                // converted to BitmapEx before computing the checksum used
+                // converted to Bitmap before computing the checksum used
                 // to generate the <image> element id.
                 // (See GetBitmapChecksum in svgexport.cxx)
-                nChecksum = BitmapEx( pA->GetBitmap() ).GetChecksum();
+                nChecksum = pA->GetBitmap().GetChecksum();
                 aPt = pA->GetPoint();
                 aSz = pA->GetSize();
             }

Reply via email to