diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-10-08 20:43:03 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-10-09 14:09:22 +0200 |
commit | 8e0c45246a3de75d84875500ce3485e1ded4b934 (patch) | |
tree | a35ef3841aa5759efea866800738420697a8eb60 /dbaccess/source/ui/querydesign | |
parent | 728de28b8b7f334fd2102e132539a059d6a0a66f (diff) |
Resolve FIXME Decimal Separator should be OUString (connectivity/dbaccess/svx)
instead of a sal_Char
Change-Id: I14fd983dac7ceb83a788c26dd4ea9d1c87444c9a
Reviewed-on: https://gerrit.libreoffice.org/80493
Tested-by: Jenkins
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryDesignView.cxx | 18 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 1b2e6e61ddd8..e4b6ad431ea4 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -201,7 +201,7 @@ namespace xConnection, rController.getNumberFormatter(), _rLocale, - static_cast<sal_Char>(_sDecimal.toChar()), + _sDecimal, &rController.getParser().getContext()); } return aCondition; @@ -1341,14 +1341,14 @@ namespace xConnection, rController.getNumberFormatter(), aLocale, - static_cast<sal_Char>(sDecimal.toChar()), + sDecimal, &rController.getParser().getContext()); pValueExp->parseNodeToPredicateStr( aColumnName, xConnection, rController.getNumberFormatter(), aLocale, - static_cast<sal_Char>(sDecimal.toChar()), + sDecimal, &rController.getParser().getContext()); // don't display the column name @@ -1417,7 +1417,7 @@ namespace xConnection, rController.getNumberFormatter(), aLocale, - static_cast<sal_Char>(sDecimal.toChar()), + sDecimal, &rController.getParser().getContext()); OTableFieldDescRef aDragLeft = new OTableFieldDesc(); @@ -1472,7 +1472,7 @@ namespace xConnection, rController.getNumberFormatter(), _pView->getLocale(), - static_cast<sal_Char>(_pView->getDecimalSeparator().toChar()), + _pView->getDecimalSeparator(), &rController.getParser().getContext()); pFunction->parseNodeToStr( aColumnName, @@ -1633,7 +1633,7 @@ namespace xConnection, rController.getNumberFormatter(), _pView->getLocale(), - static_cast<sal_Char>(_pView->getDecimalSeparator().toChar()), + _pView->getDecimalSeparator(), &rController.getParser().getContext()); } } @@ -1675,7 +1675,7 @@ namespace xConnection, rController.getNumberFormatter(), _pView->getLocale(), - static_cast<sal_Char>(_pView->getDecimalSeparator().toChar()), + _pView->getDecimalSeparator(), &rController.getParser().getContext()); } @@ -2115,7 +2115,7 @@ namespace xConnection, rController.getNumberFormatter(), _pView->getLocale(), - static_cast<sal_Char>(_pView->getDecimalSeparator().toChar()), + _pView->getDecimalSeparator(), &rController.getParser().getContext()); sal_Int32 nFunctionType = FKT_NONE; @@ -2280,7 +2280,7 @@ namespace xConnection, rController.getNumberFormatter(), _pView->getLocale(), - static_cast<sal_Char>(_pView->getDecimalSeparator().toChar()), + _pView->getDecimalSeparator(), &rController.getParser().getContext()); _pView->fillFunctionInfo(pArgument,sCondition,aDragLeft); aDragLeft->SetFunctionType(FKT_OTHER); diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index edb0799da3bc..85df2321b40e 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -1096,7 +1096,7 @@ bool OSelectionBrowseBox::SaveModified() xColumn, pEntry->GetAlias(), getDesignView()->getLocale(), - static_cast<sal_Char>(getDesignView()->getDecimalSeparator().toChar()), + getDesignView()->getDecimalSeparator(), &(static_cast<OQueryController&>(getDesignView()->getController()).getParser().getContext())); } else @@ -1133,7 +1133,7 @@ bool OSelectionBrowseBox::SaveModified() xColumn, pEntry->GetAlias(), getDesignView()->getLocale(), - static_cast<sal_Char>(getDesignView()->getDecimalSeparator().toChar()), + getDesignView()->getDecimalSeparator(), &(static_cast<OQueryController&>(getDesignView()->getController()).getParser().getContext())); } else |