Kaydet (Commit) 498e25e1 authored tarafından Noel Grandin's avatar Noel Grandin

fix for CONFIG_MODE constant -> enum conversion

in my commit b35828ba
"convert CONFIG_MODE constants to scoped enum"

Change-Id: Iafb6b1643920eb066a2d50150f408161331f9d04
üst a7530de8
......@@ -532,11 +532,10 @@ void ConfigItem::DisableNotification()
RemoveChangesListener();
}
bool ConfigItem::EnableNotification(const Sequence< OUString >& rNames,
bool bEnableInternalNotification )
bool ConfigItem::EnableNotification(const Sequence< OUString >& rNames,
bool bEnableInternalNotification )
{
OSL_ENSURE(bool(m_nMode & ConfigItemMode::ReleaseTree), "notification in ConfigItemMode::ReleaseTree mode not possible");
OSL_ENSURE(!(m_nMode & ConfigItemMode::ReleaseTree), "notification in ConfigItemMode::ReleaseTree mode not possible");
m_bEnableInternalNotification = bEnableInternalNotification;
Reference<XHierarchicalNameAccess> xHierarchyAccess = GetTree();
Reference<XChangesNotifier> xChgNot(xHierarchyAccess, UNO_QUERY);
......
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