diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-08 11:17:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-08 11:18:42 +0100 |
commit | 29ce7afd3502684206da5f31396daaed11baf629 (patch) | |
tree | b2f22fa8fcd4d64fde9b49edf18e3eff456ed6cd /include/com | |
parent | 41f09aa5fc7b1fde5a95e57f51d085a8c79f9825 (diff) |
Typo in comment ("from" vs. "to")
...which had been like that ever since the code got introduced with
0fbe22a77289a624e1346ab457734c2f64f8e6fb "css::uno::Any move semantics (for
LIBO_INTERNAL_ONLY)"
Change-Id: Iacd93a4434a92f2ee8f83ba1d59b0ef0a6c38a42
Diffstat (limited to 'include/com')
-rw-r--r-- | include/com/sun/star/uno/Any.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/com/sun/star/uno/Any.hxx b/include/com/sun/star/uno/Any.hxx index ac1b43dd779e..3021fb2bade0 100644 --- a/include/com/sun/star/uno/Any.hxx +++ b/include/com/sun/star/uno/Any.hxx @@ -135,7 +135,7 @@ inline void moveAnyInternals(Any & from, Any & to) { if (to.pData == &from.pReserved) { to.pData = &to.pReserved; } - // This leaves to.pData (where "to" is now VOID) dangling to somewhere (cf. + // This leaves from.pData (where "from" is now VOID) dangling to somewhere (cf. // CONSTRUCT_EMPTY_ANY, cppu/source/uno/prim.hxx), but what's relevant is // only that it isn't a nullptr (as e.g. >>= -> uno_type_assignData -> // _assignData takes a null pSource to mean "construct a default value"). |