summaryrefslogtreecommitdiff
path: root/canvas/source/directx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-01-20 12:59:14 +0100
committerAndrea Gelmini <andrea.gelmini@gelma.net>2021-01-22 00:16:58 +0100
commitb3d713e7be354712f8815c877eb3787ac38bdc11 (patch)
tree92bc39ffaf14bca016b7b0166aecbd85fd4655f0 /canvas/source/directx
parent9b19c772b85e2b19dd6a1296767d99119d54002d (diff)
Fix typos
Change-Id: Ie8d28702bbae6c76924745a5a773393f1b831012 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109706 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'canvas/source/directx')
-rw-r--r--canvas/source/directx/dx_surfacebitmap.cxx2
1 files changed, 1 insertions, 1 deletions
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;