summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-06 13:43:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-06 21:36:47 +0200
commite4008dc0c3b43c9eacdd88511075be2b883c9a77 (patch)
tree658bb95c8b873a5cea95ef577f32992ca0907a44 /sc/inc
parent9b56acd6caaf461b18e627ac6bed467d9c3a4287 (diff)
first arg of ApplyBlockFrame is never null
Change-Id: Ie65fce6041278c6758df266c4ef097a5758f75dd Reviewed-on: https://gerrit.libreoffice.org/38448 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/attarray.hxx4
-rw-r--r--sc/inc/column.hxx4
-rw-r--r--sc/inc/table.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx
index b7ac603f47ba..551ec560981f 100644
--- a/sc/inc/attarray.hxx
+++ b/sc/inc/attarray.hxx
@@ -124,8 +124,8 @@ public:
void MergeBlockFrame( SvxBoxItem* pLineOuter, SvxBoxInfoItem* pLineInner, ScLineFlags& rFlags,
SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight ) const;
- void ApplyBlockFrame( const SvxBoxItem* pLineOuter, const SvxBoxInfoItem* pLineInner,
- SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight );
+ void ApplyBlockFrame(const SvxBoxItem& rLineOuter, const SvxBoxInfoItem* pLineInner,
+ SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight);
void SetPattern( SCROW nRow, const ScPatternAttr* pPattern, bool bPutToPool = false );
void SetPatternArea( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr* pPattern,
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 585b930cf56a..16a2733495b7 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -454,8 +454,8 @@ public:
void MergeBlockFrame( SvxBoxItem* pLineOuter, SvxBoxInfoItem* pLineInner,
ScLineFlags& rFlags,
SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight ) const;
- void ApplyBlockFrame( const SvxBoxItem* pLineOuter, const SvxBoxInfoItem* pLineInner,
- SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight );
+ void ApplyBlockFrame(const SvxBoxItem& rLineOuter, const SvxBoxInfoItem* pLineInner,
+ SCROW nStartRow, SCROW nEndRow, bool bLeft, SCCOL nDistRight);
void ApplyAttr( SCROW nRow, const SfxPoolItem& rAttr );
void ApplyPattern( SCROW nRow, const ScPatternAttr& rPatAttr );
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index eb55829d65fe..8b096b1fadba 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -653,7 +653,7 @@ public:
ScLineFlags& rFlags,
SCCOL nStartCol, SCROW nStartRow,
SCCOL nEndCol, SCROW nEndRow ) const;
- void ApplyBlockFrame( const SvxBoxItem* pLineOuter,
+ void ApplyBlockFrame(const SvxBoxItem& rLineOuter,
const SvxBoxInfoItem* pLineInner,
SCCOL nStartCol, SCROW nStartRow,
SCCOL nEndCol, SCROW nEndRow );