diff options
-rw-r--r-- | lotuswordpro/source/filter/lwpdrawobj.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptools.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdatestyle.hxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawstyle.cxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/lotuswordpro/source/filter/lwpdrawobj.cxx b/lotuswordpro/source/filter/lwpdrawobj.cxx index d964ae6f6c0b..cd1dee6954c7 100644 --- a/lotuswordpro/source/filter/lwpdrawobj.cxx +++ b/lotuswordpro/source/filter/lwpdrawobj.cxx @@ -1299,7 +1299,7 @@ XFFrame* LwpDrawTextArt::CreateDrawObj(const OUString& rStyleName) pRetObj = new XFDrawPath(); XFDrawPath* pFWPath = static_cast<XFDrawPath*>(pRetObj); CreateFWPath(pFWPath); - pStyle->SetFontWorkStyle(0, enumXFFWSlantY, enumXFFWAdjustAutosize); + pStyle->SetFontWorkStyle(enumXFFWSlantY, enumXFFWAdjustAutosize); SetPosition(pRetObj); diff --git a/lotuswordpro/source/filter/lwptools.cxx b/lotuswordpro/source/filter/lwptools.cxx index b57224c7ff17..8329eeb0151a 100644 --- a/lotuswordpro/source/filter/lwptools.cxx +++ b/lotuswordpro/source/filter/lwptools.cxx @@ -528,7 +528,7 @@ XFDateStyle* LwpTools::GetSystemDateStyle(bool bLongFormat) break; } } - pDateStyle->AddAmPm(true); + pDateStyle->AddAmPm(); break; } case 'k': diff --git a/lotuswordpro/source/filter/xfilter/xfdatestyle.hxx b/lotuswordpro/source/filter/xfilter/xfdatestyle.hxx index 07e5e12f1328..1ae8acd191bf 100644 --- a/lotuswordpro/source/filter/xfilter/xfdatestyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfdatestyle.hxx @@ -103,7 +103,7 @@ public: void AddSecond( bool bLongFmt = true, sal_Int16 nDecimalPos = 2); - void AddAmPm(bool bAmPm); + void AddAmPm(); void AddText( const OUString& part ); @@ -196,7 +196,7 @@ inline void XFDateStyle::AddSecond( bool bLongFmt, sal_Int16 pos) m_aParts.AddStyle(part); } -inline void XFDateStyle::AddAmPm(bool /*bAmPm*/) +inline void XFDateStyle::AddAmPm() { XFDatePart *part = new XFDatePart(); part->SetPartType(enumXFDateAmPm); diff --git a/lotuswordpro/source/filter/xfilter/xfdrawstyle.cxx b/lotuswordpro/source/filter/xfilter/xfdrawstyle.cxx index 336dbdb7ea6f..93ea54425586 100644 --- a/lotuswordpro/source/filter/xfilter/xfdrawstyle.cxx +++ b/lotuswordpro/source/filter/xfilter/xfdrawstyle.cxx @@ -118,14 +118,14 @@ void XFDrawStyle::SetLineDashStyle(enumXFLineStyle style, int num1, int num2, pXFStyleManager->AddStyle(m_pLineStyle); } -void XFDrawStyle::SetFontWorkStyle(sal_Int8 nForm, enumXFFWStyle eStyle, enumXFFWAdjust eAdjust) +void XFDrawStyle::SetFontWorkStyle(enumXFFWStyle eStyle, enumXFFWAdjust eAdjust) { if (!m_pFontWorkStyle) { m_pFontWorkStyle = new XFFontWorkStyle(); } - m_pFontWorkStyle->SetButtonForm(nForm); + m_pFontWorkStyle->SetButtonForm(0); m_pFontWorkStyle->SetFWStyleType(eStyle); m_pFontWorkStyle->SetFWAdjustType(eAdjust); } diff --git a/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx b/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx index d9c4b70738db..76cd5113ff00 100644 --- a/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx +++ b/lotuswordpro/source/filter/xfilter/xfdrawstyle.hxx @@ -113,7 +113,7 @@ public: */ void SetArrowEnd(const OUString& end, double size=0.3, bool center = false); - void SetFontWorkStyle(sal_Int8 nForm, enumXFFWStyle eStyle, enumXFFWAdjust eAdjust); + void SetFontWorkStyle(enumXFFWStyle eStyle, enumXFFWAdjust eAdjust); virtual enumXFStyle GetStyleFamily() override; |