summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-23 16:46:45 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-23 23:39:10 +0100
commit2bc11eb5f42a7ac7e54ce06eb4270998ed293cfd (patch)
tree6b3aeda441bf5ee798849fd2fa50f0fa6842f4d2 /toolkit
parenta9f94e571cb5797413d2d03f709084779fcfc914 (diff)
tk: Constructor feature for DefaultGridColumnModel.
Change-Id: Ia4d20eb2a3c91fbdb1dd85c37b8162c6856d0f28
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/grid/defaultgridcolumnmodel.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
index 5e89ab06682a..271b30d4b9bc 100644
--- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
+++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/awt/grid/XGridColumnModel.hpp>
#include <com/sun/star/awt/grid/XGridColumn.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <comphelper/sequence.hxx>
#include <comphelper/componentguard.hxx>
@@ -38,6 +39,7 @@
using namespace css::awt;
using namespace css::awt::grid;
using namespace css::container;
+using namespace css::lang;
using namespace css::uno;
using namespace toolkit;
@@ -108,7 +110,7 @@ private:
++col
)
{
- Reference< XCloneable > const xCloneable( *col, UNO_QUERY_THROW );
+ Reference< css::util::XCloneable > const xCloneable( *col, UNO_QUERY_THROW );
Reference< XGridColumn > const xClone( xCloneable->createClone(), UNO_QUERY_THROW );
GridColumn* const pGridColumn = GridColumn::getImplementation( xClone );
@@ -390,7 +392,7 @@ private:
}
//------------------------------------------------------------------------------------------------------------------
- Reference< XCloneable > SAL_CALL DefaultGridColumnModel::createClone( ) throw (RuntimeException)
+ Reference< css::util::XCloneable > SAL_CALL DefaultGridColumnModel::createClone( ) throw (RuntimeException)
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return new DefaultGridColumnModel( *this );