Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 15074 → Rev 15075

/branches/Version135/Scribus/scribus/scribusXml.cpp
1788,8 → 1788,8
{
double minx = std::numeric_limits<double>::max();
double miny = std::numeric_limits<double>::max();
double maxx = std::numeric_limits<double>::min();
double maxy = std::numeric_limits<double>::min();
double maxx = -std::numeric_limits<double>::max();
double maxy = -std::numeric_limits<double>::max();
double xpo = item->xPos() - doc->currentPage()->xOffset();
double ypo = item->yPos() - doc->currentPage()->yOffset();
FPointArray pb(4);
2679,3 → 2679,4
style.setTabValues(tabs);
}
 
 
/branches/Version135/Scribus/scribus/pageitem.cpp
1545,8 → 1545,8
emG.clear();
double minx = std::numeric_limits<double>::max();
double miny = std::numeric_limits<double>::max();
double maxx = std::numeric_limits<double>::min();
double maxy = std::numeric_limits<double>::min();
double maxx = -std::numeric_limits<double>::max();
double maxy = -std::numeric_limits<double>::max();
if (Groups.count() != 0)
{
for (int ga=0; ga<m_Doc->Items->count(); ++ga)
4293,8 → 4293,8
{
double minx = std::numeric_limits<double>::max();
double miny = std::numeric_limits<double>::max();
double maxx = std::numeric_limits<double>::min();
double maxy = std::numeric_limits<double>::min();
double maxx = -std::numeric_limits<double>::max();
double maxy = -std::numeric_limits<double>::max();
if (Rot != 0)
{
FPointArray pb;
4435,8 → 4435,8
{
double minx = std::numeric_limits<double>::max();
double miny = std::numeric_limits<double>::max();
double maxx = std::numeric_limits<double>::min();
double maxy = std::numeric_limits<double>::min();
double maxx = -std::numeric_limits<double>::max();
double maxy = -std::numeric_limits<double>::max();
double extraSpace = 0.0;
if (NamedLStyle.isEmpty())
{
5613,3 → 5613,4
 
 
 
 
/branches/Version135/Scribus/scribus/scribusdoc.cpp
4020,8 → 4020,8
PageItem *currItem;
double minx = std::numeric_limits<double>::max();
double miny = std::numeric_limits<double>::max();
double maxx = std::numeric_limits<double>::min();
double maxy = std::numeric_limits<double>::min();
double maxx = -std::numeric_limits<double>::max();
double maxy = -std::numeric_limits<double>::max();
uint docItemsCount=Items->count();
if (docItemsCount != 0)
{
8068,7 → 8068,7
break;
case alignSelection:
double minX=std::numeric_limits<double>::max();
double maxX=std::numeric_limits<double>::min();
double maxX = -std::numeric_limits<double>::max();
for (uint a = 0; a < alignObjectsCount; ++a)
{
minX = qMin(AObjects[a].x1, minX);
8094,7 → 8094,7
return;
uint alignObjectsCount=AObjects.count();
int loopStart=0, loopEnd=alignObjectsCount-1;
double newX = std::numeric_limits<double>::min();
double newX = -std::numeric_limits<double>::max();
switch ( currAlignTo )
{
case alignFirst:
8139,7 → 8139,7
return;
uint alignObjectsCount=AObjects.count();
int loopStart=0, loopEnd=alignObjectsCount-1;
double newX = std::numeric_limits<double>::min();
double newX = -std::numeric_limits<double>::max();
switch ( currAlignTo )
{
case alignFirst:
8298,7 → 8298,7
break;
case alignSelection:
double minY = std::numeric_limits<double>::max();
double maxY = std::numeric_limits<double>::min();
double maxY = -std::numeric_limits<double>::max();
for (uint a = 0; a < alignObjectsCount; ++a)
{
minY = qMin(AObjects[a].y1, minY);
8324,7 → 8324,7
return;
uint alignObjectsCount=AObjects.count();
int loopStart=0, loopEnd=alignObjectsCount-1;
double newY = std::numeric_limits<double>::min();
double newY = -std::numeric_limits<double>::max();
switch ( currAlignTo )
{
case alignFirst:
8369,7 → 8369,7
return;
uint alignObjectsCount=AObjects.count();
int loopStart=0, loopEnd=alignObjectsCount-1;
double newY = std::numeric_limits<double>::min();
double newY = -std::numeric_limits<double>::max();
switch ( currAlignTo )
{
case alignFirst:
10059,8 → 10059,8
}
double minx = std::numeric_limits<double>::max();
double miny = std::numeric_limits<double>::max();
double maxx = std::numeric_limits<double>::min();
double maxy = std::numeric_limits<double>::min();
double maxx = -std::numeric_limits<double>::max();
double maxy = -std::numeric_limits<double>::max();
for (uint ep = 0; ep < selectedItemCount; ++ep)
{
PageItem* currItem = itemSelection->itemAt(ep);