Skip to content

Commit

Permalink
Mod/Spreadsheet: Removed -Wsign-compare warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindkv authored and wwmayer committed Sep 11, 2015
1 parent 4d9af51 commit e0f3ab2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Mod/Spreadsheet/App/Expression.h
Expand Up @@ -126,8 +126,7 @@ class SpreadsheetExport Path {

const std::string & getPropertyName() const { return components[propertyIndex].component; }

const Component & getPropertyComponent(int i) const { assert(i >=0 && i < components.size()); return components[propertyIndex + i]; }

const Component & getPropertyComponent(std::size_t i) const { assert(i < components.size()); return components[propertyIndex + i]; }
const std::string & getSubComponent(int i) const { assert(i >= 1); return components[propertyIndex - 1].component; }

std::string getSubPathStr() const;
Expand Down

0 comments on commit e0f3ab2

Please sign in to comment.