[Libreoffice-commits] core.git: canvas/source sd/qa
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jan 21 23:17:42 UTC 2021
canvas/source/directx/dx_surfacebitmap.cxx | 2 +-
sd/qa/unit/import-tests-smartart.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b3d713e7be354712f8815c877eb3787ac38bdc11
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Jan 20 12:59:14 2021 +0100
Commit: Andrea Gelmini <andrea.gelmini at gelma.net>
CommitDate: Fri Jan 22 00:16:58 2021 +0100
Fix typos
Change-Id: Ie8d28702bbae6c76924745a5a773393f1b831012
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109706
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini at gelma.net>
diff --git a/canvas/source/directx/dx_surfacebitmap.cxx b/canvas/source/directx/dx_surfacebitmap.cxx
index a118b31db2d8..e8eb44566c8f 100644
--- a/canvas/source/directx/dx_surfacebitmap.cxx
+++ b/canvas/source/directx/dx_surfacebitmap.cxx
@@ -540,7 +540,7 @@ namespace dxcanvas
// lock the directx surface to receive the pointer to the surface memory.
D3DLOCKED_RECT aLockedRect;
if(FAILED(mpSurface->LockRect(&aLockedRect,nullptr,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY)))
- throw uno::RuntimeException("failed to lock direcrx surface to surface memory");
+ throw uno::RuntimeException("failed to lock directx surface to surface memory");
sal_uInt8 const *pSrc = reinterpret_cast<sal_uInt8 const *>(data.getConstArray());
sal_uInt8 *pDst = (static_cast<BYTE *>(aLockedRect.pBits)+(rect.Y1*aLockedRect.Pitch))+rect.X1;
diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx
index ecd881330f63..e4bf1d4d2c63 100644
--- a/sd/qa/unit/import-tests-smartart.cxx
+++ b/sd/qa/unit/import-tests-smartart.cxx
@@ -1731,7 +1731,7 @@ void SdImportTestSmartArt::testSnakeRows()
void SdImportTestSmartArt::testCompositeInferRight()
{
// Load a smartart which contains a composite algorithm.
- // One contraint says that the left of the text should be the right of the image.
+ // One constraint says that the left of the text should be the right of the image.
sd::DrawDocShellRef xDocShRef = loadURL(
m_directories.getURLFromSrc(u"/sd/qa/unit/data/pptx/smartart-composite-infer-right.pptx"),
PPTX);
More information about the Libreoffice-commits
mailing list