summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-25 11:32:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-25 16:02:40 +0000
commit6c82fea56781710f2b4bf13c67ca8b535c8e3c8d (patch)
treebb6d580f217fcb13146dfa9cc1047c0668e669b8 /unotools
parent753a2faaa6ede91b7b3f98dcc32b4c075d7c19f9 (diff)
cppcheck: methods can be const
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/historyoptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx
index b537792c953b..7cc8d4eedefd 100644
--- a/unotools/source/config/historyoptions.cxx
+++ b/unotools/source/config/historyoptions.cxx
@@ -102,7 +102,7 @@ struct IMPL_THistoryItem
sPassword = sNewPassword ;
}
- sal_Bool operator==( const OUString& sSearchedURL )
+ sal_Bool operator==( const OUString& sSearchedURL ) const
{
return( sURL == sSearchedURL );
}