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

loplugin:unusedfields extensions

Change-Id: I7cee47eca35b02472639cdd267ddd450145803de
üst 6ed47b1d
......@@ -27,7 +27,6 @@ namespace abp
AdminDialogInvokationPage::AdminDialogInvokationPage( OAddessBookSourcePilot* _pParent )
: AddressBookSourcePage(_pParent, "InvokeAdminPage",
"modules/sabpilot/ui/invokeadminpage.ui")
, m_bSuccessfullyExecutedDialog(false)
{
get(m_pInvokeAdminDialog, "settings");
get(m_pErrorMessage, "warning");
......
......@@ -31,8 +31,6 @@ namespace abp
VclPtr<PushButton> m_pInvokeAdminDialog;
VclPtr<FixedText> m_pErrorMessage;
bool m_bSuccessfullyExecutedDialog;
public:
explicit AdminDialogInvokationPage(OAddessBookSourcePilot* _pParent);
virtual ~AdminDialogInvokationPage();
......
......@@ -33,7 +33,6 @@ namespace dbp
StringArray aValues;
OUString sDefaultField;
OUString sDBField;
OUString sName;
};
class OGroupBoxWizard : public OControlWizard
......
......@@ -98,7 +98,6 @@ public:
char* pMimeType;
void* pShell;
void* pWidget;
void* pForm;
GtkWidget* pGtkWindow;
GtkWidget* pGtkWidget;
......
......@@ -197,7 +197,6 @@ ConnectorInstance::ConnectorInstance( NPP inst, char* type,
instance( inst ),
pShell( nullptr ),
pWidget( nullptr ),
pForm( nullptr ),
pGtkWindow( nullptr ),
pGtkWidget( nullptr ),
bShouldUseXEmbed( false ),
......
......@@ -178,12 +178,6 @@ static bool CheckPlugin( const OString& rPath, list< PluginDescription* >& rDesc
return nDescriptions > 0;
}
union maxDirent
{
char aBuffer[ sizeof( struct dirent ) + PATH_MAX +1 ];
struct dirent asDirent;
};
static void CheckPluginRegistryFiles( const OString& rPath, list< PluginDescription* >& rDescriptions )
{
OStringBuffer aPath( 1024 );
......@@ -212,7 +206,7 @@ static void CheckPluginRegistryFiles( const OString& rPath, list< PluginDescript
DIR* pDIR = opendir( rPath.getStr() );
struct dirent* pDirEnt = nullptr;
struct stat aStat;
maxDirent u;
struct dirent u;
while( pDIR && ! readdir_r( pDIR, &u.asDirent, &pDirEnt ) && pDirEnt )
{
char* pBaseName = u.asDirent.d_name;
......@@ -267,7 +261,7 @@ Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() th
OString aSearchPath = aSearchBuffer.makeStringAndClear();
sal_Int32 nIndex = 0;
maxDirent u;
struct dirent u;
do
{
OString aPath(aSearchPath.getToken(0, ':', nIndex));
......
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