diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 10:29:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 10:29:33 +0000 |
commit | fffae28952f20fed693df4de8b8645cf0aedabfa (patch) | |
tree | 401f5ce0e113adc69199f43b79ff542f012d1d3c /dbaccess/source/ui/tabledesign | |
parent | 6fd747bf0e1f8374d52e26e823d2186275d5e8fb (diff) |
bah, need to tweak for pre c++0x
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableRow.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableRow.cxx b/dbaccess/source/ui/tabledesign/TableRow.cxx index 35be52c28521..b4ed28a4f0f4 100644 --- a/dbaccess/source/ui/tabledesign/TableRow.cxx +++ b/dbaccess/source/ui/tabledesign/TableRow.cxx @@ -128,9 +128,9 @@ namespace dbaui if(pFieldDesc) { _rStr << (sal_Int32)1; - _rStr.WriteUniOrByteString(pFieldDesc->GetName(), _rStr.GetStreamCharSet()); - _rStr.WriteUniOrByteString(pFieldDesc->GetDescription(), _rStr.GetStreamCharSet()); - _rStr.WriteUniOrByteString(pFieldDesc->GetHelpText(), _rStr.GetStreamCharSet()); + _rStr.WriteByteString(pFieldDesc->GetName()); + _rStr.WriteByteString(pFieldDesc->GetDescription()); + _rStr.WriteByteString(pFieldDesc->GetHelpText()); double nValue = 0.0; Any aValue = pFieldDesc->GetControlDefault(); if ( aValue >>= nValue ) @@ -141,7 +141,7 @@ namespace dbaui else { _rStr << sal_Int32(2); - _rStr.WriteUniOrByteString(::comphelper::getString(aValue), _rStr.GetStreamCharSet()); + _rStr.WriteByteString(::comphelper::getString(aValue)); } _rStr << pFieldDesc->GetType(); @@ -170,12 +170,12 @@ namespace dbaui OFieldDescription* pFieldDesc = new OFieldDescription(); _rRow.m_pActFieldDescr = pFieldDesc; String sValue; - _rStr.ReadUniOrByteString(sValue, _rStr.GetStreamCharSet()); + _rStr.ReadByteString(sValue); pFieldDesc->SetName(sValue); - _rStr.ReadUniOrByteString(sValue, _rStr.GetStreamCharSet()); + _rStr.ReadByteString(sValue); pFieldDesc->SetDescription(sValue); - _rStr.ReadUniOrByteString(sValue, _rStr.GetStreamCharSet()); + _rStr.ReadByteString(sValue); pFieldDesc->SetHelpText(sValue); _rStr >> nValue; @@ -190,7 +190,7 @@ namespace dbaui break; } case 2: - _rStr.ReadUniOrByteString(sValue, _rStr.GetStreamCharSet()); + _rStr.ReadByteString(sValue); aControlDefault <<= ::rtl::OUString(sValue); break; } |