summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/childwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 14:51:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-07 05:56:59 +0000
commit37a6bafea8416541d7d250d66a9e951400b197a3 (patch)
tree7569e0394e9efae6ee610c6406f8b684ded9cabf /sfx2/source/appl/childwin.cxx
parent5f6e5cb695ff4ab1e17653661d8243d836436a7e (diff)
loplugin:unuseddefaultparam in various
Change-Id: I03d7381aad055cbe9bd905e4082586073f4112e0 Reviewed-on: https://gerrit.libreoffice.org/22900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/appl/childwin.cxx')
-rw-r--r--sfx2/source/appl/childwin.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index a616833dfb14..87e70ee8fc26 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -578,8 +578,7 @@ bool SfxChildWindow::WantsFocus() const
bool SfxChildWinInfo::GetExtraData_Impl
(
SfxChildAlignment *pAlign,
- SfxChildAlignment *pLastAlign,
- Size *pSize
+ SfxChildAlignment *pLastAlign
) const
{
// invalid?
@@ -628,8 +627,6 @@ bool SfxChildWinInfo::GetExtraData_Impl
Size aChildSize;
if ( GetPosSizeFromString( aStr, aChildPos, aChildSize ) )
{
- if ( pSize )
- *pSize = aChildSize;
return true;
}
return false;