summaryrefslogtreecommitdiff
path: root/sw/source/core/attr
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-11-04 08:35:20 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-11-04 09:15:35 +0100
commitaa394fd920b75f8901ec4056504fa68703b6926d (patch)
tree65a37f9d7c7673f519d445743bacd8fb88411654 /sw/source/core/attr
parent2187cff2d452e20aa1fdfd5d8aa7473242cd1eb6 (diff)
sw: remove dead SwFormatFollowTextFlow::mbLayoutInCell
Now that the UNO API doesn't write it and the layout doesn't read it. Change-Id: I0c9bb6aca8f3642f06cb25b9857738a751520702 Reviewed-on: https://gerrit.libreoffice.org/81980 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/core/attr')
-rw-r--r--sw/source/core/attr/fmtfollowtextflow.cxx41
1 files changed, 0 insertions, 41 deletions
diff --git a/sw/source/core/attr/fmtfollowtextflow.cxx b/sw/source/core/attr/fmtfollowtextflow.cxx
index c9f042e01fb0..f979fd27d499 100644
--- a/sw/source/core/attr/fmtfollowtextflow.cxx
+++ b/sw/source/core/attr/fmtfollowtextflow.cxx
@@ -22,50 +22,9 @@
#include <sal/log.hxx>
-
SfxPoolItem* SwFormatFollowTextFlow::Clone( SfxItemPool * ) const
{
return new SwFormatFollowTextFlow(*this);
}
-
-bool SwFormatFollowTextFlow::PutValue(const css::uno::Any& rVal, sal_uInt8 aInt)
-{
- switch( aInt )
- {
- case MID_FOLLOW_TEXT_FLOW :
- {
- bool bTheValue = bool();
- if (rVal >>= bTheValue)
- {
- SetValue( bTheValue );
- return true;
- }
- break;
- }
- }
- SAL_WARN("sw.ui", "SfxBoolItem::PutValue(): Wrong type");
- return false;
-}
-
-
-bool SwFormatFollowTextFlow::QueryValue(css::uno::Any& rVal, sal_uInt8 aInt) const
-{
- switch( aInt )
- {
- case MID_FOLLOW_TEXT_FLOW :
- {
- rVal <<= GetValue();
- break;
- }
- }
- return true;
-}
-
-bool SwFormatFollowTextFlow::operator==(const SfxPoolItem& rItem) const
-{
- return SfxBoolItem::operator==(rItem)
- && mbLayoutInCell == static_cast<SwFormatFollowTextFlow const*>(&rItem)->mbLayoutInCell;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */