diff options
Diffstat (limited to 'sfx2/source/sidebar/EnumContext.cxx')
-rw-r--r-- | sfx2/source/sidebar/EnumContext.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/sidebar/EnumContext.cxx b/sfx2/source/sidebar/EnumContext.cxx index e27d78fe8e73..e89f5627f7bb 100644 --- a/sfx2/source/sidebar/EnumContext.cxx +++ b/sfx2/source/sidebar/EnumContext.cxx @@ -89,16 +89,16 @@ EnumContext::Application EnumContext::GetApplication_DI (void) const } } -bool EnumContext::operator== (const EnumContext aOther) +bool EnumContext::operator== (const EnumContext& rOther) { - return meApplication==aOther.meApplication - && meContext==aOther.meContext; + return meApplication==rOther.meApplication + && meContext==rOther.meContext; } -bool EnumContext::operator!= (const EnumContext aOther) +bool EnumContext::operator!= (const EnumContext& rOther) { - return meApplication!=aOther.meApplication - || meContext!=aOther.meContext; + return meApplication!=rOther.meApplication + || meContext!=rOther.meContext; } void EnumContext::AddEntry (const ::rtl::OUString& rsName, const Application eApplication) |