diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-07 09:28:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-07 11:20:44 +0200 |
commit | 7f8f277b94704a289fbbd1b836e4e5d66311580d (patch) | |
tree | 2400b7306a0a2a3ea63aee2e5bfc336b52102635 /tools/source/generic | |
parent | 8db77209e0755d21d9efc34f70a2978d1df5d2c6 (diff) |
fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
Diffstat (limited to 'tools/source/generic')
-rw-r--r-- | tools/source/generic/poly.cxx | 4 | ||||
-rw-r--r-- | tools/source/generic/poly2.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index c1eb8b57efcb..eb3859a1bddd 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1633,7 +1633,7 @@ void Polygon::ImplRead( SvStream& rIStream ) void Polygon::Read( SvStream& rIStream ) { - VersionCompat aCompat( rIStream, STREAM_READ ); + VersionCompat aCompat( rIStream, StreamMode::READ ); ImplRead( rIStream ); } @@ -1650,7 +1650,7 @@ void Polygon::ImplWrite( SvStream& rOStream ) const void Polygon::Write( SvStream& rOStream ) const { - VersionCompat aCompat( rOStream, STREAM_WRITE, 1 ); + VersionCompat aCompat( rOStream, StreamMode::WRITE, 1 ); ImplWrite( rOStream ); } diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx index 693c2eca6f2e..eec33a2624b0 100644 --- a/tools/source/generic/poly2.cxx +++ b/tools/source/generic/poly2.cxx @@ -617,7 +617,7 @@ SvStream& WritePolyPolygon( SvStream& rOStream, const tools::PolyPolygon& rPolyP void PolyPolygon::Read( SvStream& rIStream ) { - VersionCompat aCompat( rIStream, STREAM_READ ); + VersionCompat aCompat( rIStream, StreamMode::READ ); DBG_ASSERTWARNING( rIStream.GetVersion(), "PolyPolygon::>> - Solar-Version not set on rIStream" ); @@ -649,7 +649,7 @@ void PolyPolygon::Read( SvStream& rIStream ) void PolyPolygon::Write( SvStream& rOStream ) const { - VersionCompat aCompat( rOStream, STREAM_WRITE, 1 ); + VersionCompat aCompat( rOStream, StreamMode::WRITE, 1 ); DBG_ASSERTWARNING( rOStream.GetVersion(), "PolyPolygon::<< - Solar-Version not set on rOStream" ); |