summaryrefslogtreecommitdiff
path: root/sw/inc/viewopt.hxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2009-12-11 11:34:10 +0100
committerThomas Lange [tl] <tl@openoffice.org>2009-12-11 11:34:10 +0100
commit9195c2b45eb5488e939bb88281d45cb45fbe4861 (patch)
tree4e3c94c1a3ea8cdb9dd98b94d45e73afd2fe256e /sw/inc/viewopt.hxx
parentaf1e3ee0d10c10d6f30d8700ddc677a86dbf82c3 (diff)
#i106926# fixed hidden text in view when cancelling print to file
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rwxr-xr-xsw/inc/viewopt.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx
index 2ac47e284b49..8b2e4d5aa6fa 100755
--- a/sw/inc/viewopt.hxx
+++ b/sw/inc/viewopt.hxx
@@ -455,7 +455,8 @@ public:
SwViewOption& operator=( const SwViewOption &rOpt );
// Vergleichsmethoden
BOOL IsEqualFlags ( const SwViewOption &rOpt ) const;
- inline BOOL operator==( const SwViewOption &rOpt ) const;
+ inline BOOL operator == ( const SwViewOption &rOpt ) const;
+ inline BOOL operator != ( const SwViewOption &rOpt ) const { return !(*this == rOpt); }
/*---------------------------------------------------------------------------