diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 18:30:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 18:31:05 +0100 |
commit | 478ec0126ba8b2d89fadcc02b52bfb29c2edb9d8 (patch) | |
tree | 36aae2f83b9174616936ac5388ebb5b7a3ab94e6 /toolkit | |
parent | 67cab8548356109d52317c797649ab31585db5ae (diff) |
This has always only converted the condition of ?: to long
...not the resulting value, and seems unnecessary anyway.
Change-Id: I8c58b180af2bd36f2c3dbcad888c3dd0b9e4c87d
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 79db937fc2a5..0dcc3e0c22e1 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -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 // 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 ) { sal_Int32 nPropDataBeginMark = xMark->createMark(); |