summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-09-07 19:31:19 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-09-07 19:31:19 +0200
commit0d751ad3e58722dda7a71ca7fdd29a2671134dbf (patch)
tree6f8c87d8cdfa7eb09bf8d1a5a0796cad720f5034 /oox/source
parent47c5454ea67632278d69a1ddfe97d74f5cc4449f (diff)
-Werror=unused-variable
Change-Id: I73274d0226999f0f6d8bd681a522ba81d14ebe3e
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/core/xmlfilterbase.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index cc1ffa926bb7..0f0ac4cbb127 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -714,7 +714,6 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP
if ( !aprop[n].Name.isEmpty() )
{
OString aName = OUStringToOString( aprop[n].Name, RTL_TEXTENCODING_ASCII_US );
- OUString valueTypeName = ( aprop[n].Value ).getValueType().getTypeName();
// pid starts from 2 not from 1 as MS supports pid from 2
OString pid = OUStringToOString( OUString::number(n + 2), RTL_TEXTENCODING_ASCII_US );
pAppProps->startElement( XML_property ,
@@ -753,7 +752,6 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP
util::DateTime aDateTime;
if ( ( aprop[n].Value ) >>= aDate )
{
- Time aTime( Time::EMPTY );
aDateTime = util::DateTime( 0, 0 , 0, 0, aDate.Year, aDate.Month, aDate.Day, true );
writeElement( pAppProps, FSNS( XML_vt, XML_filetime ), aDateTime);
}