summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-05 10:17:51 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 10:38:51 +0200
commit2e3717837ffe257f98c854ebde2c7a0ac0ff27fb (patch)
tree70ba9ded9fd1f5053042adab1baeb32391728bb8 /include
parent3dfbf76e587b7ed7ee40ef2b4c4ef4805df22900 (diff)
convert PrinterInfoManager::Type to scoped enum
Change-Id: I3ae15e3ef9505b9857ab1dfa0ecdbf57e3a08150
Diffstat (limited to 'include')
-rw-r--r--include/vcl/printerinfomanager.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx
index 471c3a99a296..77ab8980316a 100644
--- a/include/vcl/printerinfomanager.hxx
+++ b/include/vcl/printerinfomanager.hxx
@@ -61,7 +61,7 @@ struct PrinterInfo : JobData
class VCL_DLLPUBLIC PrinterInfoManager
{
public:
- enum Type { Default = 0, CUPS = 1 };
+ enum class Type { Default = 0, CUPS = 1 };
struct SystemPrintQueue
{
@@ -114,7 +114,7 @@ protected:
bool m_bUseJobPatch;
OUString m_aSystemDefaultPaper;
- PrinterInfoManager( Type eType = Default );
+ PrinterInfoManager( Type eType = Type::Default );
virtual void initialize();