summaryrefslogtreecommitdiffstats
path: root/src/print.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-01 10:06:56 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-01 10:06:56 +0000
commit121815791be2d24cb745663520b111ee914fbc09 (patch)
tree487c6c27a31e9adbd81ad42f5a8eafef31547426 /src/print.cpp
parentThis is the first c++ification commit from me. It handles sp-line, sp-polylin... (diff)
downloadinkscape-121815791be2d24cb745663520b111ee914fbc09.tar.gz
inkscape-121815791be2d24cb745663520b111ee914fbc09.zip
C++fied SPDocument added
(bzr r9546.1.2)
Diffstat (limited to 'src/print.cpp')
-rw-r--r--src/print.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print.cpp b/src/print.cpp
index 7b582b0d1..43f0113a0 100644
--- a/src/print.cpp
+++ b/src/print.cpp
@@ -90,7 +90,7 @@ sp_print_preview_document(SPDocument *doc)
Inkscape::Extension::Print *mod;
unsigned int ret;
- sp_document_ensure_up_to_date(doc);
+ doc->ensure_up_to_date();
mod = Inkscape::Extension::get_print(SP_MODULE_KEY_PRINT_DEFAULT);
@@ -124,7 +124,7 @@ sp_print_preview_document(SPDocument *doc)
void
sp_print_document(Gtk::Window& parentWindow, SPDocument *doc)
{
- sp_document_ensure_up_to_date(doc);
+ doc->ensure_up_to_date();
// Build arena
SPItem *base = SP_ITEM(sp_document_root(doc));
@@ -152,7 +152,7 @@ sp_print_document_to_file(SPDocument *doc, gchar const *filename)
gchar *oldoutput;
unsigned int ret;
- sp_document_ensure_up_to_date(doc);
+ doc->ensure_up_to_date();
mod = Inkscape::Extension::get_print(SP_MODULE_KEY_PRINT_PS);
oldconst = mod->get_param_string("destination");