summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/LimitBox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/querydesign/LimitBox.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/LimitBox.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/LimitBox.cxx b/dbaccess/source/ui/querydesign/LimitBox.cxx
index 9556f814d8ed..b2d267e970d5 100644
--- a/dbaccess/source/ui/querydesign/LimitBox.cxx
+++ b/dbaccess/source/ui/querydesign/LimitBox.cxx
@@ -85,7 +85,7 @@ void LimitBox::ReformatAll()
{
RemoveEntry( 0 );
NumericBox::ReformatAll();
- InsertEntry( ALL_STRING, 0);
+ InsertValue( ALL_INT, 0);
}
else
{
@@ -101,8 +101,7 @@ Size LimitBox::GetOptimalSize() const
///Initialize entries
void LimitBox::LoadDefaultLimits()
{
- SetValue( ALL_INT );
- InsertEntry( ALL_STRING );
+ InsertValue( ALL_INT );
const unsigned nSize =
sizeof(global::aDefLimitAry)/sizeof(global::aDefLimitAry[0]);