diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-11-22 22:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-23 09:31:53 +0100 |
commit | 2b403a8ddce089689ed3baefa75e0ea5c77724e1 (patch) | |
tree | 3bbc040ba687745ce90d67dc953cc49be1c85b7f /include | |
parent | 693735e4d39b92d7a16e855cfd9d99d9d150ea75 (diff) |
loplugin:fieldcast in DbGridControl
Change-Id: I87b1aa0326cbd4270ca54831b3388a5da9c9416d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159842
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/gridctrl.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx index b8057fd61823..f47520090fba 100644 --- a/include/svx/gridctrl.hxx +++ b/include/svx/gridctrl.hxx @@ -27,6 +27,7 @@ #include <osl/mutex.hxx> #include <svx/svxdllapi.h> #include <o3tl/typed_flags_set.hxx> +#include <map> #include <memory> #include <vector> @@ -40,6 +41,7 @@ namespace com::sun::star::util { class XNumberFormatter; } namespace weld { class Menu; } class CursorWrapper; +class GridFieldValueListener; bool CompareBookmark(const css::uno::Any& aLeft, const css::uno::Any& aRight); @@ -252,7 +254,7 @@ private: css::uno::Reference< css::sdb::XRowsChangeListener> m_xRowSetListener; // get notification when rows were changed - void* m_pFieldListeners; + std::map<sal_uInt16, GridFieldValueListener*> m_aFieldListeners; // property listeners for field values std::unique_ptr<DisposeListenerGridBridge> m_pCursorDisposeListener; |