Kaydet (Commit) 101149d8 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: make test msvc2008 warnings free

Change-Id: Ieccb0e425cb505bec3735539ebdf154529fde330
üst bcfc9fc3
......@@ -39,7 +39,7 @@ namespace apitest {
void XTextContent::testGetAnchor()
{
uno::Reference< text::XTextContent > xTextContent(init(), UNO_QUERY_THROW);
uno::Reference< uno::XInterface > xAnchor = xTextContent->getAnchor();
uno::Reference< uno::XInterface > xAnchor(xTextContent->getAnchor());
CPPUNIT_ASSERT(xAnchor.is());
}
......@@ -58,13 +58,13 @@ void XTextContent::testAttach()
else
xTextContent->attach(xRange);
}
catch (const lang::IllegalArgumentException& e)
catch (const lang::IllegalArgumentException&)
{
bool bAttachSupported = isAttachSupported();
if (bAttachSupported)
CPPUNIT_ASSERT(false);
}
catch (const RuntimeException& e)
catch (const RuntimeException&)
{
bool bAttachSupported = isAttachSupported();
if (bAttachSupported)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment