Kaydet (Commit) 478ec012 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

This has always only converted the condition of ?: to long

...not the resulting value, and seems unnecessary anyway.

Change-Id: I8c58b180af2bd36f2c3dbcad888c3dd0b9e4c87d
üst 67cab854
...@@ -546,7 +546,7 @@ void UnoControlModel::write( const ::com::sun::star::uno::Reference< ::com::sun: ...@@ -546,7 +546,7 @@ void UnoControlModel::write( const ::com::sun::star::uno::Reference< ::com::sun:
// Save FontProperty always in the old format (due to missing distinction // Save FontProperty always in the old format (due to missing distinction
// between 5.0 and 5.1) // between 5.0 and 5.1)
OutStream->writeLong( (long) ( aProps.find( BASEPROPERTY_FONTDESCRIPTOR ) != aProps.end() ) ? ( nProps + 3 ) : nProps ); OutStream->writeLong( ( aProps.find( BASEPROPERTY_FONTDESCRIPTOR ) != aProps.end() ) ? ( nProps + 3 ) : nProps );
for ( std::set<sal_uInt16>::const_iterator it = aProps.begin(); it != aProps.end(); ++it ) for ( std::set<sal_uInt16>::const_iterator it = aProps.begin(); it != aProps.end(); ++it )
{ {
sal_Int32 nPropDataBeginMark = xMark->createMark(); sal_Int32 nPropDataBeginMark = xMark->createMark();
......
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