summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-09-17 20:29:20 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-09-18 15:34:25 +0200
commit1ef778072763a539809c74804ef074c556efe501 (patch)
treea2167fcb950ac392dfa1fe7e128525ec03a05794
parent04edcd8605bf21b3355ada86fe415ac4c1a0219a (diff)
Remove special case which is handled differently now
Since 3914a711060341345f15b83656457f90095f32d6 rGrfName is empty. It was added in 363f1c1462963f6f032de07649dc9c4d02b4e446 Change-Id: I4ec3b432399708db4acb6af1af69df4c0aaa181c
-rw-r--r--sw/source/core/graphic/ndgrf.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 539027c46e6f..280c6d45b7e1 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -77,14 +77,7 @@ SwGrfNode::SwGrfNode(
bFrameInPaint = bScaleImageMap = false;
bGraphicArrived = true;
-
- // fdo#50763 inline image has already been read into memory
- if (rGrfName.startsWith("data:")) {
- maGrfObj.SetGraphic( *pGraphic, rGrfName );
- }
- else {
- ReRead(rGrfName,rFltName, pGraphic, 0, false);
- }
+ ReRead(rGrfName, rFltName, pGraphic, 0, false);
}
SwGrfNode::SwGrfNode( const SwNodeIndex & rWhere,