summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-08 07:53:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-08 09:46:56 +0100
commit9036bf183236459bbb02e41b89fc18cb215f6842 (patch)
tree788cd9c26fc8f206744d8b56c7d157a9c39441a1 /sfx2/source/doc
parent07263e9dd22893a03d8bc8267ac0d79b5918d101 (diff)
loplugin:salcall vcl builder methods
these don't need to be SAL_CALL, and the function pointer definition was not annotated SAL_CALL either Change-Id: I3082d3d34c53dc723ad8d2083010fd0de0e89a1e Reviewed-on: https://gerrit.libreoffice.org/46067 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/new.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index f750dada8395..122b06eac288 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -116,7 +116,7 @@ void SfxPreviewWin_Impl::Paint(vcl::RenderContext& rRenderContext, const tools::
ImpPaint(rRenderContext, xMetaFile.get());
}
-extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeSfxPreviewWin(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
+extern "C" SAL_DLLPUBLIC_EXPORT void makeSfxPreviewWin(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
{
rRet = VclPtr<SfxPreviewWin_Impl>::Create(pParent, 0);
}