summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document.h b/src/document.h
index 287228a67..4a24ff502 100644
--- a/src/document.h
+++ b/src/document.h
@@ -246,8 +246,8 @@ public:
Inkscape::Util::Quantity getHeight() const;
Geom::Point getDimensions() const;
Geom::OptRect preferredBounds() const;
- void setWidth(const Inkscape::Util::Quantity &width);
- void setHeight(const Inkscape::Util::Quantity &height);
+ void setWidth(const Inkscape::Util::Quantity &width, bool changeSize=true);
+ void setHeight(const Inkscape::Util::Quantity &height, bool changeSize=true);
void setViewBox(const Geom::Rect &viewBox);
void requestModified();
int ensureUpToDate();