From 29ce7afd3502684206da5f31396daaed11baf629 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jan 2018 11:17:49 +0100 Subject: 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 --- include/com/sun/star/uno/Any.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"). -- cgit