summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/fmcomp/gridctrl.cxx')
-rw-r--r--svx/source/fmcomp/gridctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 8c020494e7d4..a34d4f3a6c7b 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -2770,7 +2770,7 @@ void DbGridControl::DataSourcePropertyChanged(const PropertyChangeEvent& evt) th
SolarMutexGuard aGuard;
// prop "IsModified" changed ?
// during update don't care about the modified state
- if (!IsUpdating() && evt.PropertyName.compareTo(FM_PROP_ISMODIFIED) == COMPARE_EQUAL)
+ if (!IsUpdating() && evt.PropertyName == FM_PROP_ISMODIFIED )
{
Reference< XPropertySet > xSource(evt.Source, UNO_QUERY);
DBG_ASSERT( xSource.is(), "DbGridControl::DataSourcePropertyChanged: invalid event source!" );