diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 08:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:32 +0200 |
commit | d366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch) | |
tree | 4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /editeng/source/lookuptree/LatinTreeNode.cxx | |
parent | d2fa59e4025050c9b668ecff379d668f0db52639 (diff) |
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'editeng/source/lookuptree/LatinTreeNode.cxx')
-rw-r--r-- | editeng/source/lookuptree/LatinTreeNode.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/lookuptree/LatinTreeNode.cxx b/editeng/source/lookuptree/LatinTreeNode.cxx index b68e039d1349..a7f10aa5dd5a 100644 --- a/editeng/source/lookuptree/LatinTreeNode.cxx +++ b/editeng/source/lookuptree/LatinTreeNode.cxx @@ -36,13 +36,13 @@ LatinTreeNode::~LatinTreeNode() bool LatinTreeNode::isSeparatedlyHandled(const sal_Unicode cKey) const { - return ( cKey >= sal_Unicode('a') && cKey <= sal_Unicode('z') ); + return ( cKey >= 'a' && cKey <= 'z' ); } Node*& LatinTreeNode::getChildRef(const sal_Unicode cKey, bool bCreatePlaceholder) { // determine position in array if possible - if ( cKey >= sal_Unicode('a') && cKey <= sal_Unicode('z') ) + if ( cKey >= 'a' && cKey <= 'z' ) { return m_pLeaves[cKey - LatinLookupTree::our_nLowerCaseA]; } |