summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-31 11:10:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-31 11:13:08 +0000
commit0957067842dedb33dd6bff20f2d8df28242f692b (patch)
tree537e45a04f214e20bbcf778e4c0f2a055829ebde /xmloff
parente13627acb1e7b60e56110cf9a471bf1ddf141607 (diff)
WaE: various new gcc 4.6.0 warnings
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLSectionExport.cxx2
-rw-r--r--xmloff/source/text/XMLTextListBlockContext.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLSectionExport.cxx b/xmloff/source/text/XMLSectionExport.cxx
index 48cae4f452a0..ffd869c85724 100644
--- a/xmloff/source/text/XMLSectionExport.cxx
+++ b/xmloff/source/text/XMLSectionExport.cxx
@@ -1241,7 +1241,6 @@ void XMLSectionExport::ExportIndexTemplateElement(
// tab position
sal_Bool bRightAligned = sal_False;
- sal_Bool bRightAlignedOK = sal_False;
// tab position
sal_Int32 nTabPosition = 0;
@@ -1315,7 +1314,6 @@ void XMLSectionExport::ExportIndexTemplateElement(
case TOK_TPARAM_TAB_RIGHT_ALIGNED:
bRightAligned =
*(sal_Bool *)rValues[i].Value.getValue();
- bRightAlignedOK = sal_True;
break;
case TOK_TPARAM_TAB_POSITION:
diff --git a/xmloff/source/text/XMLTextListBlockContext.cxx b/xmloff/source/text/XMLTextListBlockContext.cxx
index 2e6c2eca70c2..e3140a5e5d35 100644
--- a/xmloff/source/text/XMLTextListBlockContext.cxx
+++ b/xmloff/source/text/XMLTextListBlockContext.cxx
@@ -86,7 +86,6 @@ XMLTextListBlockContext::XMLTextListBlockContext(
// Inherit style name from parent list, as well as the flags whether
// numbering must be restarted and formats have to be created.
OUString sParentListStyleName;
- sal_Bool bParentRestartNumbering( sal_False );
if( mxParentListBlock.Is() )
{
XMLTextListBlockContext *pParent =
@@ -97,7 +96,6 @@ XMLTextListBlockContext::XMLTextListBlockContext(
mnLevel = pParent->GetLevel() + 1;
mbRestartNumbering = pParent->IsRestartNumbering() ||
bRestartNumberingAtSubList;
- bParentRestartNumbering = pParent->IsRestartNumbering();
mbSetDefaults = pParent->mbSetDefaults;
msListId = pParent->GetListId();
msContinueListId = pParent->GetContinueListId();