include/svx/msdffdef.hxx | 21 --------------------- 1 file changed, 21 deletions(-)
New commits: commit e336d7f80fd9f7ada4b12c37f9434df411d28466 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Nov 26 12:40:26 2015 +0100 Remove unused MSO_ShadeType <sberg> vmiklos, any idea how useful the definition of enum MSO_ShadeType in include/svx/msdffdef.hxx is? Neither the type nor any of its enumerators are used anywhere, so it's rather glorious documentation of some (presumed) MS API vmiklos> sberg: doesn't look too useful, i guess the context is color shading in binary MSO files, but then that's handled in filter/source/msfilter/msdffimp.cxx:1069, and the ShadeColor struct already describes what is in the spec. Change-Id: Iae4c12828179173368ff17128bcaa80edaa3db23 diff --git a/include/svx/msdffdef.hxx b/include/svx/msdffdef.hxx index fc2f7af..d4f132b 100644 --- a/include/svx/msdffdef.hxx +++ b/include/svx/msdffdef.hxx @@ -673,27 +673,6 @@ enum MSO_FillType { mso_fillBackground // Use the background fill color/pattern }; -// MSO_SHADETYPE - how to interpret the colors in a shaded fill. -enum MSO_ShadeType { - mso_shadeNone = 0, // Interpolate without correction between RGBs - mso_shadeGamma = 1, // Apply gamma correction to colors - mso_shadeSigma = 2, // Apply a sigma transfer function to position - mso_shadeBand = 4, // Add a flat band at the start of the shade - mso_shadeOneColor = 8, // This is a one color shade - - /* A parameter for the band or sigma function can be stored in the top - 16 bits of the value - this is a proportion of *each* band of the - shade to make flat (or the approximate equal value for a sigma - function). NOTE: the parameter is not used for the sigma function, - instead a built in value is used. This value should not be changed - from the default! */ - mso_shadeParameterShift = 16, - mso_shadeParameterMask = 0xffff0000, - - mso_shadeDefault = (mso_shadeGamma|mso_shadeSigma| - (16384<<mso_shadeParameterShift)) -}; - // MSOLINESTYLE - compound line style enum MSO_LineStyle { mso_lineSimple, // Single line (of width lineWidth) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits