[Libreoffice-commits] .: Branch 'libreoffice-3-6' - binfilter/bf_svx
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Sun Jun 17 16:19:31 PDT 2012
binfilter/bf_svx/source/svdraw/svx_svdobj.cxx | 2 +-
binfilter/bf_svx/source/xoutdev/svx_xline.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0e83873df15b5bc38902635aad4a94cd4d9fd9a2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jun 12 17:22:24 2012 +0200
Adapt to 6d78c490b0923c22d125286ebdae2e41edd28f6c
... "Get rid of GRADIENT_* defines, they conflict with Windows GDI types."
Change-Id: Id05d47005e56ba5fd24b1b1ce17b069e011a4003
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdobj.cxx b/binfilter/bf_svx/source/svdraw/svx_svdobj.cxx
index 48bf941..01128ea 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdobj.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdobj.cxx
@@ -1640,7 +1640,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
/*?*/ // to be shown line has transparence, output via MetaFile
/*?*/ UINT8 nScaledTrans((UINT8)((nTransparence * 255)/100));
/*?*/ Color aTransColor(nScaledTrans, nScaledTrans, nScaledTrans);
-/*?*/ Gradient aGradient(GRADIENT_LINEAR, aTransColor, aTransColor);
+/*?*/ Gradient aGradient(GradientStyle_LINEAR, aTransColor, aTransColor);
/*?*/ GDIMetaFile aMetaFile;
/*?*/ VirtualDevice aVDev;
/*?*/ Volume3D aVolume;
diff --git a/binfilter/bf_svx/source/xoutdev/svx_xline.cxx b/binfilter/bf_svx/source/xoutdev/svx_xline.cxx
index 6bc5306..e096a0d 100644
--- a/binfilter/bf_svx/source/xoutdev/svx_xline.cxx
+++ b/binfilter/bf_svx/source/xoutdev/svx_xline.cxx
@@ -460,7 +460,7 @@ namespace binfilter {
/*?*/ MapMode aMap( pOldOut->GetMapMode() );
/*?*/ const BYTE cTrans = nLineTransparence * 255 / 100;
/*?*/ const Color aTrans( cTrans, cTrans, cTrans );
-/*?*/ Gradient aTransGradient( GRADIENT_LINEAR, aTrans, aTrans );
+/*?*/ Gradient aTransGradient( GradientStyle_LINEAR, aTrans, aTrans );
/*?*/
/*?*/ pOut = &aVDev;
/*?*/ aVDev.EnableOutput( FALSE );
More information about the Libreoffice-commits
mailing list