From 3bd0b2ef2d3a1e16d226f1ea8789bc119dcd2f54 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 11 May 2014 11:11:03 +0200 Subject: Fix previous commit (dbaccess part) Change-Id: I0815cb6334ab47dbe9f5029fe553457de00c5ad5 --- dbaccess/source/core/dataaccess/databasedocument.cxx | 6 +++--- dbaccess/source/ui/browser/exsrcbrw.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index 2b8e2cf05819..7ff349229739 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -482,9 +482,9 @@ namespace /** property map for import/exmport info set */ comphelper::PropertyMapEntry const aExportInfoMap[] = { - { OUString("BaseURI"), 0, ::cppu::UnoType::get()0 ),beans::PropertyAttribute::MAYBEVOID, 0 }, - { OUString("StreamName"), 0, ::cppu::UnoType::get()0 ),beans::PropertyAttribute::MAYBEVOID, 0 }, - { OUString("UsePrettyPrinting"), 0, ::cppu::UnoType::get()0), beans::PropertyAttribute::MAYBEVOID, 0}, + { OUString("BaseURI"), 0, ::cppu::UnoType::get(), beans::PropertyAttribute::MAYBEVOID, 0 }, + { OUString("StreamName"), 0, ::cppu::UnoType::get(), beans::PropertyAttribute::MAYBEVOID, 0 }, + { OUString("UsePrettyPrinting"), 0, ::cppu::UnoType::get(), beans::PropertyAttribute::MAYBEVOID, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; } diff --git a/dbaccess/source/ui/browser/exsrcbrw.cxx b/dbaccess/source/ui/browser/exsrcbrw.cxx index 1dbfcdb84b78..44b9d1350544 100644 --- a/dbaccess/source/ui/browser/exsrcbrw.cxx +++ b/dbaccess/source/ui/browser/exsrcbrw.cxx @@ -143,14 +143,14 @@ void SAL_CALL SbaExternalSourceBrowser::dispatch(const ::com::sun::star::util::U { if ( pArguments->Name == "ColumnType" ) { - bool bCorrectType = pArguments->Value.getValueType().equals(::cppu::UnoType::get()0)); + bool bCorrectType = pArguments->Value.getValueType().equals(::cppu::UnoType::get()); OSL_ENSURE(bCorrectType, "invalid type for argument \"ColumnType\" !"); if (bCorrectType) sControlType = ::comphelper::getString(pArguments->Value); } else if ( pArguments->Name == "ColumnPosition" ) { - bool bCorrectType = pArguments->Value.getValueType().equals(::cppu::UnoType::get()0)); + bool bCorrectType = pArguments->Value.getValueType().equals(::cppu::UnoType::get()); OSL_ENSURE(bCorrectType, "invalid type for argument \"ColumnPosition\" !"); if (bCorrectType) nControlPos = ::comphelper::getINT16(pArguments->Value); -- cgit v1.2.3