summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-02-18 15:41:56 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-05-12 19:49:36 +0200
commitad991bce9707e810c38c4897933875886a6b37b0 (patch)
treecfb644cf50fd88689cb29fa097da9eda4c9e95ba /include/vcl
parentfe58fc543bea0a7b370f1df503ce59d83d8b3e2c (diff)
Create weld::Builder implementation for JSDialog
and use for WordCountDialog on mobile Change-Id: I12c3455ff9b16c30918067f9282b72f49141a308 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94041 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/svapp.hxx2
-rw-r--r--include/vcl/weld.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 6d0f16b59e90..f8be58bb6629 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -1376,7 +1376,7 @@ public:
// For vclbootstrapprotector:
static void setDeInitHook(Link<LinkParamNone*,void> const & hook);
- static weld::Builder* CreateBuilder(weld::Widget* pParent, const OUString &rUIFile);
+ static weld::Builder* CreateBuilder(weld::Widget* pParent, const OUString &rUIFile, bool bMobile = false);
static weld::Builder* CreateInterimBuilder(vcl::Window* pParent, const OUString &rUIFile); //for the duration of same SfxTabPages in mixed parent types
static weld::Builder* CreateInterimBuilder(weld::Widget* pParent, const OUString &rUIFile); //for the duration of same SfxTabPages in mixed parent types
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index af862d4cb91e..0017c56e2b1b 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -1419,7 +1419,7 @@ protected:
public:
GenericDialogController(weld::Widget* pParent, const OUString& rUIFile,
- const OString& rDialogId);
+ const OString& rDialogId, bool bMobile = false);
virtual Dialog* getDialog() override;
virtual ~GenericDialogController() COVERITY_NOEXCEPT_FALSE override;
};