diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-29 12:40:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-29 15:08:43 +0200 |
commit | 34180700b2686c97cdce0b52ca9578a41a153035 (patch) | |
tree | 073f3753e4483f30efa3c7c769f23971e6a046d5 /vcl/inc | |
parent | e710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff) |
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/fontmanager.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/generic/glyphcache.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/generic/printerjob.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/graphite_features.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/ilstbox.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/image.h | 2 | ||||
-rw-r--r-- | vcl/inc/impfont.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/sallayout.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtksalmenu.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/unx/wmadaptor.hxx | 5 |
11 files changed, 1 insertions, 28 deletions
diff --git a/vcl/inc/fontmanager.hxx b/vcl/inc/fontmanager.hxx index fd0d13a2096c..9d00e6057469 100644 --- a/vcl/inc/fontmanager.hxx +++ b/vcl/inc/fontmanager.hxx @@ -282,11 +282,6 @@ class VCL_PLUGIN_PUBLIC PrintFontManager // There may be multiple font ids for TrueType collections std::vector<fontID> findFontFileIDs( int nDirID, const OString& rFile ) const; - bool knownFontFile( int nDirID, const OString& rFile ) const - { - return findFontFileID(nDirID, rFile, 0) != 0; - } - static FontFamily matchFamilyName( const OUString& rFamily ); PrintFont* getFont( fontID nID ) const diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx index 4db801ec2837..49223ef03784 100644 --- a/vcl/inc/generic/glyphcache.hxx +++ b/vcl/inc/generic/glyphcache.hxx @@ -109,7 +109,6 @@ public: GlyphMetric() : mnAdvanceWidth(0) {} Point GetOffset() const { return maOffset; } - Point GetDelta() const { return maDelta; } Size GetSize() const { return maSize; } long GetCharWidth() const { return mnAdvanceWidth; } diff --git a/vcl/inc/generic/printerjob.hxx b/vcl/inc/generic/printerjob.hxx index 5282a3751771..39dbc7b5760f 100644 --- a/vcl/inc/generic/printerjob.hxx +++ b/vcl/inc/generic/printerjob.hxx @@ -104,7 +104,7 @@ public: * rAppName: text to appear in the %%Creator comment * rSetupData: JobData that apply to this job * pGraphics: the graphics used to print this job; - * this graphics must live until End/AbortJob has returned + * this graphics must live until EndJob() has returned * bIsQuickJob: the job was started as "direct print" meaning * the quick command for spooling should be used instead * of the normal command @@ -119,8 +119,6 @@ public: ); bool EndJob (); - bool AbortJob (); - bool StartPage (const JobData& rJobSetup); bool EndPage (); }; diff --git a/vcl/inc/graphite_features.hxx b/vcl/inc/graphite_features.hxx index 7b9c083e0034..420c8e553f61 100644 --- a/vcl/inc/graphite_features.hxx +++ b/vcl/inc/graphite_features.hxx @@ -48,11 +48,7 @@ namespace grutils GrFeatureParser(const gr_face * face, const OString& features, const OString& lang); GrFeatureParser(const gr_face * face, const OString& lang); ~GrFeatureParser(); - //size_t getFontFeatures(gr::FeatureSetting settings[MAX_FEATURES]) const; - bool parseErrors() { return mbErrors; }; - //static bool isValid(gr::Font & font, gr::FeatureSetting & setting); gr_uint32 getLanguage() const { return maLang.num; }; - bool hasLanguage() const { return (maLang.label[0] != '\0'); } sal_Int32 hashCode() const { return mnHash; } size_t numFeatures() const { return mnNumSettings; } gr_feature_val * values() const { return mpSettings; }; diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx index db9807f06659..3a8312ded6a9 100644 --- a/vcl/inc/ilstbox.hxx +++ b/vcl/inc/ilstbox.hxx @@ -321,7 +321,6 @@ public: bool IsMultiSelectionEnabled() const { return mbMulti; } void SetMultiSelectionSimpleMode( bool bSimple ) { mbSimpleMode = bSimple; } - bool IsMultiSelectionSimpleMode() const { return mbSimpleMode; } void EnableMouseMoveSelect( bool bMouseMoveSelect ) { mbMouseMoveSelect = bMouseMoveSelect; } bool IsMouseMoveSelect() const { return mbMouseMoveSelect||mbStackMode; } diff --git a/vcl/inc/image.h b/vcl/inc/image.h index bc1426299436..479bb66cd87e 100644 --- a/vcl/inc/image.h +++ b/vcl/inc/image.h @@ -108,8 +108,6 @@ struct ImplImageRefData ImplImageRefData() {} // Um Warning zu umgehen ~ImplImageRefData(); - - bool IsEqual( const ImplImageRefData& rData ); }; // - ImpImageData - diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index 3a02b1d9483a..05f05e3842ec 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -117,11 +117,8 @@ public: long GetLineHeight() const { return mnLineHeight; } long GetSlant() const { return mnSlant; } - bool IsDeviceFont() const { return ((mnMiscFlags & DEVICE_FLAG) != 0); } bool IsScalable() const { return ((mnMiscFlags & SCALABLE_FLAG) != 0); } - bool SupportsLatin() const { return ((mnMiscFlags & LATIN_FLAG) != 0); } bool SupportsCJK() const { return ((mnMiscFlags & CJK_FLAG) != 0); } - bool SupportsCTL() const { return ((mnMiscFlags & CTL_FLAG) != 0); } bool operator==( const ImplFontMetric& ) const; }; diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index 5175e2d7eff5..9a33c12430b2 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -124,7 +124,6 @@ protected: std::ostream &operator <<(std::ostream& s, ImplLayoutArgs &rArgs); // helper functions often used with ImplLayoutArgs -bool IsDiacritic( sal_UCS4 ); int GetVerticalFlags( sal_UCS4 ); // all positions/widths are in font units diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index dcf7f2f1eabb..f465c950adb3 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -353,8 +353,6 @@ public: GdkNativeWindow getForeignParentWindow() const { return m_aForeignParentWindow; } GdkWindow* getForeignTopLevel() const { return m_pForeignTopLevel; } GdkNativeWindow getForeignTopLevelWindow() const { return m_aForeignTopLevelWindow; } - GdkVisibilityState getVisibilityState() const - { return m_nVisibility; } Pixmap getBackgroundPixmap() const { return m_hBackgroundPixmap; } SalX11Screen getXScreenNumber() const { return m_nXScreen; } int GetDisplayScreen() const { return maGeometry.nDisplayScreenNumber; } diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx index e74de22f3de3..7322ef492ab7 100644 --- a/vcl/inc/unx/gtk/gtksalmenu.hxx +++ b/vcl/inc/unx/gtk/gtksalmenu.hxx @@ -75,7 +75,6 @@ public: void SetMenu( Menu* pMenu ) { mpVCLMenu = pMenu; } Menu* GetMenu() { return mpVCLMenu; } - GtkSalMenu* GetParentSalMenu() { return mpParentSalMenu; } void SetMenuModel( GMenuModel* pMenuModel ) { mpMenuModel = pMenuModel; } GMenuModel* GetMenuModel() { return mpMenuModel; } unsigned GetItemCount() { return maItems.size(); } diff --git a/vcl/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx index 7d4000033964..b0fcba922451 100644 --- a/vcl/inc/unx/wmadaptor.hxx +++ b/vcl/inc/unx/wmadaptor.hxx @@ -284,11 +284,6 @@ public: bool supportsSplash() const { return m_aWMAtoms[ NET_WM_WINDOW_TYPE_SPLASH ] != 0; } /* - * tells whteher there is WM support for NET_WM_WINDOW_TYPE_TOOLBAR - */ - bool supportsToolbar() const { return m_aWMAtoms[ NET_WM_WINDOW_TYPE_TOOLBAR ] != 0; } - - /* * enables always on top or equivalent if possible */ virtual void enableAlwaysOnTop( X11SalFrame* pFrame, bool bEnable ) const; |