summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi/navipi.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-12 14:07:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-12 14:07:14 +0100
commitc6d0dd62f7aa92be723317c8be518136eec26893 (patch)
tree926101cce104660c8d8397923ec69391cc7e9fc4 /sc/source/ui/navipi/navipi.cxx
parentff414feabe5bb5b7504cd02c70fa4e708ca557c0 (diff)
Better use 0 instead of TOOLBOX_ITEM_NOTFOUND for "no ID available"
...return value from ToolBox::GetItemId, as is done in all other places where such is returned from one of the ToolBox::GetItemId overloads. And TOOLBOX_ITEM_NOTFOUND is otherwise only used for item positions, not item IDs. (This lone odd use of TOOLBOX_ITEM_NOTFOUND was introduced with ae5f75ab0515f8ee63813ec9284fbfb2124f0a5d "Allow a common op. on a disposed toolbox", probably by accident.) Change-Id: Id767b1d8d0b3cdfdc0ec525f165d75ae0cef7301
Diffstat (limited to 'sc/source/ui/navipi/navipi.cxx')
0 files changed, 0 insertions, 0 deletions