diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-21 17:44:35 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-26 22:02:40 +0200 |
commit | bd4200dc20f6b26f71a358cf219f61d579689f31 (patch) | |
tree | 433e8fb7c65e2fb184a862ca4f981cc0a16af56c /connectivity | |
parent | 162800bbafc27ecc3117f43077811868f08af5d5 (diff) |
cppcheck: delete unneeded variable in connectivity testmoz/main.cxx
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/workben/testmoz/main.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/connectivity/workben/testmoz/main.cxx b/connectivity/workben/testmoz/main.cxx index 86e991e128e1..798bbcaa24ea 100644 --- a/connectivity/workben/testmoz/main.cxx +++ b/connectivity/workben/testmoz/main.cxx @@ -100,7 +100,6 @@ void printColumns( Reference<XResultSet> &xRes ) { if(xRes.is()) { char* aPat = " %-22s "; - char* aPat_Short = " %-12s "; Reference<XResultSetMetaData> xMeta = Reference<XResultSetMetaDataSupplier>(xRes,UNO_QUERY)->getMetaData(); printf( "ColumnCount = %d\n", xMeta->getColumnCount()); for(sal_Int32 i=1;i<=xMeta->getColumnCount();++i) @@ -117,7 +116,6 @@ void printColumns( Reference<XResultSet> &xRes ) void printXResultSet( Reference<XResultSet> &xRes ) { if(xRes.is()) { - char* aPat = " %-22s "; char* aPat_Short = " %-12s "; Reference<XRow> xRow(xRes,UNO_QUERY); Reference<XResultSetMetaData> xMeta = Reference<XResultSetMetaDataSupplier>(xRes,UNO_QUERY)->getMetaData(); |