summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/jobset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/jobset.cxx')
-rw-r--r--vcl/source/gdi/jobset.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx
index efe5f4972985..a382dc6a062d 100644
--- a/vcl/source/gdi/jobset.cxx
+++ b/vcl/source/gdi/jobset.cxx
@@ -132,12 +132,12 @@ void ImplJobSetup::SetPaperFormat(Paper ePaperFormat)
mePaperFormat = ePaperFormat;
}
-void ImplJobSetup::SetPaperWidth(long nPaperWidth)
+void ImplJobSetup::SetPaperWidth(tools::Long nPaperWidth)
{
mnPaperWidth = nPaperWidth;
}
-void ImplJobSetup::SetPaperHeight(long nPaperHeight)
+void ImplJobSetup::SetPaperHeight(tools::Long nPaperHeight)
{
mnPaperHeight = nPaperHeight;
}
@@ -281,8 +281,8 @@ SvStream& ReadJobSetup( SvStream& rIStream, JobSetup& rJobSetup )
SAL_WARN("vcl", "Parsing error: " << nPaperFormat <<
" paper format, but legal max is " << NUM_PAPER_ENTRIES);
}
- rJobData.SetPaperWidth( static_cast<long>(SVBT32ToUInt32( pOldJobData->nPaperWidth )) );
- rJobData.SetPaperHeight( static_cast<long>(SVBT32ToUInt32( pOldJobData->nPaperHeight )) );
+ rJobData.SetPaperWidth( static_cast<tools::Long>(SVBT32ToUInt32( pOldJobData->nPaperWidth )) );
+ rJobData.SetPaperHeight( static_cast<tools::Long>(SVBT32ToUInt32( pOldJobData->nPaperHeight )) );
if ( rJobData.GetDriverDataLen() )
{
const char* pDriverData = reinterpret_cast<const char*>(pOldJobData) + nOldJobDataSize;