Kaydet (Commit) 8befe68b authored tarafından Pedro Giffuni's avatar Pedro Giffuni

Add namespace extension: may reduce some warnings.

üst 0c339e81
......@@ -116,7 +116,7 @@ sal_Int32 getColumnTypeByModelName(const ::rtl::OUString& aModelName)
: aModelName.copy(aCompatibleModelPrefix.getLength());
const StringSequence& rColumnTypes = getColumnTypes();
nTypeId = ::detail::findPos(aColumnType, rColumnTypes);
nTypeId = ::forms_detail::findPos(aColumnType, rColumnTypes);
}
return nTypeId;
}
......
......@@ -374,7 +374,7 @@ void OGridControlModel::removeSelectionChangeListener(const Reference< XSelectio
Reference<XPropertySet> SAL_CALL OGridControlModel::createColumn(const ::rtl::OUString& ColumnType) throw ( :: com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
const Sequence< ::rtl::OUString >& rColumnTypes = frm::getColumnTypes();
return createColumn( detail::findPos( ColumnType, rColumnTypes ) );
return createColumn( forms_detail::findPos( ColumnType, rColumnTypes ) );
}
//------------------------------------------------------------------------------
......
......@@ -35,7 +35,7 @@
#include <algorithm>
namespace detail {
namespace forms_detail {
sal_Int32 findPos(
const ::rtl::OUString& aStr,
......
......@@ -30,7 +30,7 @@
namespace rtl { class OUString; }
namespace detail {
namespace forms_detail {
sal_Int32 findPos(
const ::rtl::OUString& aStr,
......
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