summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx2
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index be60d6502bae..813d04fdde18 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -597,7 +597,7 @@ void AnimationImporter::fixMainSequenceTiming( const ::com::sun::star::uno::Refe
// with node
xE2->nextElement() >>= xEA2;
if( xEA2.is() )
- xE2.query( xEA2->createEnumeration() );
+ xE2.set(xEA2->createEnumeration(), css::uno::UNO_QUERY);
else
xE2.clear();
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index 65804c20701d..587a6003f251 100644
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -498,7 +498,7 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( uno::Refere
{
uno::Reference< text::XTextContent > xParagraph( xParaEnum->nextElement(), uno::UNO_QUERY );
if( xParagraph.is() )
- xEnumAccess.query( xParagraph );
+ xEnumAccess.set(xParagraph, css::uno::UNO_QUERY);
else
xEnumAccess.clear();