summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/items/numfmtsh.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 6e7e7f02e54c..5c4b0af7449d 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -389,16 +389,11 @@ void SvxNumberFormatShell::GetOptions( const OUString& rFormat,
if(nFmtKey != NUMBERFORMAT_ENTRY_NOT_FOUND)
{
- if ( nFmtKey != NUMBERFORMAT_ENTRY_NOT_FOUND )
- {
- pFormatter->GetFormatSpecialInfo( nFmtKey,
- rThousand, rNegRed,
- rPrecision, rLeadingZeroes );
+ pFormatter->GetFormatSpecialInfo( nFmtKey,
+ rThousand, rNegRed,
+ rPrecision, rLeadingZeroes );
- CategoryToPos_Impl( pFormatter->GetType( nFmtKey ), rCatLbPos );
- }
- else
- rCatLbPos = CAT_USERDEFINED;
+ CategoryToPos_Impl( pFormatter->GetType( nFmtKey ), rCatLbPos );
}
else
{