summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-31 21:22:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-31 21:25:05 +0000
commit355de7dc39478b617109b5a593320b32d6e9092e (patch)
tree872f4b3a82b28ed2280111e560ccc267d499bbef
parent49341212a7137c2427891c2ea7f91b1b2fc855a6 (diff)
WaE: various new gcc 4.6.0 warnings
-rw-r--r--sc/source/ui/miscdlgs/tabbgcolordlg.cxx2
-rw-r--r--sc/source/ui/view/formatsh.cxx3
2 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
index 486ce95ce..f0a15262c 100644
--- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
+++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
@@ -98,8 +98,6 @@ void ScTabBgColorDlg::FillColorValueSets_Impl()
::boost::scoped_ptr<XColorTable> pOwnColorTable; // locally instantiated in case the doc shell doesn't have one.
const Size aSize15x15 = Size( 15, 15 );
- const Size aSize10x10 = Size( 10, 10 );
- const Size aSize5x5 = Size( 5, 5 );
USHORT nSelectedItem = 0;
DBG_ASSERT( pDocSh, "DocShell not found!" );
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 88f08a946..69ff3e7c2 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -1785,7 +1785,6 @@ void ScFormatShell::GetTextAttrState( SfxItemSet& rSet )
const SvxHorJustifyItem* pHorJustify = NULL;
const SvxVerJustifyItem* pVerJustify = NULL;
- SvxCellHorJustify eHorJustify = SVX_HOR_JUSTIFY_STANDARD;
SvxCellVerJustify eVerJustify = SVX_VER_JUSTIFY_STANDARD;
USHORT nWhich = 0;
BOOL bJustifyStd = FALSE;
@@ -1797,8 +1796,6 @@ void ScFormatShell::GetTextAttrState( SfxItemSet& rSet )
{
case SFX_ITEM_SET:
{
- eHorJustify = SvxCellHorJustify( pHorJustify->GetValue() );
-
switch ( SvxCellHorJustify( pHorJustify->GetValue() ) )
{
case SVX_HOR_JUSTIFY_STANDARD: