summaryrefslogtreecommitdiff
path: root/starmath/source/visitors.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-29 10:40:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-01 06:05:58 +0000
commit069d71b72566a0b8f234304d3bd4511ee86b6c60 (patch)
treea345f45ff5e987b81fa89a16103a9420a137a238 /starmath/source/visitors.cxx
parent4475c191de479e7a5ddb20d14bc3aa32b0ab84d3 (diff)
loplugin:countusersofdefaultparams in shell..starmath
Change-Id: I553d1b031b8d261a1caa8b77a8d687af21a6f8d6 Reviewed-on: https://gerrit.libreoffice.org/27672 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath/source/visitors.cxx')
-rw-r--r--starmath/source/visitors.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index c80ce63bebd5..7efec06a4937 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -688,7 +688,7 @@ void SmSetSelectionVisitor::Visit( SmTextNode* pNode ) {
i2 = maEndPos.Index;
long start, end;
- pNode->SetSelected();
+ pNode->SetSelected(true);
if( i1 != -1 && i2 != -1 ) {
start = i1 < i2 ? i1 : i2; //MIN
end = i1 > i2 ? i1 : i2; //MAX