summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit/LibreOfficeKit.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-12-07 09:25:42 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-12-07 09:26:19 +0100
commit958b9a7fbdd58fdce762021917155c58fbb90d18 (patch)
tree169781931b7804f7f69d6809768cc9a7e02643a7 /include/LibreOfficeKit/LibreOfficeKit.hxx
parent8a086a2c08efe2037957b959109e72b8bb3e27b7 (diff)
Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_API
Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.hxx')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
index 2855f8b42fbe..9396f1e39bc7 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
@@ -57,7 +57,7 @@ public:
/// Gives access to the underlying C pointer.
inline LibreOfficeKitDocument *get() { return mpDoc; }
-#ifdef LOK_USE_UNSTABLE_API
+#if defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
/**
* Get document type.
*
@@ -388,7 +388,7 @@ public:
return mpDoc->pClass->renderFont(mpDoc, pFontName, pFontWidth, pFontHeight);
}
-#endif // LOK_USE_UNSTABLE_API
+#endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
};
/// The lok::Office class represents one started LibreOfficeKit instance.
@@ -435,7 +435,7 @@ public:
return mpThis->pClass->getError(mpThis);
}
-#ifdef LOK_USE_UNSTABLE_API
+#if defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
/**
* Returns details of filter types.
*
@@ -454,7 +454,7 @@ public:
{
return mpThis->pClass->getFilterTypes(mpThis);
}
-#endif // LOK_USE_UNSTABLE_API
+#endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY
};
/// Factory method to create a lok::Office instance.