summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/layhelp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/layhelp.hxx')
-rw-r--r--sw/source/core/layout/layhelp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/layhelp.hxx b/sw/source/core/layout/layhelp.hxx
index bb8728354872..493e40962450 100644
--- a/sw/source/core/layout/layhelp.hxx
+++ b/sw/source/core/layout/layhelp.hxx
@@ -66,7 +66,7 @@ public:
sal_uInt16 GetBreakType( sal_uInt16 nIdx ) const { return aType[ nIdx ]; }
sal_uInt16 GetFlyCount() const { return aFlyCache.size(); }
- SwFlyCache *GetFlyCache( sal_uInt16 nIdx ) { return &aFlyCache[ nIdx ]; }
+ SwFlyCache& GetFlyCache( sal_uInt16 nIdx ) { return aFlyCache[ nIdx ]; }
bool IsUseFlyCache() const { return bUseFlyCache; }
};