summaryrefslogtreecommitdiff
path: root/include/vcl/WindowPosSize.hxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-06-08 21:05:09 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-06-08 21:16:33 +0200
commit16af8e218540dd17f020411c32e809feb68abd78 (patch)
tree272610e81521e8dc6eb4757e1c9be40cb3bb2ca9 /include/vcl/WindowPosSize.hxx
parenta943e7ddd13315b18d7b33cd1b2f852144f54344 (diff)
Fix typo
Change-Id: I6463eb09c5bac07e6aa8e23b4b5eab06172ab2b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135514 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/vcl/WindowPosSize.hxx')
-rw-r--r--include/vcl/WindowPosSize.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/WindowPosSize.hxx b/include/vcl/WindowPosSize.hxx
index c88444c6dd9a..ed52488be33a 100644
--- a/include/vcl/WindowPosSize.hxx
+++ b/include/vcl/WindowPosSize.hxx
@@ -30,7 +30,7 @@ namespace vcl
{
/**
* There are multiple ways to store the two different areas of a vcl::Window.
- * But this representataion is hopefully less error prone from the used types
+ * But this representation is hopefully less error prone from the used types
* and more clear in what values in- or exclude the non-drawable window frame.
*
* There are especially two things to remember:
@@ -120,7 +120,7 @@ public:
setPos(rRect.GetPos());
setSize(rRect.GetSize());
}
- // because tools::Rectangle has the ambigious (Point&, Point&) constructor, which we don't want here
+ // because tools::Rectangle has the ambiguous (Point&, Point&) constructor, which we don't want here
void setPosSize(const Point& rPos, const Size& rSize) { setPosSize({ rPos, rSize }); }
};