summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoportenum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoportenum.cxx')
-rw-r--r--sw/source/core/unocore/unoportenum.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 9e292197fd35..7d899fd81d7d 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -701,7 +701,7 @@ typedef boost::shared_ptr < SwXRedlinePortion_Impl >
struct RedlineCompareStruct
{
- const SwPosition& getPosition ( const SwXRedlinePortion_ImplSharedPtr &r )
+ static const SwPosition& getPosition ( const SwXRedlinePortion_ImplSharedPtr &r )
{
return *(r->m_bStart ? r->m_pRedline->Start() : r->m_pRedline->End());
}