https://bugs.documentfoundation.org/show_bug.cgi?id=147257

--- Comment #6 from Vladimir Sokolinskiy <[email protected]> ---
Hello Eike!
We often use the following function to determine the range of cells included in
a worksheet's autofilter. We would like to legitimize it. :)

' Returns the DataBaseRange for the worksheet autofilter or Nothing.
' - oDoc document Calc.
' - oSheet document sheet.
Function GetSheetFilterDBRange(oDoc, oSheet) as Object
  Dim i as Long
  GetSheetFilterDBRange=Nothing
  i=oSheet.RangeAddress.Sheet
  With oDoc.getPropertyValue("UnnamedDatabaseRanges")
    If .hasByTable(i) Then GetSheetFilterDBRange=.getByTable(i)
  End With
End Function

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to