diff options
Diffstat (limited to 'cppu/source/uno/sequence.cxx')
-rw-r--r-- | cppu/source/uno/sequence.cxx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/cppu/source/uno/sequence.cxx b/cppu/source/uno/sequence.cxx index e7a6465b12e9..3fbe338cfc00 100644 --- a/cppu/source/uno/sequence.cxx +++ b/cppu/source/uno/sequence.cxx @@ -305,11 +305,8 @@ static inline bool idefaultConstructElements( OSL_ASSERT( nAlloc >= 0 ); // must have been an allocation failure return false; } - else - { - *ppSeq = pSeq; - return true; - } + *ppSeq = pSeq; + return true; } @@ -568,11 +565,8 @@ static inline bool icopyConstructFromElements( { return false; // allocation failure } - else - { - *ppSeq = pSeq; - return true; - } + *ppSeq = pSeq; + return true; } |