From 4c68cf2636573c97e69ae73cb9a0b65019efd26a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 18 Oct 2018 09:48:38 +0200 Subject: convert SdrLayer::nType to bool since it is being used as a bool. Also rename it to something more readable Change-Id: I89acc47251770c94fa321b742b0fb9327024055f Reviewed-on: https://gerrit.libreoffice.org/61909 Reviewed-by: Regina Henschel Tested-by: Jenkins --- include/svx/svdlayer.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svx/svdlayer.hxx') diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx index c3103b263467..e8433a660cf2 100644 --- a/include/svx/svdlayer.hxx +++ b/include/svx/svdlayer.hxx @@ -67,7 +67,7 @@ class SVX_DLLPUBLIC SdrLayer bool mbPrintableODF; // corresponds to ODF draw:display bool mbLockedODF; // corresponds to ODF draw:protected SdrModel* pModel; // For broadcasting - sal_uInt16 nType; // 0= userdefined, 1= default layer + bool mbUserDefinedLayer; SdrLayerID const nID; SdrLayer(SdrLayerID nNewID, const OUString& rNewName); -- cgit