summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-11 11:11:03 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-11 11:11:03 +0200
commit3bd0b2ef2d3a1e16d226f1ea8789bc119dcd2f54 (patch)
treef7db464efcc9fc0740de95935225b0459e237b11 /dbaccess/source/ui/browser
parent5423e45f34ae3adc7dae0f2bdeb158fa90ba5a0e (diff)
Fix previous commit (dbaccess part)
Change-Id: I0815cb6334ab47dbe9f5029fe553457de00c5ad5
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r--dbaccess/source/ui/browser/exsrcbrw.cxx4
1 files changed, 2 insertions, 2 deletions
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<OUString>::get()0));
+ bool bCorrectType = pArguments->Value.getValueType().equals(::cppu::UnoType<OUString>::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<sal_Int16>::get()0));
+ bool bCorrectType = pArguments->Value.getValueType().equals(::cppu::UnoType<sal_Int16>::get());
OSL_ENSURE(bCorrectType, "invalid type for argument \"ColumnPosition\" !");
if (bCorrectType)
nControlPos = ::comphelper::getINT16(pArguments->Value);