[Libreoffice-commits] core.git: vcl/qa
Andrea Gelmini
andrea.gelmini at gelma.net
Sun Jun 11 19:24:40 UTC 2017
vcl/qa/cppunit/pdfexport/pdfexport.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b587fb27f4f9fb85b9f0a0cc7c8708df83cb9ac2
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Fri Jun 9 12:53:51 2017 +0200
Fix typo in codes
Change-Id: If52ff2c0bb4c8a703e883f25d0ba567236cbe479
Reviewed-on: https://gerrit.libreoffice.org/38609
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index fe3e60fe65f9..12ceba26b529 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -619,10 +619,10 @@ void PdfExportTest::testTdf99680()
CPPUNIT_ASSERT(aZCodec.EndCompression());
// Make sure there are no empty clipping regions.
- OString aEmptyReqion("0 0 m h W* n");
+ OString aEmptyRegion("0 0 m h W* n");
auto pStart = static_cast<const char*>(aUncompressed.GetData());
const char* pEnd = pStart + aUncompressed.GetSize();
- auto it = std::search(pStart, pEnd, aEmptyReqion.getStr(), aEmptyReqion.getStr() + aEmptyReqion.getLength());
+ auto it = std::search(pStart, pEnd, aEmptyRegion.getStr(), aEmptyRegion.getStr() + aEmptyRegion.getLength());
CPPUNIT_ASSERT_EQUAL_MESSAGE("Empty clipping region detected!", it, pEnd);
}
More information about the Libreoffice-commits
mailing list