vcl/inc/ppdparser.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit fc4ac9a331d6a81358ef437a5f8ffa32be15a487 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Mon Oct 14 14:14:22 2024 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Tue Oct 15 09:12:53 2024 +0200 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.wegh...@posteo.de> Tested-by: Jenkins 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