[Libreoffice-commits] .: sc/source

Eike Rathke erack at kemper.freedesktop.org
Wed Feb 22 06:15:50 PST 2012


 sc/source/filter/html/htmlexp2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 131cfef07ba1e941686bf71c4583b06e54e87434
Author: Josh Heidenreich <josh.sickmate at gmail.com>
Date:   Wed Feb 22 15:05:17 2012 +0100

    resolved fdo#45239 EasyHack: use PNG instead of JPG in Calc to HTML export

diff --git a/sc/source/filter/html/htmlexp2.cxx b/sc/source/filter/html/htmlexp2.cxx
index aab0c5a..4834b4a 100644
--- a/sc/source/filter/html/htmlexp2.cxx
+++ b/sc/source/filter/html/htmlexp2.cxx
@@ -207,7 +207,7 @@ void ScHTMLExport::WriteImage( String& rLinkName, const Graphic& rGrf,
             String aGrfNm( aStreamPath );
             nXOutFlags |= XOUTBMP_USE_NATIVE_IF_POSSIBLE;
             sal_uInt16 nErr = XOutBitmap::WriteGraphic( rGrf, aGrfNm,
-                CREATE_STRING( "JPG" ), nXOutFlags );
+                CREATE_STRING( "PNG" ), nXOutFlags );
             if( !nErr )     // sonst fehlerhaft, da ist nichts auszugeben
             {
                 rLinkName = URIHelper::SmartRel2Abs(


More information about the Libreoffice-commits mailing list