Kaydet (Commit) 0d751ad3 authored tarafından Julien Nabet's avatar Julien Nabet

-Werror=unused-variable

Change-Id: I73274d0226999f0f6d8bd681a522ba81d14ebe3e
üst 47c5454e
...@@ -714,7 +714,6 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP ...@@ -714,7 +714,6 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP
if ( !aprop[n].Name.isEmpty() ) if ( !aprop[n].Name.isEmpty() )
{ {
OString aName = OUStringToOString( aprop[n].Name, RTL_TEXTENCODING_ASCII_US ); 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 // pid starts from 2 not from 1 as MS supports pid from 2
OString pid = OUStringToOString( OUString::number(n + 2), RTL_TEXTENCODING_ASCII_US ); OString pid = OUStringToOString( OUString::number(n + 2), RTL_TEXTENCODING_ASCII_US );
pAppProps->startElement( XML_property , pAppProps->startElement( XML_property ,
...@@ -753,7 +752,6 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP ...@@ -753,7 +752,6 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP
util::DateTime aDateTime; util::DateTime aDateTime;
if ( ( aprop[n].Value ) >>= aDate ) if ( ( aprop[n].Value ) >>= aDate )
{ {
Time aTime( Time::EMPTY );
aDateTime = util::DateTime( 0, 0 , 0, 0, aDate.Year, aDate.Month, aDate.Day, true ); aDateTime = util::DateTime( 0, 0 , 0, 0, aDate.Year, aDate.Month, aDate.Day, true );
writeElement( pAppProps, FSNS( XML_vt, XML_filetime ), aDateTime); writeElement( pAppProps, FSNS( XML_vt, XML_filetime ), aDateTime);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment