cui/source/tabpages/tpcolor.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
New commits: commit b55d2772e7b5f44b139fc7d5cb8b9196fd7ab1d7 Author: Andreas Brandner <[email protected]> Date: Tue Sep 5 12:00:45 2017 +0200 tdf#39674 find / fix all German spellings in internal APIs Change-Id: Idcbfe301c13ffa1260ba3ab0665570db5ccc8112 Reviewed-on: https://gerrit.libreoffice.org/41929 Tested-by: Jenkins <[email protected]> Reviewed-by: Thorsten Behrens <[email protected]> diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index 3735ced06a89..62cf5e8293d3 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -722,39 +722,39 @@ void SvxColorTabPage::CmykToRgb_Impl( Color& rColor, const sal_uInt16 nK ) sal_uInt16 SvxColorTabPage::ColorToPercent_Impl( sal_uInt16 nColor ) { - sal_uInt16 nWert = 0; + sal_uInt16 nValue = 0; switch (eCM) { case ColorModel::RGB : - nWert = nColor; + nValue = nColor; break; case ColorModel::CMYK: - nWert = (sal_uInt16) ( (double) nColor * 100.0 / 255.0 + 0.5 ); + nValue = (sal_uInt16) ( (double) nColor * 100.0 / 255.0 + 0.5 ); break; } - return nWert; + return nValue; } sal_uInt16 SvxColorTabPage::PercentToColor_Impl( sal_uInt16 nPercent ) { - sal_uInt16 nWert = 0; + sal_uInt16 nValue = 0; switch (eCM) { case ColorModel::RGB : - nWert = nPercent; + nValue = nPercent; break; case ColorModel::CMYK: - nWert = (sal_uInt16) ( (double) nPercent * 255.0 / 100.0 + 0.5 ); + nValue = (sal_uInt16) ( (double) nPercent * 255.0 / 100.0 + 0.5 ); break; } - return nWert; + return nValue; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
