summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/colrowba.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-04-18 09:42:15 +0000
committerNiklas Nebel <nn@openoffice.org>2001-04-18 09:42:15 +0000
commitbfce04c0b4e09dcc6ccef1fe388d7ab0c43c94d4 (patch)
tree865f8a30dc885c032355656c18e002e836e90c00 /sc/source/ui/view/colrowba.cxx
parent7a7a25a91b686bffac5c46439c1482f30f9ecc2c (diff)
#i601# ScViewData::ToPixel (handling of small columns/rows)
Diffstat (limited to 'sc/source/ui/view/colrowba.cxx')
-rw-r--r--sc/source/ui/view/colrowba.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/colrowba.cxx b/sc/source/ui/view/colrowba.cxx
index 6e1656b64072..f9cfce23d3e5 100644
--- a/sc/source/ui/view/colrowba.cxx
+++ b/sc/source/ui/view/colrowba.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: colrowba.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: nn $ $Date: 2001-03-20 18:02:21 $
+ * last change: $Author: nn $ $Date: 2001-04-18 10:42:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -415,7 +415,7 @@ USHORT ScColBar::GetEntrySize( USHORT nEntryNo )
if ( pDoc->GetColFlags( nEntryNo, nTab ) & CR_HIDDEN )
return 0;
else
- return (USHORT) ( pDoc->GetColWidth( nEntryNo, nTab ) * pViewData->GetPPTX() );
+ return (USHORT) ScViewData::ToPixel( pDoc->GetColWidth( nEntryNo, nTab ), pViewData->GetPPTX() );
}
String ScColBar::GetEntryText( USHORT nEntryNo )
@@ -576,7 +576,7 @@ USHORT ScRowBar::GetEntrySize( USHORT nEntryNo )
if ( pDoc->GetRowFlags( nEntryNo, nTab ) & CR_HIDDEN )
return 0;
else
- return (USHORT) ( pDoc->GetRowHeight( nEntryNo, nTab ) * pViewData->GetPPTY() );
+ return (USHORT) ScViewData::ToPixel( pDoc->GetRowHeight( nEntryNo, nTab ), pViewData->GetPPTY() );
}
String ScRowBar::GetEntryText( USHORT nEntryNo )