diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-22 18:24:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 08:08:00 +0100 |
commit | b7259532d83ea1263f6944974d71162c47203939 (patch) | |
tree | 19d6a840d86070831573a583dd45a2b828218323 /connectivity/source/drivers/dbase/DTable.cxx | |
parent | ad73967e99235a2ba9b5a2106c5d6d0f8efaa1ca (diff) |
Remove unnecessary bool2any
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
Diffstat (limited to 'connectivity/source/drivers/dbase/DTable.cxx')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 0747cfc22058..4dfb402d645e 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1076,7 +1076,7 @@ sal_Bool ODbaseTable::CreateImpl() try { Content aContent(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference<XCommandEnvironment>(), comphelper::getProcessComponentContext()); - aContent.executeCommand( "delete",bool2any( true ) ); + aContent.executeCommand( "delete", css::uno::Any( true ) ); } catch(const Exception&) // an exception is thrown when no file exists { @@ -1104,7 +1104,7 @@ sal_Bool ODbaseTable::CreateImpl() try { Content aMemoContent(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference<XCommandEnvironment>(), comphelper::getProcessComponentContext()); - aMemoContent.executeCommand( "delete",bool2any( true ) ); + aMemoContent.executeCommand( "delete", css::uno::Any( true ) ); } catch(const Exception&) { @@ -1120,7 +1120,7 @@ sal_Bool ODbaseTable::CreateImpl() { aURL.setExtension(aExt); // kill dbf file Content aMemoContent(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference<XCommandEnvironment>(), comphelper::getProcessComponentContext()); - aMemoContent.executeCommand( "delete",bool2any( true ) ); + aMemoContent.executeCommand( "delete", css::uno::Any( true ) ); return sal_False; } m_aHeader.db_typ = dBaseIIIMemo; |