summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorAndreas Brandner <Andreas.Brandner@cib.de>2017-09-05 12:00:45 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-09-05 14:32:27 +0200
commitb55d2772e7b5f44b139fc7d5cb8b9196fd7ab1d7 (patch)
tree7227d1dedc55a2e6adf71ddd480280a83a6f4bbc /cui
parent4cde2a01be75552a0b7d37f65cc4134cb48fea26 (diff)
tdf#39674 find / fix all German spellings in internal APIs
Change-Id: Idcbfe301c13ffa1260ba3ab0665570db5ccc8112 Reviewed-on: https://gerrit.libreoffice.org/41929 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tpcolor.cxx16
1 files changed, 8 insertions, 8 deletions
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;
}