summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-30 11:19:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-30 11:21:41 +0200
commit46a987fe08c6f7d20da437eed621d670ce44aea7 (patch)
treebfe8884a01bd13a8eb894dd62bcd7430c9f706f1
parentacbbb01940588604de965c4fcef64b2e17473fe6 (diff)
Fix tools/date.hxx Date vs. css::uno::Date mismatch
...that was there ever since at least 84a3db80b4fd66c6854b3135b5f69b61fd828e62 "initial import". None of the "make check" code appears to trigger this code path. Change-Id: Ic85b2ef4cf0a0ad06b467558e823cfa4ee31a08c
-rw-r--r--sw/source/core/unocore/unofield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index beea48cb9c83..89e5f1780cd7 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -2459,7 +2459,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
aRet <<= m_pImpl->m_pProps->bBool4;
break;
case FIELD_PROP_DATE :
- aRet.setValue(&m_pImpl->m_pProps->aDate, ::cppu::UnoType<util::Date>::get());
+ aRet <<= m_pImpl->m_pProps->aDate.GetUNODate();
break;
case FIELD_PROP_USHORT1:
aRet <<= static_cast<sal_Int16>(m_pImpl->m_pProps->nUSHORT1);