summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-13 20:34:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-13 20:34:54 +0100
commit1f9f8f4f4074ce7ec9d2b0f2f751f5c47ce38634 (patch)
tree49cbfee75b2bbb28716685b803df1e676fdd6ba1 /xmloff
parenta51488cb2400163e20bc4fe5e3028587c29d08d9 (diff)
loplugin: some log, indent and unused variable warnings
fix up some indents, remove some unused OUStrings and add some log areas Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/transform/StyleOASISTContext.cxx3
-rw-r--r--xmloff/source/transform/TransformerBase.cxx2
2 files changed, 0 insertions, 5 deletions
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx
index 6445e91e0414..bc0267dee427 100644
--- a/xmloff/source/transform/StyleOASISTContext.cxx
+++ b/xmloff/source/transform/StyleOASISTContext.cxx
@@ -632,9 +632,6 @@ void XMLPropertiesTContext_Impl::StartElement(
void XMLPropertiesTContext_Impl::Export()
{
- OUString aNewQName( GetTransformer().GetNamespaceMap().GetQNameByKey(
- XML_NAMESPACE_STYLE,
- ::xmloff::token::GetXMLToken( XML_PROPERTIES ) ) );
GetTransformer().GetDocHandler()->startElement( GetExportQName(),
m_xAttrList );
ExportContent();
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 3920d82d0ebd..53323118c6cf 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -841,8 +841,6 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
break;
case XML_ATACTION_DECODE_ID:
{
- OUString aAttrValue;
-
const sal_Int32 nLen = rAttrValue.getLength();
OUStringBuffer aBuffer;