diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-08 11:00:23 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-10 12:22:28 +0100 |
commit | ea65a40cdf6ac4dba37f21ad9bf81184b6598b55 (patch) | |
tree | 3b3a469486f48d0c8555fc989a007202a7f4aa68 /accessibility/inc | |
parent | 577b5fd81be3819354cad6bb234a988f264ae599 (diff) |
tdf#120703 PVS: make selection type detection more readable
V547 Expression 'Oep <= Osp' is always false.
Some of the conditions in the type detection code weren't reachable.
Also moved the code from class member to static function.
Change-Id: Iaf9dbe8ab15a1970b5cd580cf5d868715a234d02
Reviewed-on: https://gerrit.libreoffice.org/63230
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'accessibility/inc')
-rw-r--r-- | accessibility/inc/extended/textwindowaccessibility.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/accessibility/inc/extended/textwindowaccessibility.hxx b/accessibility/inc/extended/textwindowaccessibility.hxx index 59d92208dbea..512344c80ed8 100644 --- a/accessibility/inc/extended/textwindowaccessibility.hxx +++ b/accessibility/inc/extended/textwindowaccessibility.hxx @@ -540,7 +540,6 @@ private: void handleSelectionChangeNotification(); - ::sal_Int32 getSelectionType(::sal_Int32 nNewFirstPara, ::sal_Int32 nNewFirstPos, ::sal_Int32 nNewLastPara, ::sal_Int32 nNewLastPos); void sendEvent(::sal_Int32 start, ::sal_Int32 end, ::sal_Int16 nEventId); void disposeParagraphs(); |