diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-15 09:44:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-15 09:44:10 +0000 |
commit | 7239bb5a657fe5a5aa065256762ad254f2f6a715 (patch) | |
tree | 89619240bbd047f0fced4dff7969d67bda4092b7 /formula/source | |
parent | 3fa80c6b72ec968f055988986d8cb9edd5dbef6a (diff) |
Remove more unused hiconstrast args
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/ui/dlg/formdlgs.hrc | 2 | ||||
-rw-r--r-- | formula/source/ui/dlg/formdlgs.src | 10 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.cxx | 8 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.hxx | 3 |
4 files changed, 3 insertions, 20 deletions
diff --git a/formula/source/ui/dlg/formdlgs.hrc b/formula/source/ui/dlg/formdlgs.hrc index b387ab5a1d91..4f76ba9681e1 100644 --- a/formula/source/ui/dlg/formdlgs.hrc +++ b/formula/source/ui/dlg/formdlgs.hrc @@ -68,8 +68,6 @@ #define BMP_STR_OPEN 2 #define BMP_STR_END 3 #define BMP_STR_ERROR 4 -#define BMP_STR_END_H 13 -#define BMP_STR_ERROR_H 14 // Texte #define STR_STRUCT_ERR1 1 diff --git a/formula/source/ui/dlg/formdlgs.src b/formula/source/ui/dlg/formdlgs.src index 3fd7c3498c1a..fde1a7d44ca7 100644 --- a/formula/source/ui/dlg/formdlgs.src +++ b/formula/source/ui/dlg/formdlgs.src @@ -121,21 +121,11 @@ TabPage RID_FORMULATAB_STRUCT ImageBitmap = Bitmap { File = "fapok.bmp"; }; MaskColor = STD_MASKCOLOR; }; - Image BMP_STR_END_H - { - ImageBitmap = Bitmap { File = "fapok_h.bmp"; }; - MaskColor = STD_MASKCOLOR; - }; Image BMP_STR_ERROR { ImageBitmap = Bitmap { File = "faperror.bmp"; }; MaskColor = STD_MASKCOLOR; }; - Image BMP_STR_ERROR_H - { - ImageBitmap = Bitmap { File = "faperror_h.bmp"; }; - MaskColor = STD_MASKCOLOR; - }; String STR_STRUCT_ERR1 { Text [ en-US ] = "=?" ; diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx index b71d25453921..537b0ec6b720 100644 --- a/formula/source/ui/dlg/structpg.cxx +++ b/formula/source/ui/dlg/structpg.cxx @@ -61,7 +61,7 @@ StructListBox::StructListBox(Window* pParent, const ResId& rResId ): SvLBoxEntry* StructListBox::InsertStaticEntry( const XubString& rText, - const Image& rEntryImg, const Image& rEntryImgHC, + const Image& rEntryImg, SvLBoxEntry* pParent, ULONG nPos, IFormulaToken* pToken ) { SvLBoxEntry* pEntry = InsertEntry( rText, rEntryImg, rEntryImg, pParent, FALSE, nPos, pToken ); @@ -105,8 +105,6 @@ StructPage::StructPage(Window* pParent): aTlbStruct ( this, ModuleRes( TLB_STRUCT ) ), maImgEnd ( ModuleRes( BMP_STR_END ) ), maImgError ( ModuleRes( BMP_STR_ERROR ) ), - maImgEndHC ( ModuleRes( BMP_STR_END_H ) ), - maImgErrorHC ( ModuleRes( BMP_STR_ERROR_H ) ), pSelectedToken ( NULL ) { aTlbStruct.SetWindowBits(WB_HASLINES|WB_CLIPCHILDREN| @@ -139,10 +137,10 @@ SvLBoxEntry* StructPage::InsertEntry( const XubString& rText, SvLBoxEntry* pPare pEntry = aTlbStruct.InsertEntry( rText, pParent, FALSE, nPos, pIFormulaToken ); break; case STRUCT_END: - pEntry = aTlbStruct.InsertStaticEntry( rText, maImgEnd, maImgEndHC, pParent, nPos, pIFormulaToken ); + pEntry = aTlbStruct.InsertStaticEntry( rText, maImgEnd, pParent, nPos, pIFormulaToken ); break; case STRUCT_ERROR: - pEntry = aTlbStruct.InsertStaticEntry( rText, maImgError, maImgErrorHC, pParent, nPos, pIFormulaToken ); + pEntry = aTlbStruct.InsertStaticEntry( rText, maImgError, pParent, nPos, pIFormulaToken ); break; } diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index 98a0be4b84cc..6146e2bca535 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -63,7 +63,6 @@ public: SvLBoxEntry* InsertStaticEntry( const XubString& rText, const Image& rEntryImg, - const Image& rEntryImgHC, SvLBoxEntry* pParent = NULL, ULONG nPos = LIST_APPEND, IFormulaToken* pToken = NULL ); @@ -87,8 +86,6 @@ private: StructListBox aTlbStruct; Image maImgEnd; Image maImgError; - Image maImgEndHC; - Image maImgErrorHC; IFormulaToken* pSelectedToken; |