summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-22 13:28:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-22 13:33:48 +0200
commitc452fcfb32d9265d8f2ab1cafe8d5765106ca718 (patch)
treeeef6b9fc713ec228adf3b69dcc7670fb5ffefaac /xmloff
parent8e18130bba49082cc1416e1a2631bd5a4cb3cb8f (diff)
-Werror=unused-parameter
Change-Id: I06dc09d57821ac729182764882558fa079b5ed37
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/xmloff/xmlaustp.hxx2
-rw-r--r--xmloff/source/style/impastp4.cxx1
-rw-r--r--xmloff/source/style/impastpl.hxx2
-rw-r--r--xmloff/source/style/xmlaustp.cxx3
4 files changed, 3 insertions, 5 deletions
diff --git a/xmloff/inc/xmloff/xmlaustp.hxx b/xmloff/inc/xmloff/xmlaustp.hxx
index 828ff54d7d3a..595ca457b5d9 100644
--- a/xmloff/inc/xmloff/xmlaustp.hxx
+++ b/xmloff/inc/xmloff/xmlaustp.hxx
@@ -89,7 +89,7 @@ public:
void AddFamily( sal_Int32 nFamily, const ::rtl::OUString& rStrName,
const UniReference< SvXMLExportPropertyMapper >& rMapper,
const ::rtl::OUString& rStrPrefix, sal_Bool bAsFamily = sal_True );
- void SetFamilyPropSetMapper( sal_Int32 nFamily, const ::rtl::OUString& rStrName,
+ void SetFamilyPropSetMapper( sal_Int32 nFamily,
const UniReference< SvXMLExportPropertyMapper >& rMapper );
/// Register a name that must not be used as a generated name.
diff --git a/xmloff/source/style/impastp4.cxx b/xmloff/source/style/impastp4.cxx
index 32cd3f8723e5..389c80b55e20 100644
--- a/xmloff/source/style/impastp4.cxx
+++ b/xmloff/source/style/impastp4.cxx
@@ -106,7 +106,6 @@ void SvXMLAutoStylePoolP_Impl::AddFamily(
void SvXMLAutoStylePoolP_Impl::SetFamilyPropSetMapper(
sal_Int32 nFamily,
- const OUString& /* rStrName */,
const UniReference < SvXMLExportPropertyMapper > & rMapper )
{
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index 75420461e1a6..03b54ee26b07 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -185,7 +185,7 @@ public:
void AddFamily( sal_Int32 nFamily, const ::rtl::OUString& rStrName,
const UniReference < SvXMLExportPropertyMapper > & rMapper,
const ::rtl::OUString& rStrPrefix, sal_Bool bAsFamily = sal_True );
- void SetFamilyPropSetMapper( sal_Int32 nFamily, const ::rtl::OUString& rStrName,
+ void SetFamilyPropSetMapper( sal_Int32 nFamily,
const UniReference < SvXMLExportPropertyMapper > & rMapper );
void RegisterName( sal_Int32 nFamily, const ::rtl::OUString& rName );
void GetRegisteredNames(
diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx
index 5e428abb01ba..469d41a47af5 100644
--- a/xmloff/source/style/xmlaustp.cxx
+++ b/xmloff/source/style/xmlaustp.cxx
@@ -314,10 +314,9 @@ void SvXMLAutoStylePoolP::AddFamily(
void SvXMLAutoStylePoolP::SetFamilyPropSetMapper(
sal_Int32 nFamily,
- const OUString& rStrName,
const UniReference < SvXMLExportPropertyMapper > & rMapper )
{
- pImpl->SetFamilyPropSetMapper( nFamily, rStrName, rMapper );
+ pImpl->SetFamilyPropSetMapper( nFamily, rMapper );
}
void SvXMLAutoStylePoolP::RegisterName( sal_Int32 nFamily,