New loplugin:externvar: xmlscript
Change-Id: Ie35e22e464ab71c864e3fba130d1e7946a83086a
This commit is contained in:
@@ -29,6 +29,15 @@ const sal_Int16 BORDER_3D = 1;
|
|||||||
const sal_Int16 BORDER_SIMPLE = 2;
|
const sal_Int16 BORDER_SIMPLE = 2;
|
||||||
const sal_Int16 BORDER_SIMPLE_COLOR = 3;
|
const sal_Int16 BORDER_SIMPLE_COLOR = 3;
|
||||||
|
|
||||||
|
struct StringTriple
|
||||||
|
{
|
||||||
|
char const * first;
|
||||||
|
char const * second;
|
||||||
|
char const * third;
|
||||||
|
};
|
||||||
|
|
||||||
|
extern StringTriple const * const g_pEventTranslations;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define XMLSCRIPT_GRAPHOBJ_URLPREFIX "vnd.sun.star.GraphicObject:"
|
#define XMLSCRIPT_GRAPHOBJ_URLPREFIX "vnd.sun.star.GraphicObject:"
|
||||||
|
@@ -1133,14 +1133,6 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible
|
|||||||
readStringAttr( "HelpURL", XMLNS_DIALOGS_PREFIX ":help-url" );
|
readStringAttr( "HelpURL", XMLNS_DIALOGS_PREFIX ":help-url" );
|
||||||
}
|
}
|
||||||
|
|
||||||
struct StringTriple
|
|
||||||
{
|
|
||||||
char const * first;
|
|
||||||
char const * second;
|
|
||||||
char const * third;
|
|
||||||
};
|
|
||||||
extern StringTriple const * const g_pEventTranslations;
|
|
||||||
|
|
||||||
void ElementDescriptor::readEvents()
|
void ElementDescriptor::readEvents()
|
||||||
{
|
{
|
||||||
Reference< script::XScriptEventsSupplier > xSupplier( _xProps, UNO_QUERY );
|
Reference< script::XScriptEventsSupplier > xSupplier( _xProps, UNO_QUERY );
|
||||||
|
@@ -1383,12 +1383,6 @@ bool ImportContext::importImageScaleModeProperty(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct StringTriple
|
|
||||||
{
|
|
||||||
char const * first;
|
|
||||||
char const * second;
|
|
||||||
char const * third;
|
|
||||||
};
|
|
||||||
static StringTriple const s_aEventTranslations[] =
|
static StringTriple const s_aEventTranslations[] =
|
||||||
{
|
{
|
||||||
// from xmloff/source/forms/formevents.cxx
|
// from xmloff/source/forms/formevents.cxx
|
||||||
@@ -1428,7 +1422,7 @@ static StringTriple const s_aEventTranslations[] =
|
|||||||
{ "com.sun.star.awt.XAdjustmentListener", "adjustmentValueChanged", "on-adjustmentvaluechange" },
|
{ "com.sun.star.awt.XAdjustmentListener", "adjustmentValueChanged", "on-adjustmentvaluechange" },
|
||||||
{ nullptr, nullptr, nullptr }
|
{ nullptr, nullptr, nullptr }
|
||||||
};
|
};
|
||||||
extern StringTriple const * const g_pEventTranslations;
|
|
||||||
StringTriple const * const g_pEventTranslations = s_aEventTranslations;
|
StringTriple const * const g_pEventTranslations = s_aEventTranslations;
|
||||||
|
|
||||||
void ImportContext::importEvents(
|
void ImportContext::importEvents(
|
||||||
|
Reference in New Issue
Block a user