diff options
author | Pranav Kant <pranavk@libreoffice.org> | 2015-12-17 20:35:23 +0530 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-12-17 15:47:43 +0000 |
commit | b902432b431d01634c1f56e4758ec236a999650d (patch) | |
tree | d2a9d83ba3f3e051efd66d5d4fbde4a1bc92103e /libreofficekit | |
parent | lokdocview: Added some missing comments/annotations (diff) | |
download | core-b902432b431d01634c1f56e4758ec236a999650d.tar.gz core-b902432b431d01634c1f56e4758ec236a999650d.zip |
lokdocview: Use GLib basic types
Change-Id: I07add7b9dcb1dc53d7ed61ff71545489de3be155
Reviewed-on: https://gerrit.libreoffice.org/20778
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index c78d008469fc..7d4e516e31ee 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -2509,14 +2509,14 @@ lok_doc_view_set_zoom (LOKDocView* pDocView, float fZoom) g_object_unref(task); } -SAL_DLLPUBLIC_EXPORT float +SAL_DLLPUBLIC_EXPORT gfloat lok_doc_view_get_zoom (LOKDocView* pDocView) { LOKDocViewPrivate& priv = getPrivate(pDocView); return priv->m_fZoom; } -SAL_DLLPUBLIC_EXPORT int +SAL_DLLPUBLIC_EXPORT gint lok_doc_view_get_parts (LOKDocView* pDocView) { LOKDocViewPrivate& priv = getPrivate(pDocView); @@ -2524,7 +2524,7 @@ lok_doc_view_get_parts (LOKDocView* pDocView) return priv->m_pDocument->pClass->getParts( priv->m_pDocument ); } -SAL_DLLPUBLIC_EXPORT int +SAL_DLLPUBLIC_EXPORT gint lok_doc_view_get_part (LOKDocView* pDocView) { LOKDocViewPrivate& priv = getPrivate(pDocView); @@ -2552,7 +2552,7 @@ lok_doc_view_set_part (LOKDocView* pDocView, int nPart) g_object_unref(task); } -SAL_DLLPUBLIC_EXPORT char* +SAL_DLLPUBLIC_EXPORT gchar* lok_doc_view_get_part_name (LOKDocView* pDocView, int nPart) { LOKDocViewPrivate& priv = getPrivate(pDocView); @@ -2720,14 +2720,14 @@ lok_doc_view_paste (LOKDocView* pDocView, return ret; } -SAL_DLLPUBLIC_EXPORT float +SAL_DLLPUBLIC_EXPORT gfloat lok_doc_view_pixel_to_twip (LOKDocView* pDocView, float fInput) { LOKDocViewPrivate& priv = getPrivate(pDocView); return pixelToTwip(fInput, priv->m_fZoom); } -SAL_DLLPUBLIC_EXPORT float +SAL_DLLPUBLIC_EXPORT gfloat lok_doc_view_twip_to_pixel (LOKDocView* pDocView, float fInput) { LOKDocViewPrivate& priv = getPrivate(pDocView); |