summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/linectrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/linectrl.cxx')
-rw-r--r--svx/source/tbxctrls/linectrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index 3e7316647d66..d736132f1ced 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -392,9 +392,9 @@ void SvxLineEndWindow::FillValueSet()
OSL_ENSURE( !aBmp.IsEmpty(), "UI bitmap was not created" );
pVD->DrawBitmap( aPt0, aBmp );
- aLineEndSet->InsertItem((sal_uInt16)((i+1L)*2L+1L),
+ aLineEndSet->InsertItem((sal_uInt16)((i+1)*2L+1),
Image(pVD->GetBitmap(aPt0, aBmpSize)), pEntry->GetName());
- aLineEndSet->InsertItem((sal_uInt16)((i+2L)*2L),
+ aLineEndSet->InsertItem((sal_uInt16)((i+2)*2L),
Image(pVD->GetBitmap(aPt1, aBmpSize)), pEntry->GetName());
}
nLines = std::min( (sal_uInt16)(nCount + 1), (sal_uInt16) MAX_LINES );