diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-18 16:15:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-18 20:23:02 +0100 |
commit | 81aa4049d1b3109dc792ee3ef06d07ac535dd755 (patch) | |
tree | 4a419c1f636c21b87f38daf5bd50abfce8f10cd6 /svx/source/fmcomp | |
parent | af1bbf10230a031702a6a9d5dc9a1458b48c3b2b (diff) |
XubString->OUString
Change-Id: I0b7c2753fd6974e0db88cc47156156a37cd92987
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 20b707b177af..3cfaf85bd1cc 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -466,7 +466,7 @@ sal_uInt16 DbGridControl::NavigationBar::ArrangeControls() // Controls Groessen und Positionen setzen // - XubString aText = m_aRecordText.GetText(); + OUString aText = m_aRecordText.GetText(); long nTextWidth = m_aRecordText.GetTextWidth(aText); m_aRecordText.SetPosPixel(Point(nX,nY)); m_aRecordText.SetSizePixel(Size(nTextWidth,nH)); @@ -1653,7 +1653,7 @@ DbGridColumn* DbGridControl::CreateColumn(sal_uInt16 nId) const } //------------------------------------------------------------------------------ -sal_uInt16 DbGridControl::AppendColumn(const XubString& rName, sal_uInt16 nWidth, sal_uInt16 nModelPos, sal_uInt16 nId) +sal_uInt16 DbGridControl::AppendColumn(const OUString& rName, sal_uInt16 nWidth, sal_uInt16 nModelPos, sal_uInt16 nId) { DBG_ASSERT(nId == BROWSER_INVALIDID, "DbGridControl::AppendColumn : I want to set the ID myself ..."); sal_uInt16 nRealPos = nModelPos; @@ -2705,10 +2705,10 @@ OUString DbGridControl::GetCellText(long _nRow, sal_uInt16 _nColId) const return sRet; } //------------------------------------------------------------------------------ -XubString DbGridControl::GetCurrentRowCellText(DbGridColumn* pColumn,const DbGridRowRef& _rRow) const +OUString DbGridControl::GetCurrentRowCellText(DbGridColumn* pColumn,const DbGridRowRef& _rRow) const { // Ausgabe des Textes fuer eine Zelle - XubString aText; + OUString aText; if ( pColumn && IsValid(_rRow) ) aText = pColumn->GetCellText(_rRow, m_xFormatter); return aText; |