summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-14 15:03:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-14 15:03:29 +0100
commitd9b9a3bffa5ed71e4ecadab863a545515803a183 (patch)
tree5c5c8a3b593f5bba8737cead248c5bac539a561b /sc/source/filter/inc
parent87be4885d369ba06ab090c26fde23c52656b69a8 (diff)
-Werror=misleading-indentation (GCC 6)
Change-Id: Ie583f5158fdc764c10981244efea204558219465
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r--sc/source/filter/inc/XclExpChangeTrack.hxx2
-rw-r--r--sc/source/filter/inc/xichart.hxx5
2 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx
index 875906e08ee3..2818210afa64 100644
--- a/sc/source/filter/inc/XclExpChangeTrack.hxx
+++ b/sc/source/filter/inc/XclExpChangeTrack.hxx
@@ -319,7 +319,7 @@ private:
sal_uInt16* pBuffer;
sal_uInt16 nTabCount;
- inline void Clear() { if( pBuffer ) delete[] pBuffer; pBuffer = nullptr; }
+ inline void Clear() { delete[] pBuffer; pBuffer = nullptr; }
virtual void SaveCont( XclExpStream& rStrm ) override;
diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx
index 54d76be1c108..9b0dd1933618 100644
--- a/sc/source/filter/inc/xichart.hxx
+++ b/sc/source/filter/inc/xichart.hxx
@@ -394,7 +394,10 @@ 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 { if (mxString) return mxString->GetText(); return 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;