summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-04-19 13:17:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-19 19:18:51 +0200
commite2c7a6bd572644b928704f6cb3696b568ac0aba1 (patch)
treeb9f64cf65d77edf2798b03de60d47602ebe95b15 /vcl/inc
parentfcf776a09a2c5cd692480c8ec4a678e3d04739c9 (diff)
loplugin::unusedmethods
Change-Id: I6a07860edb13588b83345babeb53675aedc43f7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150607 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/pdf/pdfwriter_impl.hxx2
-rw-r--r--vcl/inc/unx/saldisp.hxx7
-rw-r--r--vcl/inc/unx/salgdi.h11
3 files changed, 0 insertions, 20 deletions
diff --git a/vcl/inc/pdf/pdfwriter_impl.hxx b/vcl/inc/pdf/pdfwriter_impl.hxx
index aadb6b204d22..87a5d1387755 100644
--- a/vcl/inc/pdf/pdfwriter_impl.hxx
+++ b/vcl/inc/pdf/pdfwriter_impl.hxx
@@ -1018,8 +1018,6 @@ i12626
bool finalizeSignature();
// writes xref and trailer
bool emitTrailer();
- // emit additional streams collected; also create there object numbers
- bool emitAdditionalStreams();
// emits info dict (if applicable)
sal_Int32 emitInfoDict( );
diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx
index 55ebb7046ff3..08f52f996a93 100644
--- a/vcl/inc/unx/saldisp.hxx
+++ b/vcl/inc/unx/saldisp.hxx
@@ -142,10 +142,8 @@ public:
const SalDisplay* GetDisplay() const { return m_pDisplay; }
inline Display* GetXDisplay() const;
const SalVisual& GetVisual() const { return m_aVisual; }
- Visual* GetXVisual() const { return m_aVisual.GetVisual(); }
Pixel GetWhitePixel() const { return m_nWhitePixel; }
Pixel GetBlackPixel() const { return m_nBlackPixel; }
- Pixel GetUsed() const { return m_nUsed; }
bool GetXPixels( XColor &rColor,
int r,
@@ -156,7 +154,6 @@ public:
int g,
int b ) const;
Pixel GetPixel( std::optional<Color> nColor ) const;
- Color GetColor( Pixel nPixel ) const;
};
class SalI18N_InputMethod;
@@ -350,18 +347,14 @@ public:
const Size& GetScreenSize( SalX11Screen nXScreen ) const { return getDataForScreen( nXScreen ).m_aSize; }
srv_vendor_t GetServerVendor() const { return meServerVendor; }
bool IsDisplay() const { return !!pXLib_; }
- GC GetCopyGC( SalX11Screen nXScreen ) const { return getDataForScreen(nXScreen).m_aCopyGC; }
- Pixmap GetInvert50( SalX11Screen nXScreen ) const { return getDataForScreen(nXScreen).m_hInvert50; }
const SalColormap& GetColormap( SalX11Screen nXScreen ) const { return getDataForScreen(nXScreen).m_aColormap; }
const SalVisual& GetVisual( SalX11Screen nXScreen ) const { return getDataForScreen(nXScreen).m_aVisual; }
const Pair &GetResolution() const { return aResolution_; }
- sal_uLong GetMaxRequestSize() const { return nMaxRequestSize_; }
Time GetLastUserEventTime() const { return GetEventTimeImpl(); }
// this is an equivalent of gdk_x11_get_server_time()
Time GetX11ServerTime() const { return GetEventTimeImpl( true ); }
bool XIfEventWithTimeout( XEvent*, XPointer, X_if_predicate ) const;
- SalXLib* GetXLib() const { return pXLib_; }
SalI18N_InputMethod* GetInputMethod() const { return pXLib_->GetInputMethod(); }
SalI18N_KeyboardExtension* GetKbdExtension() const { return mpKbdExtension; }
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h
index d8fe250f4df6..35b4d98d076d 100644
--- a/vcl/inc/unx/salgdi.h
+++ b/vcl/inc/unx/salgdi.h
@@ -127,15 +127,6 @@ public:
virtual css::uno::Any GetNativeSurfaceHandle(cairo::SurfaceSharedPtr& rSurface, const basegfx::B2ISize& rSize) const override;
#endif // ENABLE_CAIRO_CANVAS
- /* use to handle GraphicsExpose/NoExpose after XCopyArea & friends
- * if pFrame is not NULL, corresponding Paint events are generated
- * and dispatched to pFrame
- *
- * it is imperative to eat up graphics exposes even in case you don't need
- * them because the next one using XCopyArea can depend on them
- */
- void YieldGraphicsExpose();
-
private:
using SalGraphics::GetPixel;
@@ -156,11 +147,9 @@ private:
public:
Drawable GetDrawable() const { return maX11Common.GetDrawable(); }
- const SalColormap& GetColormap() const { return maX11Common.GetColormap(); }
const SalDisplay* GetDisplay() const { return maX11Common.GetDisplay(); }
const SalVisual& GetVisual() const { return maX11Common.GetVisual(); }
Display* GetXDisplay() const { return maX11Common.GetXDisplay(); }
- Pixel GetPixel(Color nColor) const { return maX11Common.GetPixel(nColor); }
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */