From 77debb673e61340dfc3ddc63b6d72731c091c210 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 20 Feb 2015 16:21:06 +0100 Subject: Extract LibreOfficeKitEnums.h from LibreOfficeKit.h This massively reduces the rebuild time in case only a new enumeration value is added to one of the enums. Change-Id: I4e58adf36fcd29da1672a5e5091bd3f6744f148d --- libreofficekit/source/gtk/lokdocview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libreofficekit/source/gtk/lokdocview.c') diff --git a/libreofficekit/source/gtk/lokdocview.c b/libreofficekit/source/gtk/lokdocview.c index 132b2d4c8770..31d9430ac331 100644 --- a/libreofficekit/source/gtk/lokdocview.c +++ b/libreofficekit/source/gtk/lokdocview.c @@ -13,7 +13,7 @@ #define LOK_USE_UNSTABLE_API #include - +#include #include #if !GLIB_CHECK_VERSION(2,32,0) @@ -713,9 +713,9 @@ SAL_DLLPUBLIC_EXPORT char* lok_docview_get_part_name( LOKDocView* pDocView, int } SAL_DLLPUBLIC_EXPORT void lok_docview_set_partmode( LOKDocView* pDocView, - LibreOfficeKitPartMode ePartMode ) + int nPartMode ) { - pDocView->pDocument->pClass->setPartMode( pDocView->pDocument, ePartMode ); + pDocView->pDocument->pClass->setPartMode( pDocView->pDocument, nPartMode ); renderDocument(pDocView, NULL); } -- cgit