New loplugin:externvar: sfx2
Change-Id: I166293e7404fb5d638fcd25d8413b33026b326b2
This commit is contained in:
@@ -79,7 +79,7 @@ using namespace ::com::sun::star::beans;
|
|||||||
using namespace ::com::sun::star::io;
|
using namespace ::com::sun::star::io;
|
||||||
|
|
||||||
// needs to be converted to a better data structure
|
// needs to be converted to a better data structure
|
||||||
SfxFormalArgument aFormalArgs[] = {
|
SfxFormalArgument const aFormalArgs[] = {
|
||||||
{ reinterpret_cast<SfxType*>(&aSfxStringItem_Impl), "SuggestedSaveAsName", SID_DEFAULTFILENAME },
|
{ reinterpret_cast<SfxType*>(&aSfxStringItem_Impl), "SuggestedSaveAsName", SID_DEFAULTFILENAME },
|
||||||
{ reinterpret_cast<SfxType*>(&aSfxStringItem_Impl), "SuggestedSaveAsDir", SID_DEFAULTFILEPATH },
|
{ reinterpret_cast<SfxType*>(&aSfxStringItem_Impl), "SuggestedSaveAsDir", SID_DEFAULTFILEPATH },
|
||||||
{ reinterpret_cast<SfxType*>(&aSfxStringItem_Impl), "VersionAuthor", SID_DOCINFO_AUTHOR },
|
{ reinterpret_cast<SfxType*>(&aSfxStringItem_Impl), "VersionAuthor", SID_DOCINFO_AUTHOR },
|
||||||
|
@@ -55,7 +55,7 @@ static GtkWidget *pExitMenuItem = nullptr;
|
|||||||
static GtkWidget *pOpenMenuItem = nullptr;
|
static GtkWidget *pOpenMenuItem = nullptr;
|
||||||
static GtkWidget *pDisableMenuItem = nullptr;
|
static GtkWidget *pDisableMenuItem = nullptr;
|
||||||
#if ENABLE_GIO
|
#if ENABLE_GIO
|
||||||
GFileMonitor* pMonitor = nullptr;
|
static GFileMonitor* pMonitor = nullptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void open_url_cb( GtkWidget *, gpointer data )
|
static void open_url_cb( GtkWidget *, gpointer data )
|
||||||
|
@@ -99,7 +99,7 @@ enum URLTypeId
|
|||||||
URLType_COUNT
|
URLType_COUNT
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* URLTypeNames[URLType_COUNT] =
|
const char* const URLTypeNames[URLType_COUNT] =
|
||||||
{
|
{
|
||||||
"bool",
|
"bool",
|
||||||
"byte",
|
"byte",
|
||||||
|
@@ -66,7 +66,7 @@ using namespace ::com::sun::star::document;
|
|||||||
const char SERVICENAME_CFGREADACCESS[] = "com.sun.star.configuration.ConfigurationAccess";
|
const char SERVICENAME_CFGREADACCESS[] = "com.sun.star.configuration.ConfigurationAccess";
|
||||||
|
|
||||||
// increase size of the text in the buttons on the left fMultiplier-times
|
// increase size of the text in the buttons on the left fMultiplier-times
|
||||||
float fMultiplier = 1.4f;
|
float const fMultiplier = 1.4f;
|
||||||
|
|
||||||
BackingWindow::BackingWindow( vcl::Window* i_pParent ) :
|
BackingWindow::BackingWindow( vcl::Window* i_pParent ) :
|
||||||
Window( i_pParent ),
|
Window( i_pParent ),
|
||||||
|
@@ -251,7 +251,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
SfxDocTemplate_Impl *gpTemplateData = nullptr;
|
static SfxDocTemplate_Impl *gpTemplateData = nullptr;
|
||||||
|
|
||||||
|
|
||||||
static bool getTextProperty_Impl( Content& rContent,
|
static bool getTextProperty_Impl( Content& rContent,
|
||||||
|
@@ -176,7 +176,7 @@ sal_uInt32 Get10ThSec()
|
|||||||
return n10Ticks / CLOCKS_PER_SEC;
|
return n10Ticks / CLOCKS_PER_SEC;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 m_nInReschedule = 0; /// static counter for rescheduling
|
static sal_Int32 m_nInReschedule = 0; /// static counter for rescheduling
|
||||||
|
|
||||||
void reschedule()
|
void reschedule()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user