summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-01-10 12:55:18 +0000
committertavmjong-free <tavmjong@free.fr>2017-01-10 12:55:18 +0000
commit3d488c4a3091d4e14c045e85aa20b1ec96b479c0 (patch)
tree86d90edd3232d1c9c61ff78a119347bb99861d9d /src/file.cpp
parentAnother scaling option to test. (diff)
downloadinkscape-3d488c4a3091d4e14c045e85aa20b1ec96b479c0.tar.gz
inkscape-3d488c4a3091d4e14c045e85aa20b1ec96b479c0.zip
Remove debugging lines from last commit.
(bzr r15407)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 629e8205b..9e96361c3 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -523,8 +523,6 @@ bool sp_file_open(const Glib::ustring &uri,
} else if (response == 6) {
- std::cout << "Respons 6a" << std::endl;
-
// Save preferences
bool onlysensitive = prefs->getBool("/options/kbselection/onlysensitive",true);
bool onlyvisible = prefs->getBool("/options/kbselection/onlyvisible", true);
@@ -537,7 +535,6 @@ bool sp_file_open(const Glib::ustring &uri,
double height = root->height.computed;
selection->setScaleRelative( Geom::Point(0,height), Geom::Scale(96.0/90.0,96.0/90.0) );
- std::cout << " scaling: " << 96.0/90.0 << std::endl;
selection->clear();
prefs->setBool("/options/kbselection/onlysensitive", onlysensitive);
@@ -703,7 +700,6 @@ bool sp_file_open(const Glib::ustring &uri,
} else if (response == 6) {
- std::cout << "Response 6b" << std::endl;
double old_height = root->height.computed;
Inkscape::Util::Quantity width =
Inkscape::Util::Quantity(doc->getWidth().value("px")/ratio, "px" );
@@ -723,7 +719,6 @@ bool sp_file_open(const Glib::ustring &uri,
Inkscape::Selection *selection = desktop->getSelection();
Inkscape::SelectionHelper::selectAllInAll( desktop );
- std::cout << " scaling: " << 96.0/90.0 << std::endl;
double height = root->height.computed;
// So far we have just enlarged the drawing but due to the