From e0026b25e796eb89fa01fb42a759e89af4ab43e5 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 17 May 2016 09:32:20 +0200 Subject: sw, writerfilter: indentation fixes These files had a consistent style perviously, don't break that. Change-Id: I8d204e78463e7fe302a172a1af6ad3de51997977 --- sw/source/filter/ww8/docxtablestyleexport.cxx | 2 +- sw/source/filter/ww8/rtfattributeoutput.cxx | 4 ++-- sw/source/filter/ww8/rtfexport.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source') diff --git a/sw/source/filter/ww8/docxtablestyleexport.cxx b/sw/source/filter/ww8/docxtablestyleexport.cxx index 107fe77b9729..a1b90a06e642 100644 --- a/sw/source/filter/ww8/docxtablestyleexport.cxx +++ b/sw/source/filter/ww8/docxtablestyleexport.cxx @@ -673,7 +673,7 @@ void DocxTableStyleExport::Impl::TableStyle(uno::Sequence& tableStyleRPr(aRPr); tableStyleTablePr(aTablePr); tableStyleTcPr(aTcPr); - for (uno::Sequence & i : aTableStylePrs) + for (uno::Sequence& i : aTableStylePrs) tableStyleTableStylePr(i); m_pSerializer->endElementNS(XML_w, XML_style); diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 9cd98a688a31..2aa0cf676a3b 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -1880,7 +1880,7 @@ void RtfAttributeOutput::OutputFlyFrame_Impl(const ww8::Frame& rFrame, const Poi lcl_TextFrameShadow(m_aFlyProperties, rFrameFormat); lcl_TextFrameRelativeSize(m_aFlyProperties, rFrameFormat); - for (std::pair & rPair : m_aFlyProperties) + for (std::pair& rPair : m_aFlyProperties) { m_rExport.Strm().WriteCharPtr("{" OOO_STRING_SVTOOLS_RTF_SP "{"); m_rExport.Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_SN " "); @@ -3966,7 +3966,7 @@ void RtfAttributeOutput::FlyFrameGraphic(const SwFlyFrameFormat* pFlyFrameFormat if (!pFlyFrameFormat->GetOpaque().GetValue()) aFlyProperties.push_back(std::make_pair("fBehindDocument", "1")); - for (std::pair & rPair : aFlyProperties) + for (std::pair& rPair : aFlyProperties) { m_rExport.Strm().WriteCharPtr("{" OOO_STRING_SVTOOLS_RTF_SP "{"); m_rExport.Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_SN " "); diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index c57280488b56..729ce243b66c 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -392,7 +392,7 @@ void RtfExport::WriteMainText() std::vector< std::pair > aProperties; aProperties.push_back(std::make_pair("shapeType", "1")); aProperties.push_back(std::make_pair("fillColor", OString::number(msfilter::util::BGRToRGB(oBrush->GetColor().GetColor())))); - for (std::pair & rPair : aProperties) + for (std::pair& rPair : aProperties) { Strm().WriteCharPtr("{" OOO_STRING_SVTOOLS_RTF_SP "{"); Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_SN " "); -- cgit