[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Wed May 4 12:46:43 UTC 2016
connectivity/source/drivers/ado/AResultSet.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit ef184fcd888b9fef3f6f7f915e74ce633661f505
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 4 14:46:15 2016 +0200
Fix Windows-only code, part 8
Change-Id: I875c4f4382221baaaedcdfe9513ed75706e8517b
diff --git a/connectivity/source/drivers/ado/AResultSet.cxx b/connectivity/source/drivers/ado/AResultSet.cxx
index 6cc071e..62a6285 100644
--- a/connectivity/source/drivers/ado/AResultSet.cxx
+++ b/connectivity/source/drivers/ado/AResultSet.cxx
@@ -1128,8 +1128,7 @@ void OResultSet::getFastPropertyValue(Any& rValue,sal_Int32 nHandle) const
{
VARIANT_BOOL bBool;
m_pRecordSet->Supports(adBookmark,&bBool);
- sal_Bool bRet = bBool == VARIANT_TRUE;
- rValue.setValue(&bRet, cppu::UnoType<bool>::get() );
+ rValue <<= (bBool == VARIANT_TRUE);
}
break;
case PROPERTY_ID_CURSORNAME:
More information about the Libreoffice-commits
mailing list