]> git.lyx.org Git - lyx.git/commitdiff
Revert part of c053a9394d1075ecad02ccce2f34c95f08c1f00f
authorStephan Witt <switt@lyx.org>
Mon, 25 Apr 2016 18:57:06 +0000 (20:57 +0200)
committerStephan Witt <switt@lyx.org>
Mon, 25 Apr 2016 18:59:25 +0000 (20:59 +0200)
This change introduced a regression and is not needed anymore.

(cherry picked from commit 1cbabdf8d51b26dd80677ddfeb64d13df91fefc0)

src/graphics/GraphicsLoader.cpp

index 498394e421f09a9a7bb9aec16f45945d4270d8e9..23ebb623948f9fee8bc9b6c27951fe92e28b1f33 100644 (file)
@@ -460,10 +460,6 @@ void Loader::Impl::createPixmap()
                if (idx != string::npos && idx > 3) {
                        if (filename.substr(idx - 3, 3) == "@2x") {
                                params_.pixel_ratio = 2.0;
-                       } else if (cached_item_->filename().extension() == "svgz") {
-                               params_.pixel_ratio = 4.0;
-                       } else if (cached_item_->filename().extension() == "svg") {
-                               params_.pixel_ratio = 4.0;
                        }
                }
        }