diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-03-08 09:42:45 -0300 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-03-08 13:02:22 +0000 |
commit | 596334776ad45f7ab87937615fa1d4e7d2d0fd42 (patch) | |
tree | e194dd2a25a6f2c3c4a3e99dbac6117902ba7498 /codemaker/source/cppumaker/cpputype.cxx | |
parent | 5745d7a08f6a0cb450b662fadb5892f168850fae (diff) |
Remove RTL_CONST* macros from codemaker - pt1
For more easy review, this is the first part of these changes.
More will come :)
Change-Id: Ic6ab0c7baebf0414dbcccb5dcfad434b3b07964c
Reviewed-on: https://gerrit.libreoffice.org/2595
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'codemaker/source/cppumaker/cpputype.cxx')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 6ee5f9e45b0f..1ac9673dfb2d 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -170,8 +170,7 @@ CppuType::~CppuType() void CppuType::addGetCppuTypeIncludes(codemaker::cppumaker::Includes & includes) const { - if (m_typeName.equals("com/sun/star/uno/XInterface") - || m_typeName.equals("com/sun/star/uno/Exception")) + if (m_typeName == "com/sun/star/uno/XInterface" || m_typeName == "com/sun/star/uno/Exception") { includes.addType(); includes.addCppuUnotypeHxx(); @@ -514,10 +513,8 @@ void CppuType::dumpHFileContent( out << "\n"; } dumpDeclaration(out); - if (!(m_typeName.equalsL( - RTL_CONSTASCII_STRINGPARAM("com/sun/star/uno/XInterface")) || - m_typeName.equalsL( - RTL_CONSTASCII_STRINGPARAM("com/sun/star/uno/Exception")) || + if (!(m_typeName == "com/sun/star/uno/XInterface" || + m_typeName == "com/sun/star/uno/Exception" || isPolymorphic())) { out << "\n" << indent() |