summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-25 10:21:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-25 10:27:53 +0000
commit46e7066e0edac4a2d077a7164f819998baa6b204 (patch)
treef5167ba3a60cdb702d3b44a2b08c9b4e79ae819d /xmloff
parent90d4b17a07f3c5fdd5ab5161bf11193e9f016985 (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/PagePropertySetContext.cxx2
-rw-r--r--xmloff/source/xforms/xformsapi.cxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/style/PagePropertySetContext.cxx b/xmloff/source/style/PagePropertySetContext.cxx
index 7221254b04..12893df589 100644
--- a/xmloff/source/style/PagePropertySetContext.cxx
+++ b/xmloff/source/style/PagePropertySetContext.cxx
@@ -99,6 +99,8 @@ SvXMLImportContext *PagePropertySetContext::CreateChildContext(
nFil == mxMapper->getPropertySetMapper()
->GetEntryContextId( rProp.mnIndex-1 ),
"invalid property map!");
+ (void)nPos;
+ (void)nFil;
pContext =
new XMLBackgroundImageContext( GetImport(), nPrefix,
rLocalName, xAttrList,
diff --git a/xmloff/source/xforms/xformsapi.cxx b/xmloff/source/xforms/xformsapi.cxx
index 753d735ddc..d03e89ddbb 100644
--- a/xmloff/source/xforms/xformsapi.cxx
+++ b/xmloff/source/xforms/xformsapi.cxx
@@ -117,6 +117,7 @@ void lcl_addXFormsModel(
// TODO: implement proper error handling
DBG_ASSERT( bSuccess, "can't import model" );
+ (void)bSuccess;
}
Reference<XPropertySet> lcl_findXFormsBindingOrSubmission(