summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-14 10:35:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-14 10:35:55 +0100
commit7e9a4944e53d95f7defb1da384b665e65b2ebc55 (patch)
tree4c9f8ccd98796cf58e72f776e4728d6a6d91be62
parent1231d6f3aef712ca7f72908db6f00a498768de47 (diff)
revert this
Change-Id: If24a9d79ed26d059c18150201d89f72c515fb89d
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index d52f52d4b763..701ebc7de113 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4193,14 +4193,6 @@ void DocxAttributeOutput::FlyFrameGraphic( const SwGrfNode* pGrfNode, const Size
FSNS( XML_r, nImageType ), aRelId.getStr(),
FSEND );
- const SfxPoolItem* pItemm;
- if (SfxItemState::SET == pOLENode->GetSwAttrSet().GetItemState(RES_GRFATR_DRAWMODE, true, &pItemm))
- {
- const SfxEnumItem* nMode = static_cast<const SfxEnumItem*>(pItemm);
- if (nMode && nMode->GetValue() == GRAPHICDRAWMODE_GREYS )
- m_pSerializer->singleElementNS (XML_a, XML_grayscl, FSEND);
- }
-
if (pSdrObj){
WriteSrcRect(pSdrObj);
}