Kaydet (Commit) 32e3238a authored tarafından Noel Grandin's avatar Noel Grandin

remove unused PROT values

Change-Id: I2a0962c68e23722370ce36ce35e8cb86a3b7a7fb
Reviewed-on: https://gerrit.libreoffice.org/63922
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 0742d5d3
......@@ -1448,10 +1448,6 @@ sw/inc/undobj.hxx:134
enum DelContentType Fly
sw/inc/undobj.hxx:135
enum DelContentType Bkm
sw/source/core/inc/dbg_lay.hxx:38
enum PROT Pos
sw/source/core/inc/dbg_lay.hxx:46
enum PROT Snapshot
sw/source/core/inc/SwXMLBlockImport.hxx:81
enum SwXMLTextBlockToken OFFICE_BODY
sw/source/core/inc/SwXMLBlockImport.hxx:82
......
......@@ -35,7 +35,6 @@ enum class PROT {
ShrinkTest = 0x00000080,
Size = 0x00000100,
PrintArea = 0x00000200,
Pos = 0x00000400,
AdjustN = 0x00000800,
Section = 0x00001000,
Cut = 0x00002000,
......@@ -43,10 +42,9 @@ enum class PROT {
Leaf = 0x00008000,
TestFormat = 0x00010000,
FrmChanges = 0x00020000,
Snapshot = 0x00040000
};
namespace o3tl {
template<> struct typed_flags<PROT> : is_typed_flags<PROT, 0x0007ffff> {};
template<> struct typed_flags<PROT> : is_typed_flags<PROT, 0x0003fbff> {};
}
enum class DbgAction {
......
......@@ -632,8 +632,6 @@ void SwImplProtocol::Record_( const SwFrame* pFrame, PROT nFunction, DbgAction n
lcl_FrameType( aOut, pFrame ); // then the frame type
switch ( nFunction ) // and the function
{
case PROT::Snapshot: lcl_Flags( aOut, pFrame );
break;
case PROT::MakeAll: aOut.append("SwFrame::MakeAll");
lcl_Start( aOut, aLayer, nAct );
if( nAct == DbgAction::Start )
......@@ -681,7 +679,6 @@ void SwImplProtocol::Record_( const SwFrame* pFrame, PROT nFunction, DbgAction n
aOut.append(static_cast<sal_Int64>(*static_cast<long*>(pParam)));
}
break;
case PROT::Pos: break;
case PROT::PrintArea: aOut.append("PROT::PrintArea");
lcl_Start( aOut, aLayer, nAct );
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