diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-20 21:09:05 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-21 15:45:00 +0100 |
commit | 5d7c3b4d1926b59d2bb17497ef82c694b6f99597 (patch) | |
tree | 4c342e0469c0aacb6f35a2b435c735bd52ff5f46 /sw | |
parent | 3c1660de22542c188f3ee8038ed42bc717225551 (diff) |
dead init (clang)
Change-Id: I86e37b3c6bac6694f41138ab46e2e51a92a0dd76
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/doclay.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index b2f57f6dfcf4..7534d6e6788a 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -204,8 +204,7 @@ SwFlyFrmFmt* SwDoc::_MakeFlySection( const SwPosition& rAnchPos, } // Anchor not yet set? - RndStdIds eAnchorId = pAnchor ? pAnchor->GetAnchorId() - : pFmt->GetAnchor().GetAnchorId(); + RndStdIds eAnchorId; // #i107811# Assure that at-page anchored fly frames have a page num or a // content anchor set. if ( !pAnchor || |