diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-14 15:41:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-14 15:58:52 +0000 |
commit | ab419e3df3f51991cc35b60144e57233bf7ac678 (patch) | |
tree | ef481376b6d3aa34f41a2a3a9dbbd51464b9f82a /include | |
parent | 85543a2700bcb3100f07851b3173b3f218cadff0 (diff) |
Resolves: coverity#1078567 help coverity out
so it know that its the same rPPDCache in use to
avoid various warnings
Change-Id: I89cb7830f375f1907b2457bd05fd2df5d36c3696
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/ppdparser.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/ppdparser.hxx b/include/vcl/ppdparser.hxx index 344b35cefce5..a4df86d7e868 100644 --- a/include/vcl/ppdparser.hxx +++ b/include/vcl/ppdparser.hxx @@ -34,6 +34,7 @@ namespace psp { +class PPDCache; class PPDParser; class PPDTranslator; @@ -185,7 +186,7 @@ private: OUString handleTranslation(const OString& i_rString, bool i_bIsGlobalized); static void scanPPDDir( const OUString& rDir ); - static void initPPDFiles(); + static void initPPDFiles(PPDCache &rPPDCache); static OUString getPPDFile( const OUString& rFile ); public: static const PPDParser* getParser( const OUString& rFile ); |