diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-02 16:57:50 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-02 18:43:38 +0200 |
commit | 81a74d404f42c13cf7dc5cc63b366cdb4ffe8282 (patch) | |
tree | 7ed8538a0a0526347123e5fcf7ed9f9a0c853333 /sd | |
parent | 627bee1307730dfe7cd55d3c88d44367ece0acdb (diff) |
WaE: use of logical '||' with constant operand
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/futempl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx index 0f0a796e90e4..8c5c4c67f544 100644 --- a/sd/source/ui/func/futempl.cxx +++ b/sd/source/ui/func/futempl.cxx @@ -203,7 +203,8 @@ void FuTemplate::DoExecute( SfxRequest& rReq ) { // Z.Z. geht immer noch der Dialog auf, um den Namen // der Vorlage einzugeben. - if( mpView->AreObjectsMarked() || sal_True ) + mpView->AreObjectsMarked(); + if( sal_True ) { SfxStyleSheetBase *p = pSSPool->Find(aStyleName, (SfxStyleFamily) nFamily, SFXSTYLEBIT_ALL ); if(p) |