summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-21 14:41:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-08-26 04:30:03 -0500
commit37b9ea92ba81d74764a2345a9c75c65bfd272d2b (patch)
tree114a35309769e5bf7097737a9e8a5ff6e723e856 /basctl
parent34827767b1551f7a61bcd53947255ad2d2a9e5da (diff)
convert SBX flag bits to type-safe enum
Change-Id: I18d5d6a27f06ee60a5cb3dc393bf05b51bba4817 Reviewed-on: https://gerrit.libreoffice.org/11070 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basobj2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx
index f2edd2b10166..eee39ba9b08e 100644
--- a/basctl/source/basicide/basobj2.cxx
+++ b/basctl/source/basicide/basobj2.cxx
@@ -228,7 +228,7 @@ namespace
// take ownership of the data
boost::scoped_ptr< MacroExecutionData > pData( i_pData );
- SAL_WARN_IF( !(pData->xMethod->GetParent()->GetFlags() & SBX_EXTSEARCH), "basctl.basicide","No EXTSEARCH!" );
+ SAL_WARN_IF( (pData->xMethod->GetParent()->GetFlags() & SBX_EXTSEARCH) == SBX_NONE, "basctl.basicide","No EXTSEARCH!" );
// in case this is a document-local macro, try to protect the document's Undo Manager from
// flawed scripts