summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwppara1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 15:18:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 06:33:41 +0000
commite140e40c12118f3af630545a773bece8aaf3a18c (patch)
treeb3644bf17752a292649682139fb42cd832a5d4d0 /lotuswordpro/source/filter/lwppara1.cxx
parentloplugin:expandablemethodds in filter..forms (diff)
downloadcore-e140e40c12118f3af630545a773bece8aaf3a18c.tar.gz
core-e140e40c12118f3af630545a773bece8aaf3a18c.zip
loplugin:expandablemethodds in lotuswordpro..package
Change-Id: Id33d88edc4be00f4238792d885e392cc08e72386 Reviewed-on: https://gerrit.libreoffice.org/30017 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwppara1.cxx')
-rw-r--r--lotuswordpro/source/filter/lwppara1.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index 58436d090809..0923312d6ea8 100644
--- a/lotuswordpro/source/filter/lwppara1.cxx
+++ b/lotuswordpro/source/filter/lwppara1.cxx
@@ -100,6 +100,7 @@
#include "lwpdropcapmgr.hxx"
#include "lwptable.hxx"
#include "lwpcelllayout.hxx"
+#include "lwpframelayout.hxx"
// boost::polymorphic_downcast checks and reports (using assert), if the
// cast is incorrect (in debug builds).
@@ -148,11 +149,10 @@ XFParaStyle* LwpPara::GetXFParaStyle()
/**
* @short get drop cap info
*/
-#include "lwpframelayout.hxx"
void LwpPara::GatherDropcapInfo()
{
- SetDropcapLines(m_pDropcapLayout->GetLines());
- SetDropcapChars(m_pDropcapLayout->GetChars());
+ m_nLines = m_pDropcapLayout->GetLines();
+ m_nChars = m_pDropcapLayout->GetChars();
}
/**
* @short get parent paragraph
@@ -593,7 +593,7 @@ LwpTabOverride* LwpPara::GetLocalTabOverride()
*/
bool LwpPara::operator< (LwpPara& Other)
{
- return m_nOrdinal < Other.GetOrdinal();
+ return m_nOrdinal < Other.m_nOrdinal;
}
/**