summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 12:57:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 13:45:36 +0200
commit3dcf6dfceee58360501396390d78c006351aef47 (patch)
tree6e8cea499ee3a9543a03fd4a5321f5153c76cd65 /vcl
parent3b35bcf25fce566f91d084574650181ea791dff8 (diff)
remove unnecessary use of 'this->'
Change-Id: I5c115389af7d24c18ddaf5fbec8c00f35017a5b4 Reviewed-on: https://gerrit.libreoffice.org/40671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/printergfx.hxx2
-rw-r--r--vcl/source/control/notebookbar.cxx2
-rw-r--r--vcl/source/window/window2.cxx2
-rw-r--r--vcl/unx/generic/print/genprnpsp.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/unx/printergfx.hxx b/vcl/inc/unx/printergfx.hxx
index dd314371578f..33aaa797f8d9 100644
--- a/vcl/inc/unx/printergfx.hxx
+++ b/vcl/inc/unx/printergfx.hxx
@@ -85,7 +85,7 @@ public:
{ return mnBlue; }
bool operator== (const PrinterColor& aColor) const
{
- return aColor.Is() && this->Is()
+ return aColor.Is() && Is()
&& mnRed == aColor.mnRed
&& mnGreen == aColor.mnGreen
&& mnBlue == aColor.mnBlue;
diff --git a/vcl/source/control/notebookbar.cxx b/vcl/source/control/notebookbar.cxx
index 3706c090a703..dc47f66d82b1 100644
--- a/vcl/source/control/notebookbar.cxx
+++ b/vcl/source/control/notebookbar.cxx
@@ -167,7 +167,7 @@ void NotebookBar::DataChanged(const DataChangedEvent& rDCEvt)
void NotebookBar::UpdateBackground()
{
- const StyleSettings& rStyleSettings = this->GetSettings().GetStyleSettings();
+ const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
const BitmapEx aPersona = rStyleSettings.GetPersonaHeader();
if (!aPersona.IsEmpty())
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 18feeba92bb6..6f1282736c5f 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -748,7 +748,7 @@ bool Window::HandleScrollCommand( const CommandEvent& rCmd,
double deltaXInPixels = double(deltaPoint.X());
double deltaYInPixels = double(deltaPoint.Y());
- Size winSize = this->GetOutputSizePixel();
+ Size winSize = GetOutputSizePixel();
if(pHScrl)
{
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx
index df5ea054809a..32f0204fdae6 100644
--- a/vcl/unx/generic/print/genprnpsp.cxx
+++ b/vcl/unx/generic/print/genprnpsp.cxx
@@ -993,7 +993,7 @@ struct PDFNewJobParameters
bool operator!=(const PDFNewJobParameters& rComp) const
{
- return ! this->operator==(rComp);
+ return ! operator==(rComp);
}
};