sc/source/ui/optdlg/calcoptionsdlg.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit b7160172cdf26b90e2bc4ae7b5172b02f172ceba Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Fri Sep 13 07:05:53 2013 +0200 use the correct description for the opencl option Change-Id: Ie4b8e2f99bb8a32dae31555561c86a448201f792 diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx index 6639f35..dd6003c 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.cxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx @@ -250,9 +250,15 @@ void ScCalcOptionsDialog::SelectionChanged() bool bValue = false; if ( nSelectedPos == CALC_OPTION_EMPTY_AS_ZERO ) + { bValue = maConfig.mbEmptyStringAsZero; + mpFtAnnotation->SetText(maDescEmptyStringAsZero); + } else + { bValue = maConfig.mbOpenCLEnabled; + mpFtAnnotation->SetText(maDescOpenCLEnabled); + } if ( bValue ) { @@ -264,7 +270,6 @@ void ScCalcOptionsDialog::SelectionChanged() mpBtnTrue->Check(false); mpBtnFalse->Check(true); } - mpFtAnnotation->SetText(maDescEmptyStringAsZero); } break; default: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits