diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2023-11-09 08:55:14 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-11-10 11:39:27 +0100 |
commit | 53a48cce9f02232d595539e016f2bf3ad66ce7e3 (patch) | |
tree | da11ae026424e05c861b35779f497381068d7628 /sd/source/ui | |
parent | 985b404f208559b4a91f31eb31dafa9d0384fdaf (diff) |
Fix typo
Change-Id: I6e0bd6560f3dbc289da3e3e7ae65514600a4ac58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159202
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/annotations/annotationmanager.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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); } |