diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-08 14:53:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-08 14:55:12 +0200 |
commit | bf30c8b16d9ac9304a49020ec2d4f744d90abe26 (patch) | |
tree | 0296cec9ca0729874ed1a1963af9f1311366c326 /svx/source/form/tbxform.cxx | |
parent | d15540c431587368d749b53074af25cf865e7a5f (diff) |
use new VCL IsValueChangedFromSaved method
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963
"RFC: add IsValueChangedFromSaved to VCL button and listbox"
Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
Diffstat (limited to 'svx/source/form/tbxform.cxx')
-rw-r--r-- | svx/source/form/tbxform.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx index 5f8eeb719bab..fdcfef7fe87a 100644 --- a/svx/source/form/tbxform.cxx +++ b/svx/source/form/tbxform.cxx @@ -73,7 +73,7 @@ SvxFmAbsRecWin::~SvxFmAbsRecWin() void SvxFmAbsRecWin::FirePosition( sal_Bool _bForce ) { - if ( _bForce || ( GetText() != GetSavedValue() ) ) + if ( _bForce || IsValueChangedFromSaved() ) { sal_Int64 nRecord = GetValue(); if (nRecord < GetMin() || nRecord > GetMax()) |