summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/docxexport.cxx')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index 2c04e3f82062..6382af4196c2 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -1306,22 +1306,6 @@ bool DocxExport::isMirroredMargin()
return bMirroredMargins;
}
-boost::optional<SvxBrushItem> DocxExport::getBackground()
-{
- boost::optional<SvxBrushItem> oRet;
- const SwFrameFormat &rFormat = m_pDoc->GetPageDesc(0).GetMaster();
- SvxBrushItem aBrush(RES_BACKGROUND);
- SfxItemState eState = rFormat.GetBackgroundState(aBrush);
-
- if (SfxItemState::SET == eState)
- {
- // The 'color' is set for the first page style - take it and use it as the background color of the entire DOCX
- if (aBrush.GetColor().GetColor() != COL_AUTO)
- oRet.reset(aBrush);
- }
- return oRet;
-}
-
void DocxExport::WriteMainText()
{
// setup the namespaces