From 61b44da9fbf35100ac96896f04dee5b779305d68 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 8 May 2015 09:06:49 +0200 Subject: [PATCH] gtktiledviewer: unused pFileName Change-Id: I30cd9d8adffbdf9d7451bca0c09aa56639379486 --- libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index ac74266528aa..72988d7448dd 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -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));