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
commit8c8478ff36a79e58c29ebdb092ba36ebe5535fbb (patch)
tree7b50de39a4144d5109271ae23828739052638da4 /xmloff
parent97b31c731fe79bb5c9fcd84d31c61a3b0ae76302 (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 e08b04173de6..a17e124fa2ee 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 097789c63cc2..13ffff624258 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(