diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-09-22 14:08:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-09-22 19:39:44 +0200 |
commit | 3805a4090dbbffa54bb1a9d7fe63e723fc6d029b (patch) | |
tree | f60600852ebeb081d2b17d669c82a9ac5487a6e2 /vcl/inc | |
parent | 74410f8a8cb05b6313c5235ba1036ec9ee160899 (diff) |
pass in bDontSwap rather than use a local static
Change-Id: I8758802064476199f34d57e0937ee56cef6e0363
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140429
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/ppdparser.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/ppdparser.hxx b/vcl/inc/ppdparser.hxx index 7999957b7e68..5d4195783a68 100644 --- a/vcl/inc/ppdparser.hxx +++ b/vcl/inc/ppdparser.hxx @@ -201,7 +201,7 @@ public: // returns false if paper not found // match the best paper for width and height - OUString matchPaper( int nWidth, int nHeight ) const; + OUString matchPaper( int nWidth, int nHeight, bool bDontSwap = false ) const; bool getMargins( std::u16string_view rPaperName, int &rLeft, int& rRight, |