summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/swdbtoolsclient.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 10:35:49 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 10:35:49 +0000
commit8d41a667818c0237c7d1659d602c212014acd0eb (patch)
treeced9d789b482cdd5d461e695cee6d388f56134c5 /sw/source/ui/dbui/swdbtoolsclient.cxx
parent80e7054a9ef269b7258dbb1f9d695b27d6c5f30b (diff)
INTEGRATION: CWS swwarnings (1.6.222); FILE MERGED
2007/04/11 07:03:19 tl 1.6.222.2: #i69287# warning-free code 2007/03/26 12:08:53 tl 1.6.222.1: #i69287# warning-free code
Diffstat (limited to 'sw/source/ui/dbui/swdbtoolsclient.cxx')
-rw-r--r--sw/source/ui/dbui/swdbtoolsclient.cxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/sw/source/ui/dbui/swdbtoolsclient.cxx b/sw/source/ui/dbui/swdbtoolsclient.cxx
index c1926e972c9a..39d45adc6619 100644
--- a/sw/source/ui/dbui/swdbtoolsclient.cxx
+++ b/sw/source/ui/dbui/swdbtoolsclient.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: swdbtoolsclient.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 22:47:49 $
+ * last change: $Author: hr $ $Date: 2007-09-27 11:35:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -61,6 +61,7 @@
//........................................................................
using namespace ::connectivity::simple;
+using namespace ::com::sun::star;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::util;
@@ -141,8 +142,8 @@ void SwDbtoolsClient::registerClient()
// get the symbol for the method creating the factory
const ::rtl::OUString sFactoryCreationFunc = ::rtl::OUString::createFromAscii("createDataAccessToolsFactory");
// reinterpret_cast<createDataAccessToolsFactoryFunction> removed for gcc permissive
- getDbToolsClientFactoryFunction() = (createDataAccessToolsFactoryFunction)(
- osl_getSymbol(getDbToolsClientModule(), sFactoryCreationFunc.pData));
+ getDbToolsClientFactoryFunction() = reinterpret_cast< createDataAccessToolsFactoryFunction >(
+ osl_getFunctionSymbol(getDbToolsClientModule(), sFactoryCreationFunc.pData));
if (NULL == getDbToolsClientFactoryFunction())
{ // did not find the symbol
@@ -250,10 +251,10 @@ sal_Int32 SwDbtoolsClient::getDefaultNumberFormat(
---------------------------------------------------------------------------*/
::rtl::OUString SwDbtoolsClient::getValue(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _rxColumn,
- const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter>& _rxFormatter,
- const ::com::sun::star::lang::Locale& _rLocale,
- const ::com::sun::star::util::Date& _rNullDate
+ const uno::Reference< beans::XPropertySet>& _rxColumn,
+ const uno::Reference< util::XNumberFormatter>& _rxFormatter,
+ const lang::Locale& _rLocale,
+ const util::Date& _rNullDate
)
{