summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-18 14:15:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-18 14:17:29 +0100
commit101149d80303848971463a22976c52a370c46c05 (patch)
tree7fdcb0063d1cc8b6fd7ca345177478934860f5e3 /test/source
parentbcfc9fc3bb3ebc8c6c88349e1c0c530208949e70 (diff)
WaE: make test msvc2008 warnings free
Change-Id: Ieccb0e425cb505bec3735539ebdf154529fde330
Diffstat (limited to 'test/source')
-rw-r--r--test/source/text/xtextcontent.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/text/xtextcontent.cxx b/test/source/text/xtextcontent.cxx
index 8e84dc2c7b57..86a811f70571 100644
--- a/test/source/text/xtextcontent.cxx
+++ b/test/source/text/xtextcontent.cxx
@@ -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)