From 5685ee25aad4a4debb47fb5896082be48f521d17 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Sep 2017 13:59:33 +0200 Subject: improve redundantcast loplugin to find c-style casts where the expression is a templated method Change-Id: Ifbd1e2cdc72d906fc95a7ec0f9408c3f6d2a836b Reviewed-on: https://gerrit.libreoffice.org/42275 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/docshell/docsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/docshell/docsh.cxx') diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 19116b128b5e..febaf62ecfa2 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2069,7 +2069,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt if ( bFixedWidth ) { - SvxCellHorJustify eHorJust = (SvxCellHorJustify) + SvxCellHorJustify eHorJust = static_cast( aDocument.GetAttr( nCol, nRow, nTab, ATTR_HOR_JUSTIFY ))->GetValue(); lcl_ScDocShell_GetFixedWidthString( aString, aDocument, nTab, nCol, -- cgit