Kaydet (Commit) 34b3f019 authored tarafından Caolán McNamara's avatar Caolán McNamara

implement loading GtkSeparatorToolItems

Change-Id: I8111b154d8358fd4dd667000ccbdd16be38a6dc5
üst 8a82602d
...@@ -1530,6 +1530,15 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri ...@@ -1530,6 +1530,15 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
return NULL; // no widget to be created return NULL; // no widget to be created
} }
} }
else if (name == "GtkSeparatorToolItem")
{
ToolBox *pToolBox = dynamic_cast<ToolBox*>(pParent);
if (pToolBox)
{
pToolBox->InsertSeparator();
return NULL; // no widget to be created
}
}
else else
{ {
sal_Int32 nDelim = name.indexOf('-'); sal_Int32 nDelim = name.indexOf('-');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment