diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 11:59:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 11:59:23 +0200 |
commit | 6e70103da07ec67b1c1f106a8fcd064e3df97271 (patch) | |
tree | 091834cdeb1358b9b3b0c3416f8672cc7cfb26d0 /extensions | |
parent | 019a0fbdd860994ba727f19eba0879136406d0f9 (diff) |
While at it, delete Any functions on sal_Bool*
(at least for LIBO_INTERNAL_ONLY), to help further reduce the occurrences of
sal_Bool across the code base
Change-Id: I70654a0cb56655984c717b7b894f26c9ab47536e
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index dce92b1d00c2..844c0cc0bbc4 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -688,7 +688,7 @@ void BibDataManager::InsertFields(const Reference< XFormComponent > & _rxGrid) const OUString sType("Type"); sal_Int32 nType = 0; bool bIsFormatted = false; - sal_Bool bFormattedIsNumeric = true; + bool bFormattedIsNumeric = true; xField->getPropertyValue(sType) >>= nType; switch(nType) { @@ -721,7 +721,7 @@ void BibDataManager::InsertFields(const Reference< XFormComponent > & _rxGrid) { OUString sFormatKey("FormatKey"); xCurrentCol->setPropertyValue(sFormatKey, xField->getPropertyValue(sFormatKey)); - Any aFormatted(&bFormattedIsNumeric, cppu::UnoType<bool>::get()); + Any aFormatted(bFormattedIsNumeric); xCurrentCol->setPropertyValue("TreatAsNumber", aFormatted); } Any aColName = makeAny( *pFields ); |