summaryrefslogtreecommitdiff
path: root/xmloff/source/style/styleexp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-09 12:14:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-09 13:52:30 +0200
commit12191a4f30078bb81c39a74a994ba7b2b410adaf (patch)
tree394626ae75e6b77e4159657847f894e4f7c9495b /xmloff/source/style/styleexp.cxx
parent3a9854a92923df8013ca832c48aa9f284bcb1adc (diff)
make loplugin constantparam smarter about string params
Change-Id: Id3df69b38fd35f46735246a6d307a89aa10d4294 Reviewed-on: https://gerrit.libreoffice.org/37426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/styleexp.cxx')
-rw-r--r--xmloff/source/style/styleexp.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx
index 286097a836b4..b0f145aa9707 100644
--- a/xmloff/source/style/styleexp.cxx
+++ b/xmloff/source/style/styleexp.cxx
@@ -57,7 +57,6 @@ using ::com::sun::star::document::XEventsSupplier;
XMLStyleExport::XMLStyleExport(
SvXMLExport& rExp,
- const OUString& rPoolStyleName,
SvXMLAutoStylePoolP *pAutoStyleP ) :
rExport( rExp ),
sIsPhysical( "IsPhysical" ),
@@ -65,7 +64,6 @@ XMLStyleExport::XMLStyleExport(
sFollowStyle( "FollowStyle" ),
sNumberingStyleName( "NumberingStyleName" ),
sOutlineLevel( "OutlineLevel" ),
- sPoolStyleName( rPoolStyleName ),
pAutoStylePool( pAutoStyleP )
{
}
@@ -143,8 +141,6 @@ bool XMLStyleExport::exportStyle(
sParent = *pPrefix;
sParent += sParentString;
}
- else
- sParent = sPoolStyleName;
if( !sParent.isEmpty() )
GetExport().AddAttribute( XML_NAMESPACE_STYLE, XML_PARENT_STYLE_NAME,