summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/app.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-06-07 15:42:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-06-12 21:44:39 +0200
commitad1cbee2ffc7b3c10cad6fd69f5e4b523ac4027c (patch)
treedeb0368f573238325c4e30bf1b932e6b3e0c05a2 /sfx2/source/appl/app.cxx
parent0e27158c4f6a6a7676a77afb6b37dd30b3f6d100 (diff)
weld OrganizeDialog
Change-Id: I976edb0b49c8439d1723be4544b10a5375b8e1d3 Reviewed-on: https://gerrit.libreoffice.org/73755 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/appl/app.cxx')
-rw-r--r--sfx2/source/appl/app.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 2e84fb18876b..75ea2ff5e820 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -414,14 +414,14 @@ void SfxApplication::Invalidate( sal_uInt16 nId )
#ifndef DISABLE_DYNLOADING
typedef long (*basicide_handle_basic_error)(void const *);
-typedef void (*basicide_macro_organizer)(sal_Int16);
+typedef void (*basicide_macro_organizer)(void const *, sal_Int16);
extern "C" { static void thisModule() {} }
#else
extern "C" long basicide_handle_basic_error(void*);
-extern "C" void basicide_macro_organizer(sal_Int16);
+extern "C" void basicide_macro_organizer(void*, sal_Int16);
#endif
@@ -520,7 +520,7 @@ SfxApplication::ChooseScript(weld::Window *pParent)
return aScriptURL;
}
-void SfxApplication::MacroOrganizer( sal_Int16 nTabId )
+void SfxApplication::MacroOrganizer(weld::Window* pParent, sal_Int16 nTabId)
{
#if !HAVE_FEATURE_SCRIPTING
(void) nTabId;
@@ -541,11 +541,11 @@ void SfxApplication::MacroOrganizer( sal_Int16 nTabId )
return;
// call basicide_macro_organizer in basctl
- pSymbol( nTabId );
+ pSymbol(pParent, nTabId);
#else
- basicide_macro_organizer( nTabId );
+ basicide_macro_organizer(pParent, nTabId);
#endif