diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-19 09:39:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-19 09:57:33 +0200 |
commit | 19863db3373effd2a4836481dd6706a0efe6db39 (patch) | |
tree | bde932fe08ff01d5e41dec50563c027a2d51ee70 /sw | |
parent | 160ae9889e4d16217a7cca7d930f776f5a645ec8 (diff) |
indentation fixes
Change-Id: Ia391ccc9889a135730f0fead11eb0b6c2f748ec4
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 6 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.hxx | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 79a449449c0e..8d8e0481a591 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -1173,10 +1173,8 @@ DECLARE_RTFIMPORT_TEST(testN825305, "n825305.rtf") DECLARE_RTFIMPORT_TEST(testParaBottomMargin, "para-bottom-margin.rtf") { - uno::Reference<beans::XPropertySet> xPropertySet( - getStyles("ParagraphStyles")->getByName("Standard"), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(sal_Int32(353), - getProperty<sal_Int32>(xPropertySet, "ParaBottomMargin")); + uno::Reference<beans::XPropertySet> xPropertySet(getStyles("ParagraphStyles")->getByName("Standard"), uno::UNO_QUERY); + CPPUNIT_ASSERT_EQUAL(sal_Int32(353), getProperty<sal_Int32>(xPropertySet, "ParaBottomMargin")); // This was 353, i.e. bottom margin of the paragraph was 0.35cm instead of 0. // The reason why this is 0 despite the default style containing \sa200 diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx index fdd8ff176910..8452f73c96a6 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.hxx +++ b/sw/source/filter/ww8/rtfattributeoutput.hxx @@ -76,7 +76,10 @@ public: // Access to (anyway) private buffers, used by the sdr exporter OStringBuffer& RunText(); - OStringBuffer& Styles() { return m_aStyles; } + OStringBuffer& Styles() + { + return m_aStyles; + } /// Output text (without markup). virtual void RawText(const OUString& rText, bool bForceUnicode, rtl_TextEncoding eCharSet) SAL_OVERRIDE; |