summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-18 12:56:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 19:28:18 +0000
commit7567a4c230625bbf922c52c861363f1cc4d6a1c7 (patch)
tree4fe8184d18021beb6c194cc899cec568db5c4ae1 /filter
parent17cbea4159c369cc9324a67ab2f1aac9cf416476 (diff)
'>>=' with rhs Any is a copy assignment
replace '>>=' operator with '=' where return value is not checked and simplify. (note: switches lhs with rhs) Change-Id: I0d283e8786ea996ed80d7aa9d8a4ea930a3d52f8 Reviewed-on: https://gerrit.libreoffice.org/30004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/pdf/impdialog.cxx2
-rw-r--r--filter/source/pdf/pdfexport.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 671a9f6ffefa..65657b1bd5b5 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -133,7 +133,7 @@ ImpPDFTabDialog::ImpPDFTabDialog(vcl::Window* pParent, Sequence< PropertyValue >
{
Reference< view::XSelectionSupplier > xView( xController, UNO_QUERY );
if( xView.is() )
- xView->getSelection() >>= maSelection;
+ maSelection = xView->getSelection();
}
}
catch(const RuntimeException &)
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index c36be38c62c9..307d39eff691 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -445,7 +445,7 @@ bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue >&
if ( rFilterData[ nData ].Name == "PageRange" )
rFilterData[ nData ].Value >>= aPageRange;
else if ( rFilterData[ nData ].Name == "Selection" )
- rFilterData[ nData ].Value >>= aSelection;
+ aSelection = rFilterData[ nData ].Value;
else if ( rFilterData[ nData ].Name == "UseLosslessCompression" )
rFilterData[ nData ].Value >>= mbUseLosslessCompression;
else if ( rFilterData[ nData ].Name == "Quality" )