diff options
Diffstat (limited to 'sc/source/ui/view/printfun.cxx')
-rw-r--r-- | sc/source/ui/view/printfun.cxx | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 2963ab78b..6f211dbbf 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -1144,7 +1144,7 @@ void ScPrintFunc::SetDateTime( const Date& rDate, const Time& rTime ) } void lcl_DrawGraphic( const Graphic &rGraphic, OutputDevice *pOut, - const Rectangle &rGrf, const Rectangle &rOut ) + const Rectangle &rGrf, const Rectangle &rOut ) { const FASTBOOL bNotInside = !rOut.IsInside( rGrf ); if ( bNotInside ) @@ -1159,22 +1159,6 @@ void lcl_DrawGraphic( const Graphic &rGraphic, OutputDevice *pOut, pOut->Pop(); } -void lcl_DrawGraphic( const Bitmap& rBitmap, OutputDevice *pOut, - const Rectangle &rGrf, const Rectangle &rOut ) -{ - const FASTBOOL bNotInside = !rOut.IsInside( rGrf ); - if ( bNotInside ) - { - pOut->Push(); - pOut->IntersectClipRegion( rOut ); - } - - pOut->DrawBitmap( rGrf.TopLeft(), rGrf.GetSize(), rBitmap ); - - if ( bNotInside ) - pOut->Pop(); -} - void lcl_DrawGraphic( const SvxBrushItem &rBrush, OutputDevice *pOut, OutputDevice* pRefDev, const Rectangle &rOrg, const Rectangle &rOut ) { @@ -1770,15 +1754,6 @@ void ScPrintFunc::MakeTableString() pDoc->GetName( nPrintTab, aFieldData.aTabName ); } -String lcl_CmdStr( USHORT nId ) -{ - String aDel( ScGlobal::GetRscString( STR_HFCMD_DELIMITER ) ); - String aCmd = aDel; - aCmd += ScGlobal::GetRscString( nId ); - aCmd += aDel; - return aCmd; -} - void ScPrintFunc::MakeEditEngine() { if (!pEditEngine) |