summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-01-30 13:46:42 +0200
committerMichael Stahl <mstahl@redhat.com>2014-02-04 22:50:39 +0000
commit186b4ebc99a2e80740fee51f9d0276886a003617 (patch)
treea86a4ff5fe3cd36add7053212ef37531540be253 /dbaccess/source/ui
parent95a7e952552adb834f92d1477f83938e7c8d0204 (diff)
convert specialised SvStream::operator>> methods to ReadXXX methods
as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/inc/TableRow.hxx2
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.cxx2
-rw-r--r--dbaccess/source/ui/tabledesign/TableRow.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/TableRow.hxx b/dbaccess/source/ui/inc/TableRow.hxx
index e50392867be9..2fc48d115dd6 100644
--- a/dbaccess/source/ui/inc/TableRow.hxx
+++ b/dbaccess/source/ui/inc/TableRow.hxx
@@ -70,7 +70,7 @@ namespace dbaui
inline bool IsReadOnly() const { return m_bReadOnly; }
friend SvStream& WriteOTableRow( SvStream& rStr,const OTableRow& _rRow );
- friend SvStream& operator>>( SvStream& rStr, OTableRow& _rRow );
+ friend SvStream& ReadOTableRow( SvStream& rStr, OTableRow& _rRow );
};
}
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 7f5cc4474f28..cfd9259a9b37 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -817,7 +817,7 @@ void OTableEditorCtrl::InsertRows( long nRow )
for(sal_Int32 i=0;i < nSize;++i)
{
pRow.reset(new OTableRow());
- (*aStreamRef) >> *pRow;
+ ReadOTableRow( *aStreamRef, *pRow );
pRow->SetReadOnly( false );
sal_Int32 nType = pRow->GetActFieldDescr()->GetType();
if ( pRow->GetActFieldDescr() )
diff --git a/dbaccess/source/ui/tabledesign/TableRow.cxx b/dbaccess/source/ui/tabledesign/TableRow.cxx
index f996447c49e1..a53f69f0660d 100644
--- a/dbaccess/source/ui/tabledesign/TableRow.cxx
+++ b/dbaccess/source/ui/tabledesign/TableRow.cxx
@@ -136,7 +136,7 @@ namespace dbaui
_rStr.WriteInt32( (sal_Int32)0 );
return _rStr;
}
- SvStream& operator>>( SvStream& _rStr, OTableRow& _rRow )
+ SvStream& ReadOTableRow( SvStream& _rStr, OTableRow& _rRow )
{
_rStr >> _rRow.m_nPos;
sal_Int32 nValue = 0;