summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-25 14:04:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-27 06:44:50 +0000
commit9870f02b310567c1d50c8e11a49afea5fdc549a0 (patch)
treefea702de7355228bd4b5facfaa99430b658897f1 /vcl/inc/opengl
parent1485074d84f7804a2942d4942d7d194039948d05 (diff)
loplugin:countusersofdefaultparams in tools..xmlsecurity
find methods with default params with only zero or one call site Change-Id: Ie5b30f60e9fe00ba1acf0dfc79b005ded46f05a0 Reviewed-on: https://gerrit.libreoffice.org/27512 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r--vcl/inc/opengl/program.hxx2
-rw-r--r--vcl/inc/opengl/texture.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/opengl/program.hxx b/vcl/inc/opengl/program.hxx
index 82f5c2ca0a97..73cdb7fda6e7 100644
--- a/vcl/inc/opengl/program.hxx
+++ b/vcl/inc/opengl/program.hxx
@@ -70,7 +70,7 @@ public:
GLuint Id() { return mnId; }
bool Load( const OUString& rVertexShader, const OUString& rFragmentShader,
- const rtl::OString& preamble = "", const rtl::OString& rDigest = "" );
+ const rtl::OString& preamble, const rtl::OString& rDigest );
bool Use();
void Reuse();
bool Clean();
diff --git a/vcl/inc/opengl/texture.hxx b/vcl/inc/opengl/texture.hxx
index 95126ff5b7bb..70441190171a 100644
--- a/vcl/inc/opengl/texture.hxx
+++ b/vcl/inc/opengl/texture.hxx
@@ -59,7 +59,7 @@ public:
return mnRefCount == 1;
}
- bool InitializeSlotMechanism(int nInitialSlotSize = 0);
+ bool InitializeSlotMechanism(int nInitialSlotSize);
void SetSlotDeallocateCallback(std::function<void(int)> aCallback)
{