diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-05-02 12:44:55 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-05-02 21:32:23 +0200 |
commit | af10cb2c9cf2ea331850a054095e94110670de96 (patch) | |
tree | fb964303f6384c0c917e8af5ec284cf423274789 /sw/source/ui/dbui/dbinsdlg.cxx | |
parent | bd14194a2c3c4459aa30948b909cff47028b28f2 (diff) |
Rename SwDBMgr -> SwDBManager.
We were renaming it recently from SwNewDBMgr, let's use the full name to make
it more readable.
Change-Id: I2ceb3f1790321b70d5936c35e13870439969e64d
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index ee02e42dd7d4..9a7fe34d2225 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 = SwDBMgr::GetDbtoolsClient().getDefaultNumberFormat(xCol, + pNew->nDBNumFmt = SwDBManager::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 = SwDBMgr::createCursor(aDBData.sDataSource,aDBData.sCommand,aDBData.nCommandType,xConnection); + xResultSet = SwDBManager::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( SwDBMgr::GetDBField( + pFld->SetExpansion( SwDBManager::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 = SwDBMgr::GetDBField( + sIns = SwDBManager::GetDBField( xColumnProps, aDBFormatData, &nValue ); |