Skip to content

Commit 75f7b67

Browse files
author
jef
committed
fix windows build
git-svn-id: http://svn.osgeo.org/qgis/trunk@11559 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6cbe63e commit 75f7b67

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/analysis/raster/qgsaspectfilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "qgsderivativefilter.h"
2222

2323
/**Calculates aspect values in a window of 3x3 cells based on first order derivatives in x- and y- directions. Direction is clockwise starting from north*/
24-
class QgsAspectFilter: public QgsDerivativeFilter
24+
class ANALYSIS_EXPORT QgsAspectFilter: public QgsDerivativeFilter
2525
{
2626
public:
2727
QgsAspectFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );

src/analysis/raster/qgsninecellfilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class QProgressDialog;
2727
the cell value and the eight neighbour cells. Common examples are slope and aspect calculation in DEMs. Subclasses only implement \
2828
the method that calculates the new value from the nine values. Everything else (reading file, writing file) is done by this subclass*/
2929

30-
class QgsNineCellFilter
30+
class ANALYSIS_EXPORT QgsNineCellFilter
3131
{
3232
public:
3333
/**Constructor that takes input file, output file and output format (GDAL string)*/

src/analysis/raster/qgsruggednessfilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "qgsninecellfilter.h"
2222

2323
/**Calculates the ruggedness index based on a 3x3 moving window*/
24-
class QgsRuggednessFilter: public QgsNineCellFilter
24+
class ANALYSIS_EXPORT QgsRuggednessFilter: public QgsNineCellFilter
2525
{
2626
public:
2727
QgsRuggednessFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );

src/analysis/raster/qgsslopefilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "qgsderivativefilter.h"
2222

2323
/**Calculates slope values in a window of 3x3 cells based on first order derivatives in x- and y- directions*/
24-
class QgsSlopeFilter: public QgsDerivativeFilter
24+
class ANALYSIS_EXPORT QgsSlopeFilter: public QgsDerivativeFilter
2525
{
2626
public:
2727
QgsSlopeFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );

src/analysis/raster/qgstotalcurvaturefilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "qgsninecellfilter.h"
2222

2323
/**Calculates total curvature as described by Wilson, Gallant (2000): terrain analysis*/
24-
class QgsTotalCurvatureFilter: public QgsNineCellFilter
24+
class ANALYSIS_EXPORT QgsTotalCurvatureFilter: public QgsNineCellFilter
2525
{
2626
public:
2727
QgsTotalCurvatureFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );

src/plugins/interpolation/qgsinterpolationdialog.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,12 @@ void QgsInterpolationDialog::setNColsOnCellsizeXChange()
495495
QgsRectangle currentBBox = currentBoundingBox();
496496
int newSize;
497497

498-
if ( !mCellsizeXSpinBox->value() > 0 )
498+
if ( mCellsizeXSpinBox->value() <= 0 )
499499
{
500500
return;
501501
}
502502

503-
if ( !currentBBox.width() > 0 )
503+
if ( currentBBox.width() <= 0 )
504504
{
505505
newSize = 0;
506506
}
@@ -519,12 +519,12 @@ void QgsInterpolationDialog::setNRowsOnCellsizeYChange()
519519
QgsRectangle currentBBox = currentBoundingBox();
520520
int newSize;
521521

522-
if ( !mCellSizeYSpinBox->value() > 0 )
522+
if ( mCellSizeYSpinBox->value() <= 0 )
523523
{
524524
return;
525525
}
526526

527-
if ( !currentBBox.height() > 0 )
527+
if ( currentBBox.height() <= 0 )
528528
{
529529
newSize = 0;
530530
}

0 commit comments

Comments
 (0)