summaryrefslogtreecommitdiff
path: root/sc/inc/formularesult.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-10-10 20:24:21 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-11 12:14:27 -0400
commit7333881bb7b04f7e4e2a28638024ae82a9c14e81 (patch)
tree97548f94ab918d502b45a5dda40ece5ad4117617 /sc/inc/formularesult.hxx
parent6255be7ca294d350143290c343673f264f42220c (diff)
Formula tokens, formula cells and formula interpreters to use shared strings.
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
Diffstat (limited to 'sc/inc/formularesult.hxx')
-rw-r--r--sc/inc/formularesult.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/formularesult.hxx b/sc/inc/formularesult.hxx
index d1c235f5ed74..8a7b36543284 100644
--- a/sc/inc/formularesult.hxx
+++ b/sc/inc/formularesult.hxx
@@ -135,7 +135,7 @@ public:
bool IsMultiline() const;
bool GetErrorOrDouble( sal_uInt16& rErr, double& rVal ) const;
- bool GetErrorOrString( sal_uInt16& rErr, OUString& rStr ) const;
+ bool GetErrorOrString( sal_uInt16& rErr, svl::SharedString& rStr ) const;
/** Get error code if set or GetCellResultType() is formula::svError or svUnknown,
else 0. */
@@ -159,7 +159,7 @@ public:
/** Return string if type formula::svString or formula::svHybridCell or formula::svMatrixCell and
upper left formula::svString, else empty string. */
- const OUString& GetString() const;
+ svl::SharedString GetString() const;
/** Return matrix if type formula::svMatrixCell and ScMatrix present, else NULL. */
ScConstMatrixRef GetMatrix() const;