diff options
Diffstat (limited to 'include/svx/gridctrl.hxx')
-rw-r--r-- | include/svx/gridctrl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx index c328dd9fb0bb..5e44375c0029 100644 --- a/include/svx/gridctrl.hxx +++ b/include/svx/gridctrl.hxx @@ -563,7 +563,7 @@ protected: OUString GetCurrentRowCellText(DbGridColumn* pCol,const DbGridRowRef& _rRow) const; virtual void DeleteSelectedRows(); - static bool IsValid(const DbGridRowRef& _xRow) { return _xRow && _xRow->IsValid(); } + static bool IsValid(const DbGridRowRef& _xRow) { return _xRow.Is() && _xRow->IsValid(); } // row which is currently being appended bool IsCurrentAppending() const; |