From 30cdbe09943f2ca6ee5025315596daab6b28998f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 16 Apr 2012 07:58:54 +0100 Subject: [PATCH] hard to tell what side-effects dbtools::StatementComposer::getQuery might have --- connectivity/source/commontools/dbtools.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index ed998185a700..91baa421af80 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -1332,6 +1332,8 @@ Reference< XSingleSelectQueryComposer > getComposedRowSetStatement( const Refere if ( bApplyFilter ) aComposer.setFilter( getString( _rxRowSet->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Filter" )) ) ) ); + aComposer.getQuery(); + xComposer = aComposer.getComposer(); aComposer.setDisposeComposer( false ); }