diff options
author | Laurent Godard <lgodard.libre@laposte.net> | 2011-12-01 15:06:25 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-12-01 23:14:46 +0100 |
commit | c00d6519e919275b390b82b1d1a49a31fe519993 (patch) | |
tree | d2705d6f012991ca91070b4a2e92784d9397a1a5 /sc/inc | |
parent | 8e83722d93bfc49c3a5c31d55ff728842209765a (diff) |
String to OUString for SetHybridString method
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/cell.hxx | 2 | ||||
-rw-r--r-- | sc/inc/formularesult.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx index 58a16b87aacf..fa1b7195e1a2 100644 --- a/sc/inc/cell.hxx +++ b/sc/inc/cell.hxx @@ -518,7 +518,7 @@ public: If for whatever reason you have to use both, SetHybridDouble() and SetHybridString() or SetHybridFormula(), use SetHybridDouble() first for performance reasons.*/ - void SetHybridString( const String& r ) + void SetHybridString( const rtl::OUString& r ) { aResult.SetHybridString( r); } /** For import only: set a temporary formula string to be compiled later. If for whatever reason you have to use both, SetHybridDouble() and diff --git a/sc/inc/formularesult.hxx b/sc/inc/formularesult.hxx index 1cc5faf5f77f..2aa674c359f2 100644 --- a/sc/inc/formularesult.hxx +++ b/sc/inc/formularesult.hxx @@ -200,7 +200,7 @@ public: /** Should only be used by import filters, best in the order SetHybridDouble(), SetHybridString()/SetHybridFormula(), or only SetHybridFormula() for formula string to be compiled later. */ - inline void SetHybridString( const String & rStr ); + inline void SetHybridString( const rtl::OUString & rStr ); /** Should only be used by import filters, best in the order SetHybridDouble(), SetHybridString()/SetHybridFormula(), or only @@ -572,7 +572,7 @@ inline void ScFormulaResult::SetHybridDouble( double f ) } -inline void ScFormulaResult::SetHybridString( const String & rStr ) +inline void ScFormulaResult::SetHybridString( const rtl::OUString & rStr ) { // Obtain values before changing anything. double f = GetDouble(); |