summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/drformsh.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-30 16:50:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-31 15:07:00 +0200
commit490e9dbade4f9d69cab4b1ec435944c9b4d2f6c2 (patch)
tree9ee234da59e1ae7528efd45bb53d48d051697071 /sc/source/ui/drawfunc/drformsh.cxx
parente0e12738449063abd9aad34ef78d26183ff11d6a (diff)
disambiguate dual use of toolbar ids
for toolbar title string resource and identifier (for config) Change-Id: I2657c3cbb586a62d8075db7cb43cc064b2030f28 Reviewed-on: https://gerrit.libreoffice.org/38274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/drawfunc/drformsh.cxx')
-rw-r--r--sc/source/ui/drawfunc/drformsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/drformsh.cxx b/sc/source/ui/drawfunc/drformsh.cxx
index 938eb992c14c..4ac230a36941 100644
--- a/sc/source/ui/drawfunc/drformsh.cxx
+++ b/sc/source/ui/drawfunc/drformsh.cxx
@@ -46,7 +46,7 @@ void ScDrawFormShell::InitInterface_Impl()
{
GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT,
SfxVisibilityFlags::Standard | SfxVisibilityFlags::Server,
- RID_OBJECTBAR_FORMAT);
+ ToolbarId::Objectbar_Format);
GetStaticInterface()->RegisterPopupMenu("form");
}