summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorgt <gt@openoffice.org>2002-07-22 06:50:49 +0000
committergt <gt@openoffice.org>2002-07-22 06:50:49 +0000
commitaa291b12fc758eb128aca191be7f67083a9a543d (patch)
treeda1b2b17c370554f66e17dc5444eaf3ffd2e253f /svx
parente28d9690c3d13ea0cb586eb4308534d30fbe6874 (diff)
#101508# SvLBoxButtonData with default bitmaps
Diffstat (limited to 'svx')
-rw-r--r--svx/source/options/optlingu.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/svx/source/options/optlingu.cxx b/svx/source/options/optlingu.cxx
index a503763bbe20..4c4df3c992ab 100644
--- a/svx/source/options/optlingu.cxx
+++ b/svx/source/options/optlingu.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: optlingu.cxx,v $
*
- * $Revision: 1.37 $
+ * $Revision: 1.38 $
*
- * last change: $Author: rt $ $Date: 2002-01-03 11:19:05 $
+ * last change: $Author: gt $ $Date: 2002-07-22 07:50:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1091,8 +1091,6 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent,
sHyphAuto ( ResId( STR_HYPH_AUTO ) ),
sHyphSpecial ( ResId( STR_HYPH_SPECIAL ) ),
- aChkunBmp ( ResId( BMP_CHKBUT_UNCHECKED ) ),
- aChkchBmp ( ResId( BMP_CHKBUT_CHECKED ) ),
pLinguData ( NULL )
{
pCheckButtonData = NULL;
@@ -1858,11 +1856,7 @@ SvLBoxEntry* SvxLinguTabPage::CreateEntry( String& rTxt, USHORT nCol )
SvLBoxEntry* pEntry = new SvLBoxEntry;
if( !pCheckButtonData )
- {
- pCheckButtonData = new SvLBoxButtonData;
- pCheckButtonData->aBmps[SV_BMP_UNCHECKED] = aChkunBmp;
- pCheckButtonData->aBmps[SV_BMP_CHECKED] = aChkchBmp;
- }
+ pCheckButtonData = new SvLBoxButtonData( &aLinguOptionsCLB );
String sEmpty;
if (CBCOL_FIRST == nCol)