Kaydet (Commit) 95da9d4c authored tarafından Eike Rathke's avatar Eike Rathke

Follow our naming conventions, tdf#39593 follow-up

Change-Id: Iee95b5bf0dd42169447163a41be5b2aa1899e83c
üst 5ee141ee
...@@ -250,7 +250,7 @@ private: ...@@ -250,7 +250,7 @@ private:
bool Clip( DrawEditParam& rParam, const Size& aCellSize, OutputAreaParam& aAreaParam, bool Clip( DrawEditParam& rParam, const Size& aCellSize, OutputAreaParam& aAreaParam,
long nEngineHeight, bool bWrapFields); long nEngineHeight, bool bWrapFields);
bool AdjustAreaParamClipRect(OutputAreaParam& aAreaParam); bool AdjustAreaParamClipRect(OutputAreaParam& rAreaParam);
public: public:
/** /**
......
...@@ -2720,29 +2720,29 @@ void ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(Point aURLStart, const ...@@ -2720,29 +2720,29 @@ void ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(Point aURLStart, const
} }
// Returns true if the rect is clipped vertically // Returns true if the rect is clipped vertically
bool ScOutputData::AdjustAreaParamClipRect(OutputAreaParam& aAreaParam) bool ScOutputData::AdjustAreaParamClipRect(OutputAreaParam& rAreaParam)
{ {
if( aAreaParam.maClipRect.Left() < nScrX ) if( rAreaParam.maClipRect.Left() < nScrX )
{ {
aAreaParam.maClipRect.Left() = nScrX; rAreaParam.maClipRect.Left() = nScrX;
aAreaParam.mbLeftClip = true; rAreaParam.mbLeftClip = true;
} }
if( aAreaParam.maClipRect.Right() > nScrX + nScrW ) if( rAreaParam.maClipRect.Right() > nScrX + nScrW )
{ {
aAreaParam.maClipRect.Right() = nScrX + nScrW; //! minus one? rAreaParam.maClipRect.Right() = nScrX + nScrW; //! minus one?
aAreaParam.mbRightClip = true; rAreaParam.mbRightClip = true;
} }
bool bVClip = false; bool bVClip = false;
if( aAreaParam.maClipRect.Top() < nScrY ) if( rAreaParam.maClipRect.Top() < nScrY )
{ {
aAreaParam.maClipRect.Top() = nScrY; rAreaParam.maClipRect.Top() = nScrY;
bVClip = true; bVClip = true;
} }
if( aAreaParam.maClipRect.Bottom() > nScrY + nScrH ) if( rAreaParam.maClipRect.Bottom() > nScrY + nScrH )
{ {
aAreaParam.maClipRect.Bottom() = nScrY + nScrH; //! minus one? rAreaParam.maClipRect.Bottom() = nScrY + nScrH; //! minus one?
bVClip = true; bVClip = true;
} }
return bVClip; return bVClip;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment