summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-18 21:34:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:52 +0100
commit950028c6e3b20ee686e47fdf990de89377aaf92a (patch)
tree5b38178db6d0b5ddaff87e571c24acb7e35d7fe0 /svtools/source/svhtml
parent4423b09f69a744610faf7aca35649f5bdeb3cf7a (diff)
Some more loplugin:cstylecast: svtools
Change-Id: I8d8b48b297fa3ce0bb9a81dd396cbdb253b84a80
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r--svtools/source/svhtml/htmlkywd.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx
index 4c0fde74217f..4acc586d00ee 100644
--- a/svtools/source/svhtml/htmlkywd.cxx
+++ b/svtools/source/svhtml/htmlkywd.cxx
@@ -208,7 +208,7 @@ int GetHTMLToken( const OUString& rName )
aSrch.pUToken = &rName;
aSrch.nToken = -1;
- pFound = bsearch( (sal_Char *) &aSrch,
+ pFound = bsearch( &aSrch,
(void*) aHTMLTokenTab,
sizeof( aHTMLTokenTab ) / sizeof( HTML_TokenEntry ),
sizeof( HTML_TokenEntry ),
@@ -541,7 +541,7 @@ sal_Unicode GetHTMLCharName( const OUString& rName )
aSrch.pUName = &rName;
aSrch.cChar = USHRT_MAX;
- if( 0 != ( pFound = bsearch( (sal_Char *) &aSrch,
+ if( 0 != ( pFound = bsearch( &aSrch,
(void*) aHTMLCharNameTab,
sizeof( aHTMLCharNameTab) / sizeof( HTML_CharEntry ),
sizeof( HTML_CharEntry ),
@@ -724,7 +724,7 @@ int GetHTMLOption( const OUString& rName )
aSrch.pUToken = &rName;
aSrch.nToken = -1;
- if( 0 != ( pFound = bsearch( (sal_Char *) &aSrch,
+ if( 0 != ( pFound = bsearch( &aSrch,
(void*) aHTMLOptionTab,
sizeof( aHTMLOptionTab ) / sizeof( HTML_TokenEntry ),
sizeof( HTML_TokenEntry ),
@@ -942,7 +942,7 @@ sal_uInt32 GetHTMLColor( const OUString& rName )
aSrch.pUName = &aLowerCase;
aSrch.nColor = HTML_NO_COLOR;
- if( 0 != ( pFound = bsearch( (sal_Char *) &aSrch,
+ if( 0 != ( pFound = bsearch( &aSrch,
(void*) aHTMLColorNameTab,
sizeof( aHTMLColorNameTab) / sizeof( HTML_ColorEntry ),
sizeof( HTML_ColorEntry ),