summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/grfattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/graphic/grfattr.cxx')
-rw-r--r--svtools/source/graphic/grfattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfattr.cxx b/svtools/source/graphic/grfattr.cxx
index 1e328c918811..2514ed73b65c 100644
--- a/svtools/source/graphic/grfattr.cxx
+++ b/svtools/source/graphic/grfattr.cxx
@@ -106,7 +106,7 @@ SvStream& WriteGraphicAttr( SvStream& rOStm, const GraphicAttr& rAttr )
const sal_uInt32 nTmp32 = 0;
rOStm.WriteUInt32( nTmp32 ).WriteUInt32( nTmp32 );
- rOStm << rAttr.mfGamma;
+ rOStm.WriteDouble( rAttr.mfGamma );
rOStm.WriteUInt32( rAttr.mnMirrFlags ).WriteUInt16( rAttr.mnRotate10 );
rOStm.WriteInt16( rAttr.mnContPercent ).WriteInt16( rAttr.mnLumPercent ).WriteInt16( rAttr.mnRPercent ).WriteInt16( rAttr.mnGPercent ).WriteInt16( rAttr.mnBPercent );
rOStm.WriteUChar( rAttr.mbInvert ).WriteUChar( rAttr.mcTransparency ).WriteUInt16( (sal_uInt16) rAttr.meDrawMode );