diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 08:12:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 08:15:07 +0200 |
commit | 0cc53919440f150f4bfedb7a5b88cdb0cf3317dc (patch) | |
tree | 892d01cb1dc412a103a11c420e6a6ff961e88529 /cui | |
parent | 56dcc7b65f0d9d0dd02486d0e9e6be366248c3f5 (diff) |
loplugin:casttovoid in VCL_BUILDER_DECL_FACTORY
Change-Id: I4b0dd08963cf50daa41901975c6f92fe21db2048
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/acccfg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 3 | ||||
-rw-r--r-- | cui/source/options/optcolor.cxx | 3 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/backgrnd.cxx | 3 |
5 files changed, 5 insertions, 8 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 73ed7747c48a..c1c2104b26ee 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -656,7 +656,7 @@ void SfxAccCfgLBoxString_Impl::Paint(const Point& aPos, SvTreeListBox& /*rDevice } -VCL_BUILDER_DECL_FACTORY(SfxAccCfgTabListBox) +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeSfxAccCfgTabListBox(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) { WinBits nWinBits = WB_TABSTOP; diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 6ecf295bb80b..1fb06ab73da0 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1164,9 +1164,8 @@ SentenceEditWindow_Impl::~SentenceEditWindow_Impl() disposeOnce(); } -VCL_BUILDER_DECL_FACTORY(SentenceEditWindow) +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeSentenceEditWindow(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &) { - (void)rMap; rRet = VclPtr<SentenceEditWindow_Impl>::Create(pParent, WB_BORDER|WB_VSCROLL|WB_IGNORETAB); } diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 27203a99ac7d..33ea45e806c0 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -898,9 +898,8 @@ void ColorConfigCtrl_Impl::dispose() VclVBox::dispose(); } -VCL_BUILDER_DECL_FACTORY(ColorConfigCtrl) +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeColorConfigCtrl(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &) { - (void)rMap; rRet = VclPtr<ColorConfigCtrl_Impl>::Create(pParent); } diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 4353d654d5f9..e4037f7c0ae1 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -2446,7 +2446,7 @@ bool OfaAutoCompleteTabPage::AutoCompleteMultiListBox::PreNotify( return bHandled; } -VCL_BUILDER_DECL_FACTORY(AutoCompleteMultiListBox) +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeAutoCompleteMultiListBox(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) { WinBits nWinBits = WB_TABSTOP; diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 98ae9a091dcf..13ccc5e014d2 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -178,9 +178,8 @@ BackgroundPreviewImpl::BackgroundPreviewImpl(vcl::Window* pParent) Invalidate(aDrawRect); } -VCL_BUILDER_DECL_FACTORY(BackgroundPreview) +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeBackgroundPreview(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &) { - (void)rMap; rRet = VclPtr<BackgroundPreviewImpl>::Create(pParent); } |