[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Sun Nov 8 14:21:07 PST 2015
vcl/source/bitmap/BitmapTools.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit c8486f866dd6d7a8db6b4df5a68f013ce142de62
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Nov 8 23:20:42 2015 +0100
Leftover debug code? (causes -Werror,-Wformat)
Change-Id: I8629481a454a668b3044eb6f56dbe43d4720e52a
diff --git a/vcl/source/bitmap/BitmapTools.cxx b/vcl/source/bitmap/BitmapTools.cxx
index c65376a..a82b95c 100644
--- a/vcl/source/bitmap/BitmapTools.cxx
+++ b/vcl/source/bitmap/BitmapTools.cxx
@@ -75,8 +75,6 @@ void BitmapTools::loadFromSvg(SvStream& rStream, const OUString& sPath, BitmapEx
const css::uno::Reference<css::rendering::XBitmap> xBitmap(
xPrimitive2DRenderer->rasterize(aPrimitiveSequence, aViewParameters, nDPI, nDPI, aRealRect, 256*256));
- printf("%f %f %f %f\n", aRealRect.X1, aRealRect.Y1, aRealRect.X2, aRealRect.Y2);
-
if (xBitmap.is())
{
const css::uno::Reference<css::rendering::XIntegerReadOnlyBitmap> xIntBmp(xBitmap, uno::UNO_QUERY_THROW);
@@ -84,7 +82,6 @@ void BitmapTools::loadFromSvg(SvStream& rStream, const OUString& sPath, BitmapEx
if (xIntBmp.is())
{
rBitmapEx = vcl::unotools::bitmapExFromXBitmap(xIntBmp);
- printf("Size: %d %d\n", rBitmapEx.GetSizePixel().Width(), rBitmapEx.GetSizePixel().Height());
}
}
}
More information about the Libreoffice-commits
mailing list