https://bugs.freedesktop.org/show_bug.cgi?id=49054
--- Comment #7 from Julien Nabet <serval2...@yahoo.fr> --- If we suppose_pType->aCreateParams.isEmpty() is useful, here's a naive patch: diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx index 65fb772..d3495a8 100644 --- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx +++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx @@ -221,7 +221,7 @@ void OFieldDescription::FillFromTypeInfo(const TOTypeInfoSP& _pType,bool _bForce SetScale(::std::min<sal_Int32>(GetScale() ? GetScale() : DEFAULT_NUMERIC_SCALE,_pType->nMaximumScale)); } } - if ( _pType->aCreateParams.isEmpty() ) + if ( _pType->aCreateParams.isEmpty() || _bForce ) { SetPrecision(_pType->nPrecision); SetScale(_pType->nMinimumScale); since _bReset seems to deal with SetFormatKey and SetControlDefault, see lines 176..180 of this same file. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs