[Libreoffice-commits] core.git: include/com
Stephan Bergmann
sbergman at redhat.com
Mon Jan 8 10:20:07 UTC 2018
include/com/sun/star/uno/Any.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 29ce7afd3502684206da5f31396daaed11baf629
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 8 11:17:49 2018 +0100
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
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").
More information about the Libreoffice-commits
mailing list