diff options
Diffstat (limited to 'autodoc/source/parser_i')
-rw-r--r-- | autodoc/source/parser_i/idl/pe_const.cxx | 10 | ||||
-rw-r--r-- | autodoc/source/parser_i/idl/pe_enum2.cxx | 8 | ||||
-rw-r--r-- | autodoc/source/parser_i/idl/pe_evalu.cxx | 6 | ||||
-rw-r--r-- | autodoc/source/parser_i/idl/pe_func2.cxx | 2 | ||||
-rw-r--r-- | autodoc/source/parser_i/idl/pe_iface.cxx | 18 | ||||
-rw-r--r-- | autodoc/source/parser_i/idl/pe_tydf2.cxx | 8 | ||||
-rw-r--r-- | autodoc/source/parser_i/idoc/docu_pe2.cxx | 4 | ||||
-rw-r--r-- | autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx | 4 |
8 files changed, 40 insertions, 20 deletions
diff --git a/autodoc/source/parser_i/idl/pe_const.cxx b/autodoc/source/parser_i/idl/pe_const.cxx index 4013f33d02d7..817060e6e0ce 100644 --- a/autodoc/source/parser_i/idl/pe_const.cxx +++ b/autodoc/source/parser_i/idl/pe_const.cxx @@ -26,6 +26,10 @@ * ************************************************************************/ +#include "sal/config.h" + +#include "sal/types.h" + #include <precomp.h> #include <s2_luidl/pe_const.hxx> @@ -160,7 +164,7 @@ PE_Constant::On_expect_curl_bracket_open_Punctuation(const char * i_sText) } void -PE_Constant::On_expect_const_Stereotype(const char *) +PE_Constant::On_expect_const_Stereotype(SAL_UNUSED_PARAMETER const char *) { SetResult( done, push_sure, pPE_Type.Ptr() ); } @@ -180,7 +184,7 @@ PE_Constant::On_expect_const_Punctuation(const char * i_sText) } void -PE_Constant::On_expect_value_Identifier(const char *) +PE_Constant::On_expect_value_Identifier(SAL_UNUSED_PARAMETER const char *) { SetResult( not_done, push_sure, pPE_Value.Ptr() ); } @@ -200,7 +204,7 @@ PE_Constant::On_expect_finish_Punctuation(const char * i_sText) } void -PE_Constant::On_Default(const char * ) +PE_Constant::On_Default(SAL_UNUSED_PARAMETER const char * ) { SetResult(not_done,pop_failure); eState = e_none; diff --git a/autodoc/source/parser_i/idl/pe_enum2.cxx b/autodoc/source/parser_i/idl/pe_enum2.cxx index 68fb46d48a56..ce8a8067ca7c 100644 --- a/autodoc/source/parser_i/idl/pe_enum2.cxx +++ b/autodoc/source/parser_i/idl/pe_enum2.cxx @@ -26,6 +26,10 @@ * ************************************************************************/ +#include "sal/config.h" + +#include "sal/types.h" + #include <precomp.h> #include <s2_luidl/pe_enum2.hxx> @@ -160,7 +164,7 @@ PE_Enum::On_expect_value_Punctuation(const char * i_sText) } void -PE_Enum::On_expect_value_Identifier(const char *) +PE_Enum::On_expect_value_Identifier(SAL_UNUSED_PARAMETER const char *) { SetResult( not_done, push_sure, pPE_Value.Ptr() ); } @@ -180,7 +184,7 @@ PE_Enum::On_expect_finish_Punctuation(const char * i_sText) } void -PE_Enum::On_Default(const char * ) +PE_Enum::On_Default(SAL_UNUSED_PARAMETER const char * ) { SetResult(not_done,pop_failure); eState = e_none; diff --git a/autodoc/source/parser_i/idl/pe_evalu.cxx b/autodoc/source/parser_i/idl/pe_evalu.cxx index 4e1aafabb10b..6ce7c91a1b89 100644 --- a/autodoc/source/parser_i/idl/pe_evalu.cxx +++ b/autodoc/source/parser_i/idl/pe_evalu.cxx @@ -26,6 +26,10 @@ * ************************************************************************/ +#include "sal/config.h" + +#include "sal/types.h" + #include <precomp.h> #include <s2_luidl/pe_evalu.hxx> @@ -151,7 +155,7 @@ PE_Value::On_got_name_Assignment(const char * i_sText) } void -PE_Value::On_Default(const char * ) +PE_Value::On_Default(SAL_UNUSED_PARAMETER const char * ) { SetResult(not_done,pop_failure); } diff --git a/autodoc/source/parser_i/idl/pe_func2.cxx b/autodoc/source/parser_i/idl/pe_func2.cxx index 64a0c6d65736..a091fa72811a 100644 --- a/autodoc/source/parser_i/idl/pe_func2.cxx +++ b/autodoc/source/parser_i/idl/pe_func2.cxx @@ -72,7 +72,7 @@ PE_Function::PE_Function( const RParent & i_rCurInterface ) } PE_Function::PE_Function( const RParent & i_rCurService, - E_Constructor ) + E_Constructor ) : eState(expect_name), sData_Name(), nData_ReturnType(0), diff --git a/autodoc/source/parser_i/idl/pe_iface.cxx b/autodoc/source/parser_i/idl/pe_iface.cxx index 404c303d2c04..7a94938d518f 100644 --- a/autodoc/source/parser_i/idl/pe_iface.cxx +++ b/autodoc/source/parser_i/idl/pe_iface.cxx @@ -187,7 +187,7 @@ PE_Interface::Process_Default() void -PE_Interface::On_need_uik_MetaType(const char *) +PE_Interface::On_need_uik_MetaType(SAL_UNUSED_PARAMETER const char *) { // Deprecated, data will be ignored SetResult(done, stay); @@ -195,7 +195,7 @@ PE_Interface::On_need_uik_MetaType(const char *) } void -PE_Interface::On_uik_Identifier(const char *) +PE_Interface::On_uik_Identifier(SAL_UNUSED_PARAMETER const char *) { // Deprecated, data will be ignored SetResult(done, stay); @@ -213,14 +213,14 @@ PE_Interface::On_uik_Punctuation(const char * i_sText) } void -PE_Interface::On_need_ident_MetaType(const char *) +PE_Interface::On_need_ident_MetaType(SAL_UNUSED_PARAMETER const char *) { SetResult(done, stay); eState = ident; } void -PE_Interface::On_ident_Identifier(const char *) +PE_Interface::On_ident_Identifier(SAL_UNUSED_PARAMETER const char *) { SetResult(done, stay); } @@ -236,7 +236,7 @@ PE_Interface::On_ident_Punctuation(const char * i_sText) } void -PE_Interface::On_need_interface_MetaType(const char *) +PE_Interface::On_need_interface_MetaType(SAL_UNUSED_PARAMETER const char *) { SetResult(done, stay); eState = need_name; @@ -343,21 +343,21 @@ PE_Interface::On_std_Stereotype(const char * i_sText) } void -PE_Interface::On_std_GotoFunction(const char * ) +PE_Interface::On_std_GotoFunction(SAL_UNUSED_PARAMETER const char * ) { SetResult(not_done, push_sure, pPE_Function.Ptr()); eState = in_function; } void -PE_Interface::On_std_GotoAttribute(const char * ) +PE_Interface::On_std_GotoAttribute(SAL_UNUSED_PARAMETER const char * ) { SetResult(not_done, push_sure, pPE_Attribute.Ptr()); eState = in_attribute; } void -PE_Interface::On_std_GotoBaseInterface(const char * ) +PE_Interface::On_std_GotoBaseInterface(SAL_UNUSED_PARAMETER const char * ) { SetResult(done, push_sure, pPE_Type.Ptr()); eState = in_base_interface; @@ -379,7 +379,7 @@ PE_Interface::On_need_finish_Punctuation(const char * i_sText) } void -PE_Interface::On_Default(const char *) +PE_Interface::On_Default(SAL_UNUSED_PARAMETER const char *) { SetResult(not_done, pop_failure); } diff --git a/autodoc/source/parser_i/idl/pe_tydf2.cxx b/autodoc/source/parser_i/idl/pe_tydf2.cxx index 310a8f57327b..0f5d1df0a999 100644 --- a/autodoc/source/parser_i/idl/pe_tydf2.cxx +++ b/autodoc/source/parser_i/idl/pe_tydf2.cxx @@ -26,6 +26,10 @@ * ************************************************************************/ +#include "sal/config.h" + +#include "sal/types.h" + #include <precomp.h> #include <s2_luidl/pe_tydf2.hxx> @@ -120,7 +124,7 @@ PE_Typedef::Process_Default() } void -PE_Typedef::On_expect_description_Any(const char *) +PE_Typedef::On_expect_description_Any(SAL_UNUSED_PARAMETER const char *) { SetResult(not_done,push_sure, pPE_Type.Ptr()); } @@ -146,7 +150,7 @@ PE_Typedef::On_got_name_Punctuation(const char * i_sText) } void -PE_Typedef::On_Default(const char * ) +PE_Typedef::On_Default(SAL_UNUSED_PARAMETER const char * ) { SetResult(not_done,pop_failure); } diff --git a/autodoc/source/parser_i/idoc/docu_pe2.cxx b/autodoc/source/parser_i/idoc/docu_pe2.cxx index ec18bc75bd60..8a7eeb220301 100644 --- a/autodoc/source/parser_i/idoc/docu_pe2.cxx +++ b/autodoc/source/parser_i/idoc/docu_pe2.cxx @@ -229,10 +229,10 @@ SapiDocu_PE::Process_XmlLink_EndTag( const Tok_XmlLink_EndTag & i_rToken ) (this->*fCurTokenAddFunction)(*new DT_Style("</b>",false)); break; case Tok_XmlLink_Tag::member: - (this->*fCurTokenAddFunction)(*new DT_MupMember(true)); + (this->*fCurTokenAddFunction)(*new DT_MupMember); break; case Tok_XmlLink_Tag::type: - (this->*fCurTokenAddFunction)(*new DT_MupType(true)); + (this->*fCurTokenAddFunction)(*new DT_MupType); break; default: // Do nothing. diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx index c39d4f553073..d59ef43e707d 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx @@ -29,6 +29,10 @@ #ifndef ADC_UIDL_PE_FUNC2_HXX #define ADC_UIDL_PE_FUNC2_HXX +#include "sal/config.h" + +#include "sal/types.h" + // USED SERVICES // BASE CLASSES #include <s2_luidl/parsenv2.hxx> |