[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Thu Dec 4 01:58:20 PST 2014
sw/source/ui/misc/docfnote.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 50d3ed0a1d47e40c6bf0e50b57751dbe4644b393
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Dec 4 10:57:28 2014 +0100
sw: loplugin:cstylecast
Change-Id: I0b9f72b24b797bee244f95083b8f0ab10b1c6a02
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx
index b938a07..15cfb94 100644
--- a/sw/source/ui/misc/docfnote.cxx
+++ b/sw/source/ui/misc/docfnote.cxx
@@ -379,7 +379,7 @@ bool SwEndNoteOptionPage::FillItemSet( SfxItemSet * )
}
else
{
- SwFtnInfo *pI = (SwFtnInfo*)pInf.get();
+ SwFtnInfo *pI = static_cast<SwFtnInfo*>(pInf.get());
pI->ePos = m_pPosPageBox->IsChecked() ? FTNPOS_PAGE : FTNPOS_CHAPTER;
pI->eNum = (SwFtnNum)GetNumbering();
pI->aQuoVadis = m_pContEdit->GetText();
More information about the Libreoffice-commits
mailing list