summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/inc/UITools.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-24 17:02:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-24 20:28:17 +0200
commit77af4cb9715a00f4f5165fcd912b9640d5ffbca3 (patch)
tree55882d889cc8bac4b75ce91c38ce7169d1fa8d0f /dbaccess/source/ui/inc/UITools.hxx
parentthrow if length of keys and values are different (diff)
downloadcore-77af4cb9715a00f4f5165fcd912b9640d5ffbca3.tar.gz
core-77af4cb9715a00f4f5165fcd912b9640d5ffbca3.zip
move callColumnFormatDialog to use weld::Widget
instead of vcl::Window Change-Id: I7c7692c91a610030fc523ba55fd5b73e503dd1ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99386 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/inc/UITools.hxx')
-rw-r--r--dbaccess/source/ui/inc/UITools.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx
index 0ea5b03c93c3..913504f4e4f6 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -68,7 +68,10 @@ namespace svt
}
namespace vcl { class Window; }
-namespace weld {class Window; }
+namespace weld {
+ class Widget;
+ class Window;
+}
class ToolBox;
namespace vcl { class Font; }
class SvNumberFormatter;
@@ -181,11 +184,11 @@ namespace dbaui
void callColumnFormatDialog(const css::uno::Reference< css::beans::XPropertySet>& _xAffectedCol,
const css::uno::Reference< css::beans::XPropertySet>& _xField,
SvNumberFormatter* _pFormatter,
- const vcl::Window* _pParent);
+ weld::Widget* _pParent);
/** second variant of the function before
*/
- bool callColumnFormatDialog(const vcl::Window* _pParent,
+ bool callColumnFormatDialog(weld::Widget* _pParent,
SvNumberFormatter* _pFormatter,
sal_Int32 _nDataType,
sal_Int32& _nFormatKey,