summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 12:56:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 20:34:03 +0000
commit2a794186d83f7b04981813a74ccf277150712a8d (patch)
tree6c95737b756569c44130ea015aeca9f0027be851 /dbaccess/source/ui/browser
parent051070d9643a50799d5dd6c6672aa12b6880af86 (diff)
pointless cast
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index ab8884031861..e095860eaaae 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -1963,7 +1963,7 @@ void SbaXDataBrowserController::ExecuteSearch()
Reference< XInterface > xCurControl(xColControls->getByIndex(nViewCol),UNO_QUERY);
::rtl::OUString aInitialText;
if (IsSearchableControl(xCurControl, &aInitialText))
- sInitialText = (const sal_Unicode*)aInitialText;
+ sInitialText = aInitialText;
// prohibit the synchronization of the grid's display with the cursor's position
Reference< XPropertySet > xModelSet(getControlModel(), UNO_QUERY);
@@ -2518,7 +2518,7 @@ IMPL_LINK(SbaXDataBrowserController, OnSearchContextRequest, FmSearchContext*, p
Reference< XPropertySet > xCurrentColModel(xModelColumns->getByIndex(nModelPos),UNO_QUERY);
::rtl::OUString aName = ::comphelper::getString(xCurrentColModel->getPropertyValue(PROPERTY_CONTROLSOURCE));
- sFieldList += (const sal_Unicode*)aName;
+ sFieldList += aName;
sFieldList += ';';
pContext->arrFields.push_back(xCurrentColumn);