Kaydet (Commit) 61b44da9 authored tarafından Miklos Vajna's avatar Miklos Vajna

gtktiledviewer: unused pFileName

Change-Id: I30cd9d8adffbdf9d7451bca0c09aa56639379486
üst 665657d3
......@@ -50,7 +50,6 @@ GtkWidget* pFindbar;
GtkWidget* pFindbarEntry;
static LibreOfficeKit* pOffice;
static char* pFileName;
static void lcl_registerToolItem(GtkToolItem* pItem, const std::string& rName)
{
......@@ -438,7 +437,6 @@ int main( int argc, char* argv[] )
// Hide the findbar by default.
gtk_widget_hide(pFindbar);
pFileName = argv[2];
int bOpened = lok_docview_open_document( LOK_DOCVIEW(pDocView), argv[2] );
if (!bOpened)
g_error("main: lok_docview_open_document() failed with '%s'", pOffice->pClass->getError(pOffice));
......
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