diff options
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx | 4 | ||||
-rw-r--r-- | libreofficekit/qa/tilebench/tilebench.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx b/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx index 2657075dd3f6..1987bdc909cf 100644 --- a/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx @@ -81,7 +81,7 @@ gtv_calc_header_bar_finalize(GObject* object) G_OBJECT_CLASS (gtv_calc_header_bar_parent_class)->finalize (object); } -void gtv_calc_header_bar_draw_text(cairo_t* pCairo, const GdkRectangle& rRectangle, const std::string& rText) +static void gtv_calc_header_bar_draw_text(cairo_t* pCairo, const GdkRectangle& rRectangle, const std::string& rText) { cairo_text_extents_t extents; cairo_text_extents(pCairo, rText.c_str(), &extents); @@ -90,7 +90,7 @@ void gtv_calc_header_bar_draw_text(cairo_t* pCairo, const GdkRectangle& rRectang cairo_show_text(pCairo, rText.c_str()); } -gboolean gtv_calc_header_bar_draw_impl(GtkWidget* pWidget, cairo_t* pCairo) +static gboolean gtv_calc_header_bar_draw_impl(GtkWidget* pWidget, cairo_t* pCairo) { GtvCalcHeaderBar* self = GTV_CALC_HEADER_BAR(pWidget); GtvCalcHeaderBarPrivate& priv = getPrivate(GTV_CALC_HEADER_BAR(self)); diff --git a/libreofficekit/qa/tilebench/tilebench.cxx b/libreofficekit/qa/tilebench/tilebench.cxx index 4cb76dd1366e..60a856212c5d 100644 --- a/libreofficekit/qa/tilebench/tilebench.cxx +++ b/libreofficekit/qa/tilebench/tilebench.cxx @@ -103,7 +103,7 @@ static void dumpTile(const int nWidth, const int nHeight, const int mode, const } } -void testTile( Document *pDocument, int max_parts, +static void testTile( Document *pDocument, int max_parts, int max_tiles, bool dump ) { const int mode = pDocument->getTileMode(); @@ -219,7 +219,7 @@ void testTile( Document *pDocument, int max_parts, static std::atomic<bool> bDialogRendered(false); static std::atomic<int> nDialogId(-1); -void kitCallback(int nType, const char* pPayload, void* pData) +static void kitCallback(int nType, const char* pPayload, void* pData) { Document *pDocument = static_cast<Document *>(pData); @@ -261,7 +261,7 @@ void kitCallback(int nType, const char* pPayload, void* pData) } } -void testDialog( Document *pDocument, const char *uno_cmd ) +static void testDialog( Document *pDocument, const char *uno_cmd ) { int view = pDocument->createView(); pDocument->setView(view); |