summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drawinglayer/source/tools/primitive2dxmldump.cxx2
-rw-r--r--emfio/qa/cppunit/emf/EmfImportTest.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/drawinglayer/source/tools/primitive2dxmldump.cxx b/drawinglayer/source/tools/primitive2dxmldump.cxx
index 527889cd7399..61c9f5ca447a 100644
--- a/drawinglayer/source/tools/primitive2dxmldump.cxx
+++ b/drawinglayer/source/tools/primitive2dxmldump.cxx
@@ -707,7 +707,7 @@ void Primitive2dXmlDump::decomposeAndWrite(
{
rWriter.startElement("data");
OUString aBitmapData = u""_ustr;
- for (tools::Long x = 0; x < rSizePixel.getHeight(); x++)
+ for (tools::Long x = 0; x < rSizePixel.getWidth(); x++)
{
if (x != 0)
aBitmapData = aBitmapData + ",";
diff --git a/emfio/qa/cppunit/emf/EmfImportTest.cxx b/emfio/qa/cppunit/emf/EmfImportTest.cxx
index ddb37d9dd085..71ae6b80fbee 100644
--- a/emfio/qa/cppunit/emf/EmfImportTest.cxx
+++ b/emfio/qa/cppunit/emf/EmfImportTest.cxx
@@ -146,7 +146,8 @@ CPPUNIT_TEST_FIXTURE(Test, testDrawImagePointsTypeBitmap)
"ffffff,fbfbfb,fefefe,ffffff,fcfcfc,ffffff,fdfdfd,ffffff,ffffff,ffffff,ffffff,fbfbfb,"
"010101,ffffff,fefefe,ffffff,ffffff,ffffff,fcfcfc,ffffff,fafafa,ffffff,ffffff,fefefe,"
"ffffff,fdfdfd,fefefe,fefefe,ffffff,ffffff,fdfdfd,fffbfb,1e0000,8f4347,b13a3e,b82d32,"
- "bb3438,b73237,b63338,b33035,b63338"_ustr);
+ "bb3438,b73237,b63338,b33035,b63338,b83338,b9313b,b9313b,b83239,b83338,b63338,b53438,"
+ "b63539,b53335,ba3236,a2393e,1c0000"_ustr);
}
CPPUNIT_TEST_FIXTURE(Test, testDrawString)