diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-10-24 16:04:08 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-10-24 16:04:08 +0000 |
| commit | 9c27ef4d920ac6b05cd052cf48fa1d0b85b194b9 (patch) | |
| tree | 58ca3614efed828528b725234c945cebeb2cbe81 /src/document.cpp | |
| parent | fix bad style (diff) | |
| download | inkscape-9c27ef4d920ac6b05cd052cf48fa1d0b85b194b9.tar.gz inkscape-9c27ef4d920ac6b05cd052cf48fa1d0b85b194b9.zip | |
try to add some const-correctness
(bzr r12719)
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp index e1df38da1..3433e42ec 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -559,7 +559,7 @@ SPDocument *SPDocument::doUnref() } /// guaranteed not to return nullptr -Inkscape::Util::Unit const* SPDocument::getDefaultUnit() +Inkscape::Util::Unit const* SPDocument::getDefaultUnit() const { SPNamedView const* nv = sp_document_namedview(this, NULL); return nv ? nv->getDefaultUnit() : unit_table.getUnit("pt"); |
