Kaydet (Commit) 00673456 authored tarafından Salih Sariyar's avatar Salih Sariyar Kaydeden (comit) Michael Stahl

tdf#114441: Convert use of sal_uLong to better integer types

Change-Id: I1d54d8cec7f1157ea1c3c024a38a1a70210f98b0
Reviewed-on: https://gerrit.libreoffice.org/67687Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
Tested-by: Jenkins
üst b1fc81be
......@@ -99,7 +99,7 @@ class PSWriter
{
private:
bool mbStatus;
sal_uLong mnLevelWarning; // number of embedded eps files which was not exported
bool mbLevelWarning; // if there any embedded eps file which was not exported
sal_uInt32 mnLatestPush; // offset to streamposition, where last push was done
long mnLevel; // dialog options
......@@ -236,7 +236,7 @@ public:
PSWriter::PSWriter()
: mbStatus(false)
, mnLevelWarning(0)
, mbLevelWarning(false)
, mnLatestPush(0)
, mnLevel(0)
, mbGrayScale(false)
......@@ -286,7 +286,7 @@ bool PSWriter::WritePS( const Graphic& rGraphic, SvStream& rTargetStream, Filter
mbStatus = true;
mnPreview = 0;
mnLevelWarning = 0;
mbLevelWarning = false;
mnLatestPush = 0xEFFFFFFE;
if ( pFilterConfigItem )
......@@ -437,7 +437,7 @@ bool PSWriter::WritePS( const Graphic& rGraphic, SvStream& rTargetStream, Filter
else
mbStatus = false;
if ( mbStatus && mnLevelWarning && pFilterConfigItem )
if ( mbStatus && mbLevelWarning && pFilterConfigItem )
{
std::locale loc = Translate::Create("flt");
std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(nullptr,
......@@ -1125,7 +1125,7 @@ void PSWriter::ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev )
if ( k != '1' )
{
bLevelConflict = true;
mnLevelWarning++;
mbLevelWarning = true;
}
break;
}
......
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