summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-11 17:10:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-11 17:10:38 +0000
commitc115da6cd8a3978f647f8efdaf45fcc2db5fb03c (patch)
tree5837b7a739dea35a013458db4b88c23236ddcc7b /sw
parent53b37916e4d5a656880ed0b4120583143447e2d6 (diff)
follow logically changes in sfx2 and drop BMP_STYLES_FAMILY_NUM_HC
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/docsh.hxx2
-rw-r--r--sw/source/ui/app/app.src1
-rw-r--r--sw/source/ui/app/docst.cxx12
-rw-r--r--sw/source/ui/inc/app.hrc1
4 files changed, 4 insertions, 12 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 4e06b3f25b..7a73e3945d 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -212,7 +212,7 @@ public:
USHORT nIdx2 = INDEX_IGNORE,
USHORT nIdx3 = INDEX_IGNORE);
- virtual Bitmap GetStyleFamilyBitmap( SfxStyleFamily eFamily, BmpColorMode eColorMode );
+ virtual Bitmap GetStyleFamilyBitmap( SfxStyleFamily eFamily );
// View setzen fuer Aktionen ueber Shell
void SetView(SwView* pVw);
diff --git a/sw/source/ui/app/app.src b/sw/source/ui/app/app.src
index acad200e64..cf76bf64b4 100644
--- a/sw/source/ui/app/app.src
+++ b/sw/source/ui/app/app.src
@@ -181,7 +181,6 @@ BITMAP BMP_FEHLT { FILE = "x.bmp" ; };
// Bitmap fuer die NumerierungsVorlagen im Organizer
Bitmap BMP_STYLES_FAMILY_NUM { File = "styfamnu.bmp" ; };
-Bitmap BMP_STYLES_FAMILY_NUM_HC { File = "styfamnu_h.bmp" ; };
String STR_ENV_TITLE
{
diff --git a/sw/source/ui/app/docst.cxx b/sw/source/ui/app/docst.cxx
index 4f0f7c25ff..4ed9abd8dd 100644
--- a/sw/source/ui/app/docst.cxx
+++ b/sw/source/ui/app/docst.cxx
@@ -1261,17 +1261,11 @@ void SwDocShell::FormatPage( const String& rPage, BOOL bColumn, SwWrtShell* pAc
Edit( rPage, aEmptyStr, SFX_STYLE_FAMILY_PAGE, 0, FALSE, bColumn, pActShell);
}
-Bitmap SwDocShell::GetStyleFamilyBitmap( SfxStyleFamily eFamily, BmpColorMode eColorMode )
+Bitmap SwDocShell::GetStyleFamilyBitmap( SfxStyleFamily eFamily )
{
if( SFX_STYLE_FAMILY_PSEUDO == eFamily )
- {
- if ( eColorMode == BMP_COLOR_NORMAL )
- return Bitmap( SW_RES( BMP_STYLES_FAMILY_NUM ));
- else
- return Bitmap( SW_RES( BMP_STYLES_FAMILY_NUM_HC ));
- }
-
- return SfxObjectShell::GetStyleFamilyBitmap( eFamily, eColorMode );
+ return Bitmap( SW_RES( BMP_STYLES_FAMILY_NUM ));
+ return SfxObjectShell::GetStyleFamilyBitmap( eFamily );
}
diff --git a/sw/source/ui/inc/app.hrc b/sw/source/ui/inc/app.hrc
index 04cb0da1bd..30ca41b3f4 100644
--- a/sw/source/ui/inc/app.hrc
+++ b/sw/source/ui/inc/app.hrc
@@ -58,7 +58,6 @@
// Bitmap fuer die NumerierungsVorlagen im Organizer
#define BMP_STYLES_FAMILY_NUM (RC_APP_BEGIN + 17)
-#define BMP_STYLES_FAMILY_NUM_HC (RC_APP_BEGIN + 18)
// Strings fuer Bereiche in der Konfiguration
#define STR_GRP_FILE (RC_APP_BEGIN + 56)