diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-12 21:44:46 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-13 06:22:33 +0000 |
commit | ed7361ef0bdb6bee4f47a8421221eb7824f02e38 (patch) | |
tree | b745a27d916bb923f01857148e16485ac319f288 /sw/source/core/crsr/pam.cxx | |
parent | 239c75ed63fb31cfef9cee13d8d58c4fe9e7a906 (diff) |
cppcheck:variableScope
Change-Id: I7cbd5a9e9bb5417f754d4e2445df309140fd40af
Reviewed-on: https://gerrit.libreoffice.org/19329
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/core/crsr/pam.cxx')
-rw-r--r-- | sw/source/core/crsr/pam.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx index b75c504ed436..5025670e3b27 100644 --- a/sw/source/core/crsr/pam.cxx +++ b/sw/source/core/crsr/pam.cxx @@ -753,10 +753,10 @@ SwContentNode* GetNode( SwPaM & rPam, bool& rbFirst, SwMoveFn fnMove, bool bInReadOnly ) { SwContentNode * pNd = 0; - SwContentFrm* pFrm; if( ((*rPam.GetPoint()).*fnMove->fnCmpOp)( *rPam.GetMark() ) || ( *rPam.GetPoint() == *rPam.GetMark() && rbFirst ) ) { + SwContentFrm* pFrm; if( rbFirst ) { rbFirst = false; |