summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:28:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:28:43 +0100
commit5ff52393f9082c82e8083fbdbb2bd899b443ea15 (patch)
tree3ad251eab83cf45e311074148c144d916eb345e4 /include
parent898a8b00622d219741ec7649dbac560bc1f70f6b (diff)
More loplugin:cstylecast: canvas
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I1054389bc292544a1ba302509175c8718dbec747
Diffstat (limited to 'include')
-rw-r--r--include/canvas/base/bufferedgraphicdevicebase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/canvas/base/bufferedgraphicdevicebase.hxx b/include/canvas/base/bufferedgraphicdevicebase.hxx
index 882bd85db45b..3bd94f7862a8 100644
--- a/include/canvas/base/bufferedgraphicdevicebase.hxx
+++ b/include/canvas/base/bufferedgraphicdevicebase.hxx
@@ -100,7 +100,7 @@ namespace canvas
// XBufferController
virtual ::sal_Int32 SAL_CALL createBuffers( ::sal_Int32 nBuffers ) override
{
- tools::verifyRange( nBuffers, (sal_Int32)1 );
+ tools::verifyRange( nBuffers, sal_Int32(1) );
return 1;
}