summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/dbase
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/dbase')
-rw-r--r--connectivity/source/drivers/dbase/DDriver.cxx2
-rw-r--r--connectivity/source/drivers/dbase/DIndex.cxx6
-rw-r--r--connectivity/source/drivers/dbase/DIndexes.cxx2
-rw-r--r--connectivity/source/drivers/dbase/DResultSet.cxx2
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx6
-rw-r--r--connectivity/source/drivers/dbase/DTables.cxx2
6 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/drivers/dbase/DDriver.cxx b/connectivity/source/drivers/dbase/DDriver.cxx
index 39a672f35840..d99efd817622 100644
--- a/connectivity/source/drivers/dbase/DDriver.cxx
+++ b/connectivity/source/drivers/dbase/DDriver.cxx
@@ -21,7 +21,7 @@
#include "dbase/DConnection.hxx"
#include <com/sun/star/lang/DisposedException.hpp>
#include <connectivity/dbexception.hxx>
-#include "resource/dbase_res.hrc"
+#include "strings.hrc"
#include <comphelper/processfactory.hxx>
using namespace connectivity::dbase;
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx
index 4063c79576bb..0c80d1c82a59 100644
--- a/connectivity/source/drivers/dbase/DIndex.cxx
+++ b/connectivity/source/drivers/dbase/DIndex.cxx
@@ -36,7 +36,7 @@
#include <comphelper/types.hxx>
#include <connectivity/dbexception.hxx>
#include "dbase/DResultSet.hxx"
-#include "resource/dbase_res.hrc"
+#include "strings.hrc"
#include <unotools/sharedunocomponent.hxx>
using namespace ::comphelper;
@@ -475,12 +475,12 @@ bool ODbaseIndex::DropImpl()
return true;
}
-void ODbaseIndex::impl_killFileAndthrowError_throw(sal_uInt16 _nErrorId,const OUString& _sFile)
+void ODbaseIndex::impl_killFileAndthrowError_throw(const char* pErrorId, const OUString& _sFile)
{
closeImpl();
if(UCBContentHelper::Exists(_sFile))
UCBContentHelper::Kill(_sFile);
- m_pTable->getConnection()->throwGenericSQLException(_nErrorId,*this);
+ m_pTable->getConnection()->throwGenericSQLException(pErrorId, *this);
}
bool ODbaseIndex::CreateImpl()
diff --git a/connectivity/source/drivers/dbase/DIndexes.cxx b/connectivity/source/drivers/dbase/DIndexes.cxx
index f1a722615335..aa772d66b5ab 100644
--- a/connectivity/source/drivers/dbase/DIndexes.cxx
+++ b/connectivity/source/drivers/dbase/DIndexes.cxx
@@ -22,7 +22,7 @@
#include <connectivity/dbexception.hxx>
#include <unotools/ucbhelper.hxx>
#include <comphelper/types.hxx>
-#include "resource/dbase_res.hrc"
+#include "strings.hrc"
using namespace ::comphelper;
diff --git a/connectivity/source/drivers/dbase/DResultSet.cxx b/connectivity/source/drivers/dbase/DResultSet.cxx
index af17e616f5fa..0f544ed70cca 100644
--- a/connectivity/source/drivers/dbase/DResultSet.cxx
+++ b/connectivity/source/drivers/dbase/DResultSet.cxx
@@ -26,7 +26,7 @@
#include "dbase/DIndexIter.hxx"
#include <comphelper/types.hxx>
#include <connectivity/dbexception.hxx>
-#include "resource/dbase_res.hrc"
+#include "strings.hrc"
using namespace ::comphelper;
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 9d452e66b85b..d2a0476728f5 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -50,7 +50,7 @@
#include <connectivity/dbtools.hxx>
#include <connectivity/FValue.hxx>
#include <connectivity/dbconversion.hxx>
-#include "resource/dbase_res.hrc"
+#include "strings.hrc"
#include <rtl/strbuf.hxx>
#include <algorithm>
@@ -1106,7 +1106,7 @@ bool ODbaseTable::CreateImpl()
return true;
}
-void ODbaseTable::throwInvalidColumnType(const sal_uInt16 _nErrorId, const OUString& _sColumnName)
+void ODbaseTable::throwInvalidColumnType(const char* pErrorId, const OUString& _sColumnName)
{
try
{
@@ -1118,7 +1118,7 @@ void ODbaseTable::throwInvalidColumnType(const sal_uInt16 _nErrorId, const OUStr
}
const OUString sError( getConnection()->getResources().getResourceStringWithSubstitution(
- _nErrorId,
+ pErrorId,
"$columnname$", _sColumnName
) );
::dbtools::throwGenericSQLException( sError, *this );
diff --git a/connectivity/source/drivers/dbase/DTables.cxx b/connectivity/source/drivers/dbase/DTables.cxx
index 787226e2ed84..57e7abbd9878 100644
--- a/connectivity/source/drivers/dbase/DTables.cxx
+++ b/connectivity/source/drivers/dbase/DTables.cxx
@@ -32,7 +32,7 @@
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include "dbase/DCatalog.hxx"
#include <comphelper/types.hxx>
-#include "resource/dbase_res.hrc"
+#include "strings.hrc"
#include <connectivity/dbexception.hxx>
using namespace ::comphelper;