summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2015-09-18 15:28:38 +0300
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-26 05:50:19 +0000
commite2c7ef060397c4e0a0297b14b008596fb1c089a4 (patch)
tree0c74803a7e19595ad00c56b32f50d53edeaad20f /sc/source/ui/view
parentfc3e36c4188888c7a4277d7f9c6fff1db106fb34 (diff)
making alt-x code consistent
Recent reviewer's comments apply to previously committed code. Made the changes and tested each module. Change-Id: Id67ff103797f18cf233f728b8f93a7747a42e02f Reviewed-on: https://gerrit.libreoffice.org/18713 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/editsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 9b1d2b0aaa5c..c225286e22ab 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -354,7 +354,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
aSel.nEndPos = nUtf16Pos;
}
- ToggleUnicodeCodepoint aToggle = ToggleUnicodeCodepoint();
+ ToggleUnicodeCodepoint aToggle;
while( nUtf16Pos && aToggle.AllowMoreInput( sInput[nUtf16Pos-1]) )
--nUtf16Pos;
OUString sReplacement = aToggle.ReplacementString();