summaryrefslogtreecommitdiffstats
path: root/include/com
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-08 11:17:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-08 11:18:42 +0100
commit29ce7afd3502684206da5f31396daaed11baf629 (patch)
treeb2f22fa8fcd4d64fde9b49edf18e3eff456ed6cd /include/com
parentAdd a few Mac-specific source files in avmedia for easier breakpointing (diff)
downloadcore-29ce7afd3502684206da5f31396daaed11baf629.tar.gz
core-29ce7afd3502684206da5f31396daaed11baf629.zip
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.hxx2
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").