remove unused PROT values
Change-Id: I2a0962c68e23722370ce36ce35e8cb86a3b7a7fb Reviewed-on: https://gerrit.libreoffice.org/63922 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -1448,10 +1448,6 @@ sw/inc/undobj.hxx:134
|
|||||||
enum DelContentType Fly
|
enum DelContentType Fly
|
||||||
sw/inc/undobj.hxx:135
|
sw/inc/undobj.hxx:135
|
||||||
enum DelContentType Bkm
|
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
|
sw/source/core/inc/SwXMLBlockImport.hxx:81
|
||||||
enum SwXMLTextBlockToken OFFICE_BODY
|
enum SwXMLTextBlockToken OFFICE_BODY
|
||||||
sw/source/core/inc/SwXMLBlockImport.hxx:82
|
sw/source/core/inc/SwXMLBlockImport.hxx:82
|
||||||
|
@@ -35,7 +35,6 @@ enum class PROT {
|
|||||||
ShrinkTest = 0x00000080,
|
ShrinkTest = 0x00000080,
|
||||||
Size = 0x00000100,
|
Size = 0x00000100,
|
||||||
PrintArea = 0x00000200,
|
PrintArea = 0x00000200,
|
||||||
Pos = 0x00000400,
|
|
||||||
AdjustN = 0x00000800,
|
AdjustN = 0x00000800,
|
||||||
Section = 0x00001000,
|
Section = 0x00001000,
|
||||||
Cut = 0x00002000,
|
Cut = 0x00002000,
|
||||||
@@ -43,10 +42,9 @@ enum class PROT {
|
|||||||
Leaf = 0x00008000,
|
Leaf = 0x00008000,
|
||||||
TestFormat = 0x00010000,
|
TestFormat = 0x00010000,
|
||||||
FrmChanges = 0x00020000,
|
FrmChanges = 0x00020000,
|
||||||
Snapshot = 0x00040000
|
|
||||||
};
|
};
|
||||||
namespace o3tl {
|
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 {
|
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
|
lcl_FrameType( aOut, pFrame ); // then the frame type
|
||||||
switch ( nFunction ) // and the function
|
switch ( nFunction ) // and the function
|
||||||
{
|
{
|
||||||
case PROT::Snapshot: lcl_Flags( aOut, pFrame );
|
|
||||||
break;
|
|
||||||
case PROT::MakeAll: aOut.append("SwFrame::MakeAll");
|
case PROT::MakeAll: aOut.append("SwFrame::MakeAll");
|
||||||
lcl_Start( aOut, aLayer, nAct );
|
lcl_Start( aOut, aLayer, nAct );
|
||||||
if( nAct == DbgAction::Start )
|
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)));
|
aOut.append(static_cast<sal_Int64>(*static_cast<long*>(pParam)));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PROT::Pos: break;
|
|
||||||
case PROT::PrintArea: aOut.append("PROT::PrintArea");
|
case PROT::PrintArea: aOut.append("PROT::PrintArea");
|
||||||
lcl_Start( aOut, aLayer, nAct );
|
lcl_Start( aOut, aLayer, nAct );
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user