diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 12:27:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-21 09:15:49 +0200 |
commit | 42b2c0042b04184c94fb7cba3f301d394d21274e (patch) | |
tree | e82fd71eaa204258629754e413605efd706f12a7 /sw/source/uibase/shells | |
parent | 8c8f2a528534c31708028825d327601d7bec804c (diff) |
pass RndStdIds around instead of sal_uInt16
Change-Id: I28c85b8a5370faa06043ad93412897778ed1a619
Reviewed-on: https://gerrit.libreoffice.org/36731
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/shells')
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index f0b6b5775965..2f3db3361dbb 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -288,7 +288,7 @@ void SwBaseShell::ExecClpbrd(SfxRequest &rReq) const SfxUInt16Item* pAnchorType = rReq.GetArg<SfxUInt16Item>(FN_PARAM_1); if (pAnchorType) - SwTransferable::Paste(rSh, aDataHelper, pAnchorType->GetValue()); + SwTransferable::Paste(rSh, aDataHelper, static_cast<RndStdIds>(pAnchorType->GetValue())); else SwTransferable::Paste(rSh, aDataHelper); |