extras/calcsoft/inc/CalcEnv.inl
branchRCL_3
changeset 29 9d6a662e71d9
parent 24 10c6e6d6e4d9
--- a/extras/calcsoft/inc/CalcEnv.inl	Wed Sep 15 12:14:32 2010 +0300
+++ b/extras/calcsoft/inc/CalcEnv.inl	Wed Oct 13 14:33:39 2010 +0300
@@ -39,12 +39,10 @@
 inline const TPtrC CCalcAppEnv::EditorOperator(
             const TCalcEditLine::TCalcOperatorType aType ) const
     {
-    //'r_calc_editor_operator_array' is operator array for Editor Operator. 
-    if ( ( aType == TCalcEditLine::ECalcDivide ) &&
+    if ( ( aType == TCalcEditLine::ECalcMultiply ||
+        aType == TCalcEditLine::ECalcDivide ) &&
         AknLayoutUtils::PenEnabled() )
         {
-        //show operator '/' instead of division operator 
-        //division move 6 is '/' in Editor Operator array
         return ( *iEditorOperArray )[( TInt ) aType + 6];
         }
     return ( *iEditorOperArray )[(TInt) aType];
@@ -59,12 +57,10 @@
 inline const TPtrC CCalcAppEnv::OutSheetOperator(
             const TCalcEditLine::TCalcOperatorType aType ) const
     {
-    //'r_calc_outsheet_operator_array' is operator array for OutSheet Operator. 
-    if ( ( aType == TCalcEditLine::ECalcDivide ) &&
+    if ( ( aType == TCalcEditLine::ECalcMultiply ||
+        aType == TCalcEditLine::ECalcDivide ) &&
         AknLayoutUtils::PenEnabled() )
         {
-        //show operator '/' instead of division operator
-        //division move 6 is '/' in OutSheet Operator array
         return (*iOutSheetOperArray)[( TInt ) aType + 6];
         }
     return (*iOutSheetOperArray)[( TInt ) aType];