summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-02-22 15:23:01 +0100
committerThomas Lange [tl] <tl@openoffice.org>2010-02-22 15:23:01 +0100
commit97d964702b7d8a9814a52b974505603ffba2e6c6 (patch)
treec55fd0e404e7921ce9eddaf0a23ec98f72c8f025 /svx
parent8aa1053a0e36f88d31dba77e846650bff26b8109 (diff)
cws tl74: warning free code
Diffstat (limited to 'svx')
-rwxr-xr-xsvx/source/dialog/thesdlg.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/dialog/thesdlg.cxx b/svx/source/dialog/thesdlg.cxx
index 87272d3ae89b..c99dfc506195 100755
--- a/svx/source/dialog/thesdlg.cxx
+++ b/svx/source/dialog/thesdlg.cxx
@@ -159,7 +159,7 @@ void ReplaceEdit_Impl::SetText( const XubString& rStr )
void ReplaceEdit_Impl::SetText( const XubString& rStr, const Selection& rNewSelection )
{
- Edit::SetText( rStr );
+ Edit::SetText( rStr, rNewSelection );
Modify();
}
@@ -228,7 +228,7 @@ SvLBoxEntry * ThesaurusAlternativesCtrl_Impl::AddEntry( sal_Int32 nVal, const St
AlternativesUserData_Impl* pUserData = new AlternativesUserData_Impl( rText, bIsHeader );
pEntry->SetUserData( pUserData );
- USHORT nPos = GetModel()->Insert( pEntry );
+ GetModel()->Insert( pEntry );
if (bIsHeader)
GetViewDataEntry( pEntry )->SetSelectable( false );
@@ -516,6 +516,7 @@ IMPL_LINK( SvxThesaurusDialog_Impl, AlternativesDoubleClickHdl_Impl, SvxCheckLis
IMPL_STATIC_LINK( SvxThesaurusDialog_Impl, SelectFirstHdl_Impl, SvxCheckListBox *, pBox )
{
+ (void) pThis;
if (pBox && pBox->GetEntryCount() > 0)
pBox->SelectEntryPos( 0 );
return 0;