summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-22 11:28:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-22 11:39:20 +0100
commit89cd19fdcb5b49c0853c32cd47950c11c0714d20 (patch)
treec8d9ed8214f4b4315d18560aaea0c958af1d2f86 /filter
parent1f933ca18cffd03937c6e2172acfde2b5f27264d (diff)
bool improvements
Change-Id: I65ad52e4dee12a94d48ff0f5858e29df7f8d9721
Diffstat (limited to 'filter')
-rw-r--r--filter/source/pdf/impdialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 54e40ab32aa6..8de8e6b1ff39 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -146,7 +146,7 @@ ImpPDFTabDialog::ImpPDFTabDialog(Window* pParent, Sequence< PropertyValue >& rFi
if ( mbSelectionPresent )
{
Reference< drawing::XShapes > xShapes;
- if ( ( maSelection >>= xShapes ) == sal_False ) // XShapes is always a selection
+ if ( !( maSelection >>= xShapes ) ) // XShapes is always a selection
{
// even if nothing is selected in writer the selection is not empty
Reference< container::XIndexAccess > xIndexAccess;
@@ -582,7 +582,7 @@ void ImpPDFTabGeneralPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent
mpRbJPEGCompression->Check();
mpNfQuality->SetValue( paParent->mnQuality, FUNIT_PERCENT );
- mpQualityFrame->Enable(bUseLosslessCompression == false);
+ mpQualityFrame->Enable(!bUseLosslessCompression);
mpCbReduceImageResolution->SetToggleHdl( LINK( this, ImpPDFTabGeneralPage, ToggleReduceImageResolutionHdl ) );
const sal_Bool bReduceImageResolution = paParent->mbReduceImageResolution;