summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/datman.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/bibliography/datman.cxx')
-rw-r--r--extensions/source/bibliography/datman.cxx4
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 );