summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/cctrl/popmenu.cxx2
-rw-r--r--sc/source/ui/inc/popmenu.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/cctrl/popmenu.cxx b/sc/source/ui/cctrl/popmenu.cxx
index a020d96e0d5c..9d30eb3c495f 100644
--- a/sc/source/ui/cctrl/popmenu.cxx
+++ b/sc/source/ui/cctrl/popmenu.cxx
@@ -24,7 +24,7 @@
void ScPopupMenu::Select()
{
nSel = GetCurItemId();
- bHit = sal_True;
+ bHit = true;
}
diff --git a/sc/source/ui/inc/popmenu.hxx b/sc/source/ui/inc/popmenu.hxx
index 70bfeedb228a..30d4ec41485d 100644
--- a/sc/source/ui/inc/popmenu.hxx
+++ b/sc/source/ui/inc/popmenu.hxx
@@ -27,7 +27,7 @@ class SC_DLLPUBLIC ScPopupMenu : public PopupMenu
{
private:
sal_uInt16 nSel;
- sal_Bool bHit;
+ bool bHit;
protected:
virtual void Select();
public:
@@ -36,7 +36,7 @@ public:
ScPopupMenu(const ResId& rRes) : PopupMenu(rRes),nSel(0),bHit(false) {}
sal_uInt16 GetSelected() const { return nSel; }
- sal_Bool WasHit() const { return bHit; }
+ bool WasHit() const { return bHit; }
};