diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-10-14 14:14:22 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-10-15 09:12:53 +0200 |
commit | fc4ac9a331d6a81358ef437a5f8ffa32be15a487 (patch) | |
tree | 0fc342b3196203b683783b47972744efb53523dc /vcl/inc | |
parent | 4bc4472108d67d8a95594ccc55ae07fbc1be56f7 (diff) |
vcl: Drop "value_type" typedefs in PPD classes
Both of them are used only a single time, so
just use the actual type right away.
Change-Id: I32385580fa3a7919896f281ee4f318878b01fc1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174899
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/ppdparser.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/inc/ppdparser.hxx b/vcl/inc/ppdparser.hxx index 12cef79d654b..ef62c8778e2f 100644 --- a/vcl/inc/ppdparser.hxx +++ b/vcl/inc/ppdparser.hxx @@ -67,11 +67,10 @@ class PPDKey friend class CPDManager; typedef std::unordered_map< OUString, PPDValue > hash_type; - typedef std::vector< PPDValue* > value_type; OUString m_aKey; hash_type m_aValues; - value_type m_aOrderedValues; + std::vector<PPDValue*> m_aOrderedValues; const PPDValue* m_pDefaultValue; bool m_bQueryValue; OUString m_aGroup; @@ -120,7 +119,6 @@ class PPDParser friend class PPDCache; typedef std::unordered_map< OUString, std::unique_ptr<PPDKey> > hash_type; - typedef std::vector< PPDKey* > value_type; void insertKey( std::unique_ptr<PPDKey> pKey ); public: @@ -135,7 +133,7 @@ public: }; private: hash_type m_aKeys; - value_type m_aOrderedKeys; + std::vector<PPDKey*> m_aOrderedKeys; ::std::vector< PPDConstraint > m_aConstraints; // the full path of the PPD file |