diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-06 11:49:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-06 17:35:26 +0200 |
commit | 41c248e066f454355dcceaa233ccf90f2adaee52 (patch) | |
tree | e2924de8d165bea1512353eb16b1a38349a896f6 /sw | |
parent | d7d8c688d7c20ecb49ff5b3577bee3d55b806d3c (diff) |
SvtCommandOptions only supports CMDOPTION_DISABLED
CMDOPTION_NONE is just ignored, so remove this parameter
Change-Id: If9de22a6b0522620a267cbc92b118f79e200d999
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152671
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/envelp/labprt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/labprt.cxx b/sw/source/ui/envelp/labprt.cxx index fb48899d61e4..6b1c78f160ae 100644 --- a/sw/source/ui/envelp/labprt.cxx +++ b/sw/source/ui/envelp/labprt.cxx @@ -46,7 +46,7 @@ SwLabPrtPage::SwLabPrtPage(weld::Container* pPage, weld::DialogController* pCont m_xPrtSetup->connect_clicked(LINK(this, SwLabPrtPage, PrtSetupHdl)); SvtCommandOptions aCmdOpts; - if (aCmdOpts.Lookup(SvtCommandOptions::CMDOPTION_DISABLED, "Print")) + if (aCmdOpts.LookupDisabled("Print")) { m_xPrinterFrame->hide(); } |