summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docfly.cxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-14 20:42:14 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-16 13:24:09 +0100
commitf87a47a04a9eaae5d85a9f081536aa0b8dddf95d (patch)
tree58de2e5bea3c96c7912718cb330fdaaff1b06ef1 /sw/source/core/doc/docfly.cxx
parentf2993962fdac764026ec60239ad7229cbc1cbe85 (diff)
core/doc: dont use 'shortcut' that is longer than the original
Change-Id: Ib2d19c1b6af7676910208d0d07627f41379fcb4a
Diffstat (limited to 'sw/source/core/doc/docfly.cxx')
-rw-r--r--sw/source/core/doc/docfly.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfly.cxx b/sw/source/core/doc/docfly.cxx
index 701dea332412..428e758ac1ca 100644
--- a/sw/source/core/doc/docfly.cxx
+++ b/sw/source/core/doc/docfly.cxx
@@ -1056,7 +1056,7 @@ SwChainRet SwDoc::Chain( SwFrmFmt &rSource, const SwFrmFmt &rDest )
SwFmtFrmSize aSize( rSource.GetFrmSize() );
if ( aSize.GetHeightSizeType() != ATT_FIX_SIZE )
{
- SwFlyFrm *pFly = SwIterator<SwFlyFrm,SwFmt>::FirstElement( rSource );
+ SwFlyFrm *pFly = SwIterator<SwFlyFrm,SwFmt>( rSource ).First();
if ( pFly )
aSize.SetHeight( pFly->Frm().Height() );
aSize.SetHeightSizeType( ATT_FIX_SIZE );