diff options
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]; } |