diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-07 12:13:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-07 15:18:07 +0100 |
commit | 46593a05b28f93831da925aa7092b72be2209685 (patch) | |
tree | 3ee2f920738d513051d656f5cb4ee965fb8f466f /sw/inc/ndarr.hxx | |
parent | fab3b88699363f9be163e77298a4c8217a9b93b2 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I406d56236d9e87103009703b677bee40398ed1a2
Diffstat (limited to 'sw/inc/ndarr.hxx')
-rw-r--r-- | sw/inc/ndarr.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 5ed097001278..e60b9eed8550 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -140,8 +140,7 @@ public: typedef ::std::vector<SwNodeRange> NodeRanges_t; typedef ::std::vector<NodeRanges_t> TableRanges_t; - SwNodePtr operator[]( sal_uLong n ) const - { return (SwNodePtr)BigPtrArray::operator[] ( n ); } + SwNodePtr operator[]( sal_uLong n ) const; // defined in node.hxx sal_uLong Count() const { return BigPtrArray::Count(); } void ForEach( FnForEach_SwNodes fnForEach, void* pArgs = 0 ) |