From c00d6519e919275b390b82b1d1a49a31fe519993 Mon Sep 17 00:00:00 2001 From: Laurent Godard Date: Thu, 1 Dec 2011 15:06:25 +0100 Subject: String to OUString for SetHybridString method --- sc/inc/cell.hxx | 2 +- sc/inc/formularesult.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/inc') 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(); -- cgit