summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/dbinsdlg.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-22 08:05:48 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-22 08:07:17 +0300
commitb166e7af2bc3f6750b1f56adf004a115229d4c2d (patch)
treeccef5261d8eb39ffd07fb0a198f3192c0c88794a /sw/source/ui/dbui/dbinsdlg.cxx
parent870ce1188ef7bfb6e57eed2894a20b2ea30b2225 (diff)
There is nothing "new" with SwNewDBMgr any more
Change-Id: I28c48be099ba680a5d6ea91981a1e1bfadff3f84
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index dae0b0f5d91d..d6dd12ff75ca 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -322,7 +322,7 @@ SwInsertDBColAutoPilot::SwInsertDBColAutoPilot( SwView& rView,
}
else
{
- pNew->nDBNumFmt = SwNewDBMgr::GetDbtoolsClient().getDefaultNumberFormat(xCol,
+ pNew->nDBNumFmt = SwDBMgr::GetDbtoolsClient().getDefaultNumberFormat(xCol,
xDocNumberFormatTypes, LanguageTag( rSh.GetCurLang() ).getLocale());
}
@@ -950,7 +950,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<Any>& rSelection,
// we don't have a cursor, so we have to create our own RowSet
if ( !xResultSet.is() )
{
- xResultSet = SwNewDBMgr::createCursor(aDBData.sDataSource,aDBData.sCommand,aDBData.nCommandType,xConnection);
+ xResultSet = SwDBMgr::createCursor(aDBData.sDataSource,aDBData.sCommand,aDBData.nCommandType,xConnection);
bDisposeResultSet = xResultSet.is();
}
@@ -1286,7 +1286,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<Any>& rSelection,
Reference< XPropertySet > xColumnProps;
xCols->getByName(pDBCol->pColInfo->sColumn) >>= xColumnProps;
- pFld->SetExpansion( SwNewDBMgr::GetDBField(
+ pFld->SetExpansion( SwDBMgr::GetDBField(
xColumnProps,
aDBFormatData,
&nValue ) );
@@ -1320,7 +1320,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<Any>& rSelection,
double nValue = DBL_MAX;
Reference< XPropertySet > xColumnProps;
xCols->getByName(pDBCol->pColInfo->sColumn) >>= xColumnProps;
- sIns = SwNewDBMgr::GetDBField(
+ sIns = SwDBMgr::GetDBField(
xColumnProps,
aDBFormatData,
&nValue );