summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-28 13:09:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-30 07:20:06 +0100
commitafbc75c207f367fb60cbe2f1c634fe78cd86bf92 (patch)
tree2b74b0ceaf391255efd2daebc66f2b6aa966ef21 /sw/source/ui/chrdlg
parent0025fa723afb9f6a0d94b9b3185ea14da18f1bd5 (diff)
TypedWhichId for RES_PARAATR constants
Change-Id: If2257d32fdd66703735466982e6913070ac1166d Reviewed-on: https://gerrit.libreoffice.org/45402 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/chrdlg')
-rw-r--r--sw/source/ui/chrdlg/drpcps.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx
index 7298f3e4e643..3e79b84c2dd9 100644
--- a/sw/source/ui/chrdlg/drpcps.cxx
+++ b/sw/source/ui/chrdlg/drpcps.cxx
@@ -633,7 +633,7 @@ bool SwDropCapsPage::FillItemSet(SfxItemSet *rSet)
void SwDropCapsPage::Reset(const SfxItemSet *rSet)
{
// Characters, lines, gap and text
- SwFormatDrop aFormatDrop(static_cast<const SwFormatDrop &>( rSet->Get(RES_PARATR_DROP)));
+ SwFormatDrop aFormatDrop( rSet->Get(RES_PARATR_DROP) );
if (aFormatDrop.GetLines() > 1)
{
m_pDropCapsField->SetValue(aFormatDrop.GetChars());