summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-22 13:38:54 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-03-22 13:38:54 -0400
commit93e504267160a64a25e04549c933b2ef600169a8 (patch)
tree9c15b78dff38745ade453248a5cffb541875881d /sc/inc/document.hxx
parent116fc6f1bfcf5feec9ce5b7fa001441f125d8b00 (diff)
Let's check for borders only when calculating printable pages.
The original change was introduced to allow printing of sheets that only has cell borders without any data cells. But, the change was not put in the right scope, and ended up affecting all kinds of run-time behaviors. (fdo#33621, fdo#33671) Also fixed some uninitialized data numbers.
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 55f9efbd1d31..1da2be3a19dc 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -836,9 +836,9 @@ public:
sal_Bool IsHorOverlapped( SCCOL nCol, SCROW nRow, SCTAB nTab ) const;
sal_Bool IsVerOverlapped( SCCOL nCol, SCROW nRow, SCTAB nTab ) const;
- SC_DLLPUBLIC bool HasAttrib( SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
- SCCOL nCol2, SCROW nRow2, SCTAB nTab2, sal_uInt16 nMask );
- SC_DLLPUBLIC bool HasAttrib( const ScRange& rRange, sal_uInt16 nMask );
+ SC_DLLPUBLIC bool HasAttrib( SCCOL nCol1, SCROW nRow1, SCTAB nTab1,
+ SCCOL nCol2, SCROW nRow2, SCTAB nTab2, sal_uInt16 nMask ) const;
+ SC_DLLPUBLIC bool HasAttrib( const ScRange& rRange, sal_uInt16 nMask ) const;
void GetBorderLines( SCCOL nCol, SCROW nRow, SCTAB nTab,
const SvxBorderLine** ppLeft,