diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-08 20:14:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-08 20:44:27 +0100 |
commit | a16f9eaa053b8a99c8c9ff6b0964f5c525d7a57e (patch) | |
tree | 50226448bfea999dd27f86cdae27c29e990b5adc /sc | |
parent | 40aa808b06d14bd7d0c41e2bd79c4f6762570391 (diff) |
fix empty
Change-Id: Ib15a230d67a9af048106d82ed30fec64803a97ef
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/inc/xichart.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx index 4f10b75753cc..1b02b1c9fcca 100644 --- a/sc/source/filter/inc/xichart.hxx +++ b/sc/source/filter/inc/xichart.hxx @@ -414,7 +414,7 @@ public: /** Returns true, if the source link contains explicit string data. */ inline bool HasString() const { return mxString && !mxString->IsEmpty(); } /** Returns explicit string data or an empty string. */ - OUString GetString() const { return mxString ? mxString->GetText() : OUString(); } + OUString GetString() const { if (mxString) return mxString->GetText(); return OUString(); } /** Returns the number of data points of this source link. */ sal_uInt16 GetCellCount() const; |