summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-07 09:14:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-07 09:14:33 +0200
commite1b30d688105afa28c8d927d78e137b85662a79b (patch)
tree673ac58145066fc5035679959cb817b99edf0315 /xmlhelp/source/cxxhelp/inc
parentbb9d628552d7a91680ef04c08b1f49cee4ada6bf (diff)
-Werror,-Wunused-private-field
Change-Id: I80da554ab15450ff6aa13575784ee8f64ca506db
Diffstat (limited to 'xmlhelp/source/cxxhelp/inc')
-rw-r--r--xmlhelp/source/cxxhelp/inc/excep/XmlSearchExceptions.hxx43
-rw-r--r--xmlhelp/source/cxxhelp/inc/qe/Query.hxx7
2 files changed, 7 insertions, 43 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/excep/XmlSearchExceptions.hxx b/xmlhelp/source/cxxhelp/inc/excep/XmlSearchExceptions.hxx
index fedfae39fffd..c3eea1f0cd3a 100644
--- a/xmlhelp/source/cxxhelp/inc/excep/XmlSearchExceptions.hxx
+++ b/xmlhelp/source/cxxhelp/inc/excep/XmlSearchExceptions.hxx
@@ -28,60 +28,27 @@ namespace xmlsearch {
class XmlSearchException
- {
- public:
- XmlSearchException( const OUString& message )
- : _message( message )
- {
- }
-
- private:
- OUString _message;
- };
+ {};
class IOException
: public virtual XmlSearchException
- {
- public:
- IOException( const OUString& message )
- : XmlSearchException( message )
- {
- }
- };
+ {};
class NoFactoryException
: public virtual XmlSearchException
- {
- public:
- NoFactoryException( const OUString& message )
- : XmlSearchException( message )
- {
- }
- };
+ {};
class NoSuchBlock
: public virtual XmlSearchException
- {
- public:
- NoSuchBlock( const OUString& message )
- : XmlSearchException( message )
- {
- }
- };
+ {};
class IllegalIndexException
: public virtual XmlSearchException
- {
- public:
- IllegalIndexException( const OUString& message )
- : XmlSearchException( message )
- {
- }
- };
+ {};
}
}
diff --git a/xmlhelp/source/cxxhelp/inc/qe/Query.hxx b/xmlhelp/source/cxxhelp/inc/qe/Query.hxx
index 986b568a267a..dab5d383119f 100644
--- a/xmlhelp/source/cxxhelp/inc/qe/Query.hxx
+++ b/xmlhelp/source/cxxhelp/inc/qe/Query.hxx
@@ -52,15 +52,12 @@ namespace xmlsearch {
class QueryHitData
{
public:
- QueryHitData( const OUString& document, OUString* terms )
- : document_( document ),
- terms_( terms ) { }
+ QueryHitData( OUString* terms )
+ : terms_( terms ) { }
~QueryHitData() { delete[] terms_; }
private:
- const OUString document_;
-
OUString* terms_;
}; // end class QueryHitData