String -> OUString
Change-Id: Ibf566a11a383b77a930d46967e496752c88b39e4
This commit is contained in:
@@ -141,7 +141,7 @@ namespace dbaui
|
||||
);
|
||||
|
||||
::connectivity::OSQLParseNode* getPredicateTreeFromEntry( OTableFieldDescRef pEntry,
|
||||
const String& _sCriteria,
|
||||
const OUString& _sCriteria,
|
||||
OUString& _rsErrorMessage,
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _rxColumn) const;
|
||||
|
||||
|
@@ -3072,7 +3072,7 @@ void OQueryDesignView::SaveUIConfig()
|
||||
}
|
||||
// -----------------------------------------------------------------------------
|
||||
OSQLParseNode* OQueryDesignView::getPredicateTreeFromEntry(OTableFieldDescRef pEntry,
|
||||
const String& _sCriteria,
|
||||
const OUString& _sCriteria,
|
||||
OUString& _rsErrorMessage,
|
||||
Reference<XPropertySet>& _rxColumn) const
|
||||
{
|
||||
@@ -3086,7 +3086,6 @@ OSQLParseNode* OQueryDesignView::getPredicateTreeFromEntry(OTableFieldDescRef pE
|
||||
::connectivity::OSQLParser& rParser( static_cast<OQueryController&>(getController()).getParser() );
|
||||
OQueryTableWindow* pWin = static_cast<OQueryTableWindow*>(pEntry->GetTabWindow());
|
||||
|
||||
String sTest(_sCriteria);
|
||||
// special handling for functions
|
||||
if ( pEntry->GetFunctionType() & (FKT_OTHER | FKT_AGGREGATE | FKT_NUMERIC) )
|
||||
{
|
||||
@@ -3157,6 +3156,7 @@ OSQLParseNode* OQueryDesignView::getPredicateTreeFromEntry(OTableFieldDescRef pE
|
||||
}
|
||||
}
|
||||
|
||||
OUString sTest(_sCriteria);
|
||||
OSQLParseNode* pParseNode = rParser.predicateTree( _rsErrorMessage,
|
||||
sTest,
|
||||
static_cast<OQueryController&>(getController()).getNumberFormatter(),
|
||||
|
Reference in New Issue
Block a user