diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-10 20:52:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-10 20:55:18 +0200 |
commit | 6a71fc9e48654d80f9545f43066ca56103d0cf65 (patch) | |
tree | 192afa5a30c10aad41ec5e247f85aa74b6566794 /oox | |
parent | c2cc63338f3c2f38d0a4f6be822c6cdeedb8213c (diff) |
CppunitTest_sd_export_tests: fix validation errors
Regression from 3e4d2043e99201ec542186039e3be34d3c226111 (tdf#90190 PPTX
table cell border width is not exported., 2015-04-16).
Change-Id: I9ccbfe32a068ea787f1bb5c62034a54f2a5996aa
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index d2691cc24853..1b0d64f95673 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -156,7 +156,8 @@ bool DrawingML::GetPropertyAndState( Reference< XPropertySet > rXPropertySet, Re void DrawingML::WriteColor( sal_uInt32 nColor, sal_Int32 nAlpha ) { - OString sColor = OString::number( nColor, 16 ); + // Transparency is a separate element. + OString sColor = OString::number( nColor & 0x00FFFFFF, 16 ); if( sColor.getLength() < 6 ) { OStringBuffer sBuf( "0" ); |