summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 14:39:43 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-01 09:22:45 +0200
commit13c1d05570854219bc94149bff646cba831d4cbd (patch)
treef79ea91f547c8dfeb7e190a5aa3234b9a3347f77 /dbaccess
parent9b44940ec94f3fc2f4591ba2aca09c6a029c7799 (diff)
FIx typo in code
It passed "make check" on Linux Change-Id: I055db4ca15e2e8c4c66d5970404c292255c15628 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101778 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 035e805dbfaa..f605e8fb58d4 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -708,7 +708,7 @@ namespace
const OUString aQuote = xMetaData->getIdentifierQuoteString();
const IParseContext& rContext = static_cast<OQueryController&>(_pView->getController()).getParser().getContext();
// * must not contain a filter : have I already shown the correct warning ?
- bool bCritsOnAsterikWarning = false; // ** TMFS **
+ bool bCritsOnAsteriskWarning = false; // ** TMFS **
for (sal_uInt16 i=0 ; i < nMaxCriteria ; i++)
{
@@ -728,14 +728,14 @@ namespace
if ( aFieldName.toChar() == '*' && field->isNoneFunction() )
{
// only show the messagebox the first time
- if (!bCritsOnAsterikWarning)
+ if (!bCritsOnAsteriskWarning)
{
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(_pView->GetFrameWeld(),
VclMessageType::Warning, VclButtonsType::Ok,
DBA_RES(STR_QRY_CRITERIA_ON_ASTERISK)));
xBox->run();
}
- bCritsOnAsterikWarning = true;
+ bCritsOnAsteriskWarning = true;
continue;
}
aWork = quoteTableAlias(bMulti,field->GetAlias(),aQuote);
@@ -872,7 +872,7 @@ namespace
Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData();
OUString aQuote = xMetaData->getIdentifierQuoteString();
// * must not contain filter - have I already shown the warning?
- bool bCritsOnAsterikWarning = false; // ** TMFS **
+ bool bCritsOnAsteriskWarning = false; // ** TMFS **
for (auto const& field : _rFieldList)
{
EOrderDir eOrder = field->GetOrderDir();
@@ -884,14 +884,14 @@ namespace
if(aColumnName.toChar() == '*')
{
// only show the MessageBox the first time
- if (!bCritsOnAsterikWarning)
+ if (!bCritsOnAsteriskWarning)
{
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(_pView->GetFrameWeld(),
VclMessageType::Warning, VclButtonsType::Ok,
DBA_RES(STR_QRY_ORDERBY_ON_ASTERISK)));
xBox->run();
}
- bCritsOnAsterikWarning = true;
+ bCritsOnAsteriskWarning = true;
continue;
}