sd/source/ui/annotations/annotationmanager.cxx | 4 ++-- sd/source/ui/unoidl/unopage.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 53a48cce9f02232d595539e016f2bf3ad66ce7e3 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Thu Nov 9 08:55:14 2023 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Fri Nov 10 11:39:27 2023 +0100 Fix typo Change-Id: I6e0bd6560f3dbc289da3e3e7ae65514600a4ac58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159202 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index 339aefa7c576..dbd9768b554c 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -366,7 +366,7 @@ void AnnotationManagerImpl::ExecuteDeleteAnnotation(SfxRequest const & rReq) if (static_cast<const SfxUnoAnyItem*>(pPoolItem)->GetValue() >>= xTmpAnnotation) { xAnnotation = dynamic_cast<Annotation*>(xTmpAnnotation.get()); - assert(bool(xAnnotation) == bool(xTmpAnnotation) && "must be of concrete type sd::Annoation"); + assert(bool(xAnnotation) == bool(xTmpAnnotation) && "must be of concrete type sd::Annotation"); } } if( SfxItemState::SET == pArgs->GetItemState( SID_ATTR_POSTIT_ID, true, &pPoolItem ) ) @@ -555,7 +555,7 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest const & rReq ) if (static_cast<const SfxUnoAnyItem*>(pPoolItem)->GetValue() >>= xTmpAnnotation) { xAnnotation = dynamic_cast<Annotation*>(xTmpAnnotation.get()); - assert(bool(xAnnotation) == bool(xTmpAnnotation) && "must be of concrete type sd::Annoation"); + assert(bool(xAnnotation) == bool(xTmpAnnotation) && "must be of concrete type sd::Annotation"); } } diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 6676eac3d1b7..1462e08e369e 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -2532,7 +2532,7 @@ Reference< XAnnotation > SAL_CALL SdGenericDrawPage::createAndInsertAnnotation() void SAL_CALL SdGenericDrawPage::removeAnnotation(const Reference< XAnnotation > & annotation) { rtl::Reference<sd::Annotation> xSdAnnotation = dynamic_cast<sd::Annotation*>(annotation.get()); - assert(bool(annotation) == bool(xSdAnnotation) && "must be of concrete type sd::Annoation"); + assert(bool(annotation) == bool(xSdAnnotation) && "must be of concrete type sd::Annotation"); GetPage()->removeAnnotation(xSdAnnotation); }