summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 19:39:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-09 07:14:51 +0100
commit2d40c43e868494abb87b405680f9c5ef460293cc (patch)
tree80ac9495557fd060fa6d092e42fccf8354c9ff98 /starmath
parent97e47e7b004945d3ac28a9262df371ca2faf1903 (diff)
loplugin:redundantfcast look for unnecessary temporaries
when calling methods that take a const& Change-Id: Idf45dfd9fea0de6fae0b1f89550f2f7fc302aa15 Reviewed-on: https://gerrit.libreoffice.org/50970 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/unomodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 63816bd3c525..39efdb4c8845 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -1058,7 +1058,7 @@ void SAL_CALL SmModel::setParent( const uno::Reference< uno::XInterface >& xPare
{
SvGlobalName aSfxIdent( SFX_GLOBAL_CLASSID );
SfxObjectShell* pDoc = reinterpret_cast<SfxObjectShell *>(xParentTunnel->getSomething(
- uno::Sequence< sal_Int8 >( aSfxIdent.GetByteSequence() ) ) );
+ aSfxIdent.GetByteSequence() ) );
if ( pDoc )
GetObjectShell()->OnDocumentPrinterChanged( pDoc->GetDocumentPrinter() );
}