vcl/unx/generic/printer/cpdmgr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a47ee4efce589f2b6d8178d2a70d2440ef10e0f7 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri Jan 10 17:27:25 2025 +0100 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Fri Jan 10 20:45:29 2025 +0100 cpdb: Print name of the key that was actually set Print key of the `key` local variable, which is the one used in the iteration and which gets passed in the PPDContext::setValue call above, instead of using `pKey` that was assigned further above but is generally unrelated here. Change-Id: Ifdb86b5848dc2d7f0027a3960f43914ea143c018 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180082 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/vcl/unx/generic/printer/cpdmgr.cxx b/vcl/unx/generic/printer/cpdmgr.cxx index 8b7c145344c6..99fc1eb277d5 100644 --- a/vcl/unx/generic/printer/cpdmgr.cxx +++ b/vcl/unx/generic/printer/cpdmgr.cxx @@ -435,11 +435,11 @@ const PPDParser* CPDManager::createCPDParser(const OUString& rPrinter) { rContext.setValue(key, p1Value, true); SAL_INFO("vcl.unx.print", - "key " << pKey->getKey() << " is set to " << *defit); + "key " << key->getKey() << " is set to " << *defit); } else SAL_INFO("vcl.unx.print", - "key " << pKey->getKey() << " is defaulted to " << *defit); + "key " << key->getKey() << " is defaulted to " << *defit); } ++defit; }