summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/fntcap.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-25 15:40:07 +0200
committerNoel Grandin <noel@peralex.com>2014-11-26 11:46:38 +0200
commitb61ca31e53f0a56667a5e00e966681be29ea7bf7 (patch)
tree812fe8e682bbfae131bd0698a35ddf513795c7bd /sw/source/core/txtnode/fntcap.cxx
parent47e395cad525385d4a8afdd359bcee2b6380fa22 (diff)
loplugin: cstylecast
Change-Id: I19be8b6df10515e195a4d3ecb8f003c85d2349c2
Diffstat (limited to 'sw/source/core/txtnode/fntcap.cxx')
-rw-r--r--sw/source/core/txtnode/fntcap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index ce2d7c40d7bd..5f8bf848ec10 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -745,7 +745,7 @@ void SwSubFont::DoOnCapitals( SwDoCapitals &rDo )
{
pLastFont = pSpaceFont;
pLastFont->SetDevFont( rDo.GetInf().GetShell(), rDo.GetOut() );
- ( (SwDoDrawCapital&) rDo ).DrawSpace( aStartPos );
+ static_cast<SwDoDrawCapital&>( rDo ).DrawSpace( aStartPos );
}
if ( bWordWise )
delete pSpaceFontAccess;