summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwptaboverride.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 09:33:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 09:21:06 +0000
commitdca61b588a2426cfe9a18e4a1074b380e42884d7 (patch)
treedb4436c600c08086c0da7fb09c290705b33beb4d /lotuswordpro/source/filter/lwptaboverride.hxx
parent6aa8e86f3a80b7cbfb81500a6bb5cfeaca97791b (diff)
loplugin:expandablemethods in lotuswordpro..package
Change-Id: Ic9827c998f4f78775fdf5c1eaf9d4749d4986102 Reviewed-on: https://gerrit.libreoffice.org/30682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwptaboverride.hxx')
-rw-r--r--lotuswordpro/source/filter/lwptaboverride.hxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwptaboverride.hxx b/lotuswordpro/source/filter/lwptaboverride.hxx
index 4ebac3cd72fc..c5eeaa893d20 100644
--- a/lotuswordpro/source/filter/lwptaboverride.hxx
+++ b/lotuswordpro/source/filter/lwptaboverride.hxx
@@ -88,7 +88,6 @@ public:
}
inline LwpObjectID& GetTabRackID();
- inline bool IsTabRackOverridden();
inline void Override(LwpTabOverride* pOther);
protected:
@@ -114,17 +113,11 @@ inline void LwpTabOverride::Override(LwpTabOverride* pOther)
{
if (m_nApply & TO_TABRACK)
{
- if (IsTabRackOverridden())
- //m_aTabRackID = *(pOther->GetTabRackID());
+ if ((m_nOverride & TO_TABRACK) != 0)
pOther->m_aTabRackID = GetTabRackID();
}
}
-inline bool LwpTabOverride::IsTabRackOverridden()
-{
- return (m_nOverride & TO_TABRACK) != 0;
-}
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */