! * helper function replacing the hyphen with the minus sign in the localized string of the numerical value, * if this setting is active */
| 1160 | * if this setting is active |
| 1161 | */ |
| 1162 | void WorksheetElementPrivate::handleNegativeNumber(QString& value) { |
| 1163 | const auto group = Settings::settingsGeneral(); |
| 1164 | const bool useHyphen = group.readEntry<bool>(QLatin1String("UseHyphen"), false); |
| 1165 | if (!useHyphen) |
| 1166 | value.replace(0, 1, QString::fromUtf8("−")); |
| 1167 | } |
nothing calls this directly
no test coverage detected