summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-07-31 10:40:20 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-08-01 21:37:18 +0200
commitcd45ff66cfdb8d4417e159aaae59060dc232e810 (patch)
tree25b12a067ab98583ad082b58bb050598b6b37d1a /sd/source
parent75a862b887fb0b7ff633a396ee7f7f34c2c82964 (diff)
Fix typo in code
It passed "make check" on my laptop Change-Id: I2d231c3a8ec40b63026a4b81256b98ee4be0ae1a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137660 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/inc/ViewShell.hxx2
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx2
-rw-r--r--sd/source/ui/view/viewshel.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 1eeede9e249d..b3fc31bbdd00 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -414,7 +414,7 @@ public:
/// Allows adjusting the point or mark of the selection to a document coordinate.
void SetCursorMm100Position(const Point& rPosition, bool bPoint, bool bClearMark);
/// Gets the current selection
- css::uno::Reference<css::datatransfer::XTransferable> GetSelectionTransferrable() const;
+ css::uno::Reference<css::datatransfer::XTransferable> GetSelectionTransferable() const;
/// Allows starting or ending a graphic move or resize action.
void SetGraphicMm100Position(bool bStart, const Point& rPosition);
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 3482600afd4c..f484f8afa6b9 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2609,7 +2609,7 @@ uno::Reference<datatransfer::XTransferable> SdXImpressDocument::getSelection()
if (!pViewShell)
return uno::Reference<datatransfer::XTransferable>();
- return pViewShell->GetSelectionTransferrable();
+ return pViewShell->GetSelectionTransferable();
}
void SdXImpressDocument::setGraphicSelection(int nType, int nX, int nY)
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index c74a2b57e64d..3f8078914016 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -522,7 +522,7 @@ void ViewShell::SetCursorMm100Position(const Point& rPosition, bool bPoint, bool
}
}
-uno::Reference<datatransfer::XTransferable> ViewShell::GetSelectionTransferrable() const
+uno::Reference<datatransfer::XTransferable> ViewShell::GetSelectionTransferable() const
{
SdrView* pSdrView = GetView();
if (!pSdrView)