diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-27 08:21:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-28 09:55:02 +0000 |
commit | 3fd28200f1c1a46970789f21ee6fce3f6f3ac1ec (patch) | |
tree | 18600b1b78ed5ede7f7068a98fe3fe7b6962b311 /tools/bootstrp/cppdep.hxx | |
parent | ByteString::GetToken->comphelper::string::getToken (diff) | |
download | core-3fd28200f1c1a46970789f21ee6fce3f6f3ac1ec.tar.gz core-3fd28200f1c1a46970789f21ee6fce3f6f3ac1ec.zip |
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'tools/bootstrp/cppdep.hxx')
-rw-r--r-- | tools/bootstrp/cppdep.hxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/bootstrp/cppdep.hxx b/tools/bootstrp/cppdep.hxx index ca41dea188ac..d71e38f01855 100644 --- a/tools/bootstrp/cppdep.hxx +++ b/tools/bootstrp/cppdep.hxx @@ -31,19 +31,17 @@ #define PATH_SEP ":" #define DIR_SEP "/" -typedef ::std::vector< ByteString* > ByteStringList; - class CppDep { ByteString aSourceFile; - ByteStringList *pSearchPath; + std::vector<rtl::OString> m_aSearchPath; protected: - ByteStringList *pFileList; - ByteStringList *pSources; + std::vector<rtl::OString> m_aFileList; + std::vector<rtl::OString> m_aSources; sal_Bool Search( ByteString aFileName ); - ByteString Exists( ByteString aFileName ); + rtl::OString Exists( rtl::OString aFileName ); rtl::OString IsIncludeStatement(rtl::OString aLine); public: @@ -51,7 +49,7 @@ public: virtual ~CppDep(); virtual void Execute(); - ByteStringList* GetDepList(){return pFileList;} + std::vector<rtl::OString>& GetDepList() { return m_aFileList; } sal_Bool AddSearchPath( const char* aPath ); sal_Bool AddSource( const char * aSource ); }; |