starmath/source/ElementsDockingWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7f1709d8b762c953f33ced3b53222599c40a40c6 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Thu Jun 2 14:32:15 2022 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Thu Jun 2 20:54:10 2022 +0200 Fix typo Change-Id: Ie7d5a2b2a6fceb09ffcb6b24a462dd6911886a1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135307 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index bdfdf9e6444d..aab82cac3f11 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -523,7 +523,7 @@ void SmElementsControl::addElement(const OUString& aElementVisual, const OUStrin pNode->Arrange(*pDevice, maFormat); Size aSize = pDevice->LogicToPixel(Size(pNode->GetWidth(), pNode->GetHeight())); - aSize.extendBy(10, 0); // Add 5 pixels from both sides to accomodate extending parts of italics + aSize.extendBy(10, 0); // Add 5 pixels from both sides to accommodate extending parts of italics pDevice->SetOutputSizePixel(aSize); SmDrawingVisitor(*pDevice, pDevice->PixelToLogic(Point(5, 0)), pNode.get());