summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-21 08:39:46 +0200
committerNoel Grandin <noel@peralex.com>2014-10-23 12:55:35 +0200
commit035fe8a6aa6489740a7c9f4e1768452319a686d3 (patch)
tree0d0341d222b24cfa59d4b79c9420a9e116cc6a78 /reportdesign
parentbb0039fdca8eff5ca603e333a23c3a7736b32cb2 (diff)
fdo#84938: replace MENUITEM constants with enum
Change-Id: I7b0085af3b13bd6e1a50bf1e0e986d1524b52d7b
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/Navigator.cxx2
-rw-r--r--reportdesign/source/ui/report/ReportSection.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx
index 127e19125cd6..13c9daddf8e2 100644
--- a/reportdesign/source/ui/dlg/Navigator.cxx
+++ b/reportdesign/source/ui/dlg/Navigator.cxx
@@ -306,7 +306,7 @@ void NavigatorTree::Command( const CommandEvent& rEvt )
sal_uInt16 nCount = aContextMenu.GetItemCount();
for (sal_uInt16 i = 0; i < nCount; ++i)
{
- if ( MENUITEM_SEPARATOR != aContextMenu.GetItemType(i))
+ if ( MenuItemType::SEPARATOR != aContextMenu.GetItemType(i))
{
sal_uInt16 nId = aContextMenu.GetItemId(i);
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 5d34c20fed59..7381ef6e78de 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -437,7 +437,7 @@ void lcl_insertMenuItemImages(
const sal_uInt16 nCount = rContextMenu.GetItemCount();
for (sal_uInt16 i = 0; i < nCount; ++i)
{
- if ( MENUITEM_SEPARATOR != rContextMenu.GetItemType(i))
+ if ( MenuItemType::SEPARATOR != rContextMenu.GetItemType(i))
{
const sal_uInt16 nId = rContextMenu.GetItemId(i);
PopupMenu* pPopupMenu = rContextMenu.GetPopupMenu( nId );