Kaydet (Commit) 05473825 authored tarafından Matúš Kukan's avatar Matúš Kukan

loplugin:unreffun

Change-Id: Ifd544db272652e1e9c45093291ab7f8ae3dd53a0
üst 95bb3305
...@@ -26,16 +26,6 @@ using namespace http_dav_ucp; ...@@ -26,16 +26,6 @@ using namespace http_dav_ucp;
using namespace ::com::sun::star; using namespace ::com::sun::star;
struct UCBDeadPropertyValueParseContext
{
OUString * pType;
OUString * pValue;
UCBDeadPropertyValueParseContext() : pType( 0 ), pValue( 0 ) {}
~UCBDeadPropertyValueParseContext() { delete pType; delete pValue; }
};
// static // static
const OUString UCBDeadPropertyValue::aTypeString const OUString UCBDeadPropertyValue::aTypeString
= OUString( "string" ); = OUString( "string" );
......
...@@ -84,6 +84,7 @@ using namespace vcl_sal; ...@@ -84,6 +84,7 @@ using namespace vcl_sal;
#define SALCOLOR_WHITE MAKE_SALCOLOR( 0xFF, 0xFF, 0xFF ) #define SALCOLOR_WHITE MAKE_SALCOLOR( 0xFF, 0xFF, 0xFF )
#define SALCOLOR_BLACK MAKE_SALCOLOR( 0x00, 0x00, 0x00 ) #define SALCOLOR_BLACK MAKE_SALCOLOR( 0x00, 0x00, 0x00 )
#ifdef DBG_UTIL
inline const char *Null( const char *p ) { return p ? p : ""; } inline const char *Null( const char *p ) { return p ? p : ""; }
inline const char *GetEnv( const char *p ) { return Null( getenv( p ) ); } inline const char *GetEnv( const char *p ) { return Null( getenv( p ) ); }
inline const char *KeyStr( KeySym n ) { return Null( XKeysymToString( n ) ); } inline const char *KeyStr( KeySym n ) { return Null( XKeysymToString( n ) ); }
...@@ -93,6 +94,7 @@ inline const char *GetAtomName( Display *d, Atom a ) ...@@ -93,6 +94,7 @@ inline const char *GetAtomName( Display *d, Atom a )
inline double Hypothenuse( long w, long h ) inline double Hypothenuse( long w, long h )
{ return sqrt( (double)((w*w)+(h*h)) ); } { return sqrt( (double)((w*w)+(h*h)) ); }
#endif
inline int ColorDiff( int r, int g, int b ) inline int ColorDiff( int r, int g, int b )
{ return (r*r)+(g*g)+(b*b); } { return (r*r)+(g*g)+(b*b); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment