23#include <config_features.h>
25#if HAVE_FEATURE_SCRIPTING
27SfxPoolItem* SfxMacroInfoItem::CreateDefault() {
SAL_WARN(
"sfx",
"No SfxMacroInfItem factory available");
return nullptr; }
30SfxMacroInfoItem::SfxMacroInfoItem(
34 OUString _aModuleName,
35 OUString _aMethodName,
39 aLibName(
std::move(_aLibName)),
40 aModuleName(
std::move(_aModuleName)),
41 aMethodName(
std::move(_aMethodName)),
42 aCommentText(
std::move(_aComment))
48bool SfxMacroInfoItem::operator==(
const SfxPoolItem& rCmp)
const
50 const SfxMacroInfoItem rItem =
static_cast<const SfxMacroInfoItem&
>(rCmp);
52 pBasicManager == rItem.pBasicManager &&
53 aLibName == rItem.aLibName &&
54 aModuleName == rItem.aModuleName &&
55 aMethodName == rItem.aMethodName &&
56 aCommentText == rItem.aCommentText;
59SfxMacroInfoItem* SfxMacroInfoItem::Clone(
SfxItemPool *)
const
61 return new SfxMacroInfoItem(*
this);
64OUString SfxMacroInfoItem::GetQualifiedName()
const
66 OUString aMacroName = aLibName +
virtual bool operator==(const SfxPoolItem &) const=0
#define SAL_WARN(area, stream)