summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatabaserange.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-27 09:22:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-28 09:31:16 +0000
commit43b4903db3e925c652e25c34362490f8adc9c5ec (patch)
treeaf12777b72d42280467e8cc19b914b2c7f4f3816 /test/source/sheet/xdatabaserange.cxx
parent7d6308dad9f4a079d57719a6e3a9c4cebb47d051 (diff)
teach stylepolice plugin about ref-counted-pointer naming
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'test/source/sheet/xdatabaserange.cxx')
-rw-r--r--test/source/sheet/xdatabaserange.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/test/source/sheet/xdatabaserange.cxx b/test/source/sheet/xdatabaserange.cxx
index 7fb422e7885f..45f59fc9109c 100644
--- a/test/source/sheet/xdatabaserange.cxx
+++ b/test/source/sheet/xdatabaserange.cxx
@@ -68,59 +68,59 @@ void XDatabaseRange::testGetSortDescriptor()
uno::Sequence< beans::PropertyValue > xSortDescr = xDBRange->getSortDescriptor();
for (sal_Int32 i = 0; i < xSortDescr.getLength(); ++i)
{
- beans::PropertyValue xProp = xSortDescr[i];
- //std::cout << "Prop " << i << " Name: " << OUString(xProp.Name) << std::endl;
+ beans::PropertyValue aProp = xSortDescr[i];
+ //std::cout << "Prop " << i << " Name: " << OUString(aProp.Name) << std::endl;
- if (xProp.Name == "IsSortColumns")
+ if (aProp.Name == "IsSortColumns")
{
bool bIsSortColumns = true;
- xProp.Value >>= bIsSortColumns;
+ aProp.Value >>= bIsSortColumns;
CPPUNIT_ASSERT(bIsSortColumns);
}
- else if (xProp.Name == "ContainsHeader")
+ else if (aProp.Name == "ContainsHeader")
{
bool bContainsHeader = true;
- xProp.Value >>= bContainsHeader;
+ aProp.Value >>= bContainsHeader;
CPPUNIT_ASSERT(bContainsHeader);
}
- else if (xProp.Name == "MaxFieldCount")
+ else if (aProp.Name == "MaxFieldCount")
{
sal_Int32 nMaxFieldCount = 0;
- xProp.Value >>= nMaxFieldCount;
+ aProp.Value >>= nMaxFieldCount;
std::cout << "Value: " << nMaxFieldCount << std::endl;
}
- else if (xProp.Name == "SortFields")
+ else if (aProp.Name == "SortFields")
{
}
- else if (xProp.Name == "BindFormatsToContent")
+ else if (aProp.Name == "BindFormatsToContent")
{
bool bBindFormatsToContent = false;
- xProp.Value >>= bBindFormatsToContent;
+ aProp.Value >>= bBindFormatsToContent;
CPPUNIT_ASSERT(bBindFormatsToContent);
}
- else if (xProp.Name == "CopyOutputData")
+ else if (aProp.Name == "CopyOutputData")
{
bool bCopyOutputData = true;
- xProp.Value >>= bCopyOutputData;
+ aProp.Value >>= bCopyOutputData;
CPPUNIT_ASSERT(!bCopyOutputData);
}
- else if (xProp.Name == "OutputPosition")
+ else if (aProp.Name == "OutputPosition")
{
}
- else if (xProp.Name == "IsUserListEnabled")
+ else if (aProp.Name == "IsUserListEnabled")
{
bool bIsUserListEnabled = true;
- xProp.Value >>= bIsUserListEnabled;
+ aProp.Value >>= bIsUserListEnabled;
CPPUNIT_ASSERT(!bIsUserListEnabled);
}
- else if (xProp.Name == "UserListIndex")
+ else if (aProp.Name == "UserListIndex")
{
sal_Int32 nUserListIndex = 1;
- xProp.Value >>= nUserListIndex;
+ aProp.Value >>= nUserListIndex;
CPPUNIT_ASSERT(nUserListIndex == 0);
}
}