summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/dbtree.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-26 23:49:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-27 09:23:46 +0100
commit476c2c340d0ee8bfea3d59ea869975107fe05891 (patch)
tree157f08d239c621b0c924f883073853a94d0eecdb /sw/source/ui/dbui/dbtree.cxx
parent6f976916e2ae5dd83838a7f5de273944eb61e7f2 (diff)
catch by const reference
Diffstat (limited to 'sw/source/ui/dbui/dbtree.cxx')
-rw-r--r--sw/source/ui/dbui/dbtree.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/sw/source/ui/dbui/dbtree.cxx b/sw/source/ui/dbui/dbtree.cxx
index 4af7627b3a6b..ec7294ec1933 100644
--- a/sw/source/ui/dbui/dbtree.cxx
+++ b/sw/source/ui/dbui/dbtree.cxx
@@ -314,8 +314,9 @@ void SwDBTreeList::RequestingChilds(SvLBoxEntry* pParent)
aTable >>= xPropSet;
xColsSupplier = Reference<XColumnsSupplier>(xPropSet, UNO_QUERY);
}
- catch(Exception&)
- {}
+ catch (const Exception&)
+ {
+ }
}
}
else
@@ -332,8 +333,9 @@ void SwDBTreeList::RequestingChilds(SvLBoxEntry* pParent)
aQuery >>= xPropSet;
xColsSupplier = Reference<XColumnsSupplier>(xPropSet, UNO_QUERY);
}
- catch(Exception&)
- {}
+ catch (const Exception&)
+ {
+ }
}
}
@@ -353,7 +355,7 @@ void SwDBTreeList::RequestingChilds(SvLBoxEntry* pParent)
}
}
}
- catch(const Exception&)
+ catch (const Exception&)
{
}
}
@@ -403,7 +405,7 @@ void SwDBTreeList::RequestingChilds(SvLBoxEntry* pParent)
}
}
}
- catch(const Exception&)
+ catch (const Exception&)
{
}
}