summaryrefslogtreecommitdiff
path: root/sw/inc/calc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r--sw/inc/calc.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index 4b98c2dc67dd..4051e657b899 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -138,9 +138,9 @@ public:
******************************************************************************/
struct SwHash
{
- SwHash( const String& rStr );
+ SwHash( const OUString& rStr );
virtual ~SwHash();
- String aStr;
+ OUString aStr;
SwHash *pNext;
};
@@ -149,18 +149,18 @@ struct SwCalcExp : public SwHash
SwSbxValue nValue;
const SwFieldType* pFldType;
- SwCalcExp( const String& rStr, const SwSbxValue& rVal,
+ SwCalcExp( const OUString& rStr, const SwSbxValue& rVal,
const SwFieldType* pFldType = 0 );
};
-SwHash* Find( const String& rSrch, SwHash** ppTable,
+SwHash* Find( const OUString& rSrch, SwHash** ppTable,
sal_uInt16 nTblSize, sal_uInt16* pPos = 0 );
void DeleteHashTable( SwHash** ppTable, sal_uInt16 nTblSize );
// if _CalcOp != 0, this is a valid operator
struct _CalcOp;
-_CalcOp* FindOperator( const String& rSearch );
+_CalcOp* FindOperator( const OUString& rSearch );
/******************************************************************************
* class SwCalc