diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-03-24 01:08:09 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-31 22:54:14 +0200 |
commit | c3a2fe6436df01376bd7c3446ed2a0d6865ea1f7 (patch) | |
tree | 5dfd933050bf665442e4b346e610ba7ee66b290c /src/corelib/tools/qstringlist.cpp | |
parent | c36746a829473f063b346e64cc08bfb3d7562e26 (diff) |
QCUPSSupport: Extract Method bannerPageToString() from setBannerPages()
The new function just converts the job-sheets cups option argument,
reducing the number of almost-identical switch statements to one.
Effects on a stripped Linux AMD64 GCC 4.7 -std=c++11 -O2 build:
text: -1008B
data: +-0B
relocs: +-0
Change-Id: I56843fa963e098e5c8ae203584f34bf5798667e6
Reviewed-by: Martin Klapetek <mklapetek@kde.org>
Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'src/corelib/tools/qstringlist.cpp')
0 files changed, 0 insertions, 0 deletions