Kaydet (Commit) a16f9eaa authored tarafından Caolán McNamara's avatar Caolán McNamara

fix empty

Change-Id: Ib15a230d67a9af048106d82ed30fec64803a97ef
üst 40aa808b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment