Kaydet (Commit) 0742d5d3 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused VarHeight from Css1FrameSize

Change-Id: I3ac901a6eaa733a0a8b85a9e8ed8b71ff6ff8f96
Reviewed-on: https://gerrit.libreoffice.org/63921
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 6b8cd041
...@@ -1476,8 +1476,6 @@ sw/source/core/unocore/unosett.cxx:1580 ...@@ -1476,8 +1476,6 @@ sw/source/core/unocore/unosett.cxx:1580
enum (anonymous at /home/noel/libo2/sw/source/core/unocore/unosett.cxx:1577:5) InChapterFirst enum (anonymous at /home/noel/libo2/sw/source/core/unocore/unosett.cxx:1577:5) InChapterFirst
sw/source/core/unocore/unosett.cxx:1581 sw/source/core/unocore/unosett.cxx:1581
enum (anonymous at /home/noel/libo2/sw/source/core/unocore/unosett.cxx:1577:5) InChapterLast enum (anonymous at /home/noel/libo2/sw/source/core/unocore/unosett.cxx:1577:5) InChapterLast
sw/source/filter/html/css1atr.cxx:114
enum Css1FrameSize VarHeight
sw/source/filter/html/css1atr.cxx:117 sw/source/filter/html/css1atr.cxx:117
enum Css1FrameSize AnyHeight enum Css1FrameSize AnyHeight
sw/source/filter/ww8/ww8scan.hxx:604 sw/source/filter/ww8/ww8scan.hxx:604
......
...@@ -111,14 +111,13 @@ enum class Css1Background { ...@@ -111,14 +111,13 @@ enum class Css1Background {
enum class Css1FrameSize { enum class Css1FrameSize {
NONE = 0x00, NONE = 0x00,
Width = 0x01, Width = 0x01,
VarHeight = 0x02, MinHeight = 0x02,
MinHeight = 0x04, FixHeight = 0x04,
FixHeight = 0x08, AnyHeight = 0x06,
AnyHeight = 0x0e,
Pixel = 0x10, Pixel = 0x10,
}; };
namespace o3tl { namespace o3tl {
template<> struct typed_flags<Css1FrameSize> : is_typed_flags<Css1FrameSize, 0x1f> {}; template<> struct typed_flags<Css1FrameSize> : is_typed_flags<Css1FrameSize, 0x17> {};
} }
#define DOT_LEADERS_MAX_WIDTH 18 #define DOT_LEADERS_MAX_WIDTH 18
...@@ -2884,9 +2883,6 @@ static Writer& OutCSS1_SwFormatFrameSize( Writer& rWrt, const SfxPoolItem& rHt, ...@@ -2884,9 +2883,6 @@ static Writer& OutCSS1_SwFormatFrameSize( Writer& rWrt, const SfxPoolItem& rHt,
case ATT_MIN_SIZE: case ATT_MIN_SIZE:
bOutHeight = bool(nMode & Css1FrameSize::MinHeight); bOutHeight = bool(nMode & Css1FrameSize::MinHeight);
break; break;
case ATT_VAR_SIZE:
bOutHeight = bool(nMode & Css1FrameSize::VarHeight);
break;
default: default:
OSL_ENSURE( bOutHeight, "Height will not be exported" ); OSL_ENSURE( bOutHeight, "Height will not be exported" );
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment