summaryrefslogtreecommitdiffstats
path: root/reportdesign/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-05 22:41:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-06 08:04:22 +0100
commit4a8175ebeb58555e5d48df134cfaf128293888f1 (patch)
tree316963d1842bcf5ea16f489dc1c6d076fe9bb3c9 /reportdesign/source
parentA bit of constness. (diff)
downloadcore-4a8175ebeb58555e5d48df134cfaf128293888f1.tar.gz
core-4a8175ebeb58555e5d48df134cfaf128293888f1.zip
Get rid of DECLARE_STL_USTRINGACCESS_MAP
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
Diffstat (limited to 'reportdesign/source')
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.hxx6
-rw-r--r--reportdesign/source/ui/inc/FunctionHelper.hxx7
-rw-r--r--reportdesign/source/ui/inc/toolboxcontroller.hxx7
-rw-r--r--reportdesign/source/ui/report/ReportControllerObserver.cxx5
4 files changed, 15 insertions, 10 deletions
diff --git a/reportdesign/source/filter/xml/xmlfilter.hxx b/reportdesign/source/filter/xml/xmlfilter.hxx
index b31940d074ab..c41078481024 100644
--- a/reportdesign/source/filter/xml/xmlfilter.hxx
+++ b/reportdesign/source/filter/xml/xmlfilter.hxx
@@ -37,9 +37,9 @@
#include <unotools/localfilehelper.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <xmloff/xmlimp.hxx>
-#include <comphelper/stl_types.hxx>
#include <comphelper/sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
+#include <map>
#include <memory>
#include <boost/shared_ptr.hpp>
#include <xmloff/prhdlfac.hxx>
@@ -68,8 +68,8 @@ using namespace ::com::sun::star::xml::sax;
class ORptFilter : public SvXMLImport
{
public:
- DECLARE_STL_USTRINGACCESS_MAP(Sequence<PropertyValue>,TPropertyNameMap);
- DECLARE_STL_USTRINGACCESS_MAP( Reference<XFunction> ,TGroupFunctionMap);
+ typedef std::map< OUString, Sequence<PropertyValue> > TPropertyNameMap;
+ typedef std::map< OUString, Reference<XFunction> > TGroupFunctionMap;
private:
TGroupFunctionMap m_aFunctions;
diff --git a/reportdesign/source/ui/inc/FunctionHelper.hxx b/reportdesign/source/ui/inc/FunctionHelper.hxx
index bb9cb8531d05..2aba9c75a890 100644
--- a/reportdesign/source/ui/inc/FunctionHelper.hxx
+++ b/reportdesign/source/ui/inc/FunctionHelper.hxx
@@ -24,10 +24,9 @@
#include <com/sun/star/report/meta/XFunctionManager.hpp>
#include <com/sun/star/report/meta/XFunctionCategory.hpp>
#include <com/sun/star/report/meta/XFunctionDescription.hpp>
+#include <map>
#include <vector>
#include <boost/shared_ptr.hpp>
-#include <comphelper/stl_types.hxx>
-
namespace rptui
{
@@ -37,8 +36,8 @@ class FunctionDescription;
//============================================================================
class FunctionManager : public formula::IFunctionManager
{
- DECLARE_STL_USTRINGACCESS_MAP( ::boost::shared_ptr< FunctionDescription >, TFunctionsMap);
- DECLARE_STL_USTRINGACCESS_MAP( ::boost::shared_ptr< FunctionCategory > , TCategoriesMap);
+ typedef std::map< OUString, ::boost::shared_ptr< FunctionDescription > > TFunctionsMap;
+ typedef std::map< OUString, ::boost::shared_ptr< FunctionCategory > > TCategoriesMap;
::com::sun::star::uno::Reference< ::com::sun::star::report::meta::XFunctionManager> m_xMgr;
mutable TCategoriesMap m_aCategories;
mutable ::std::vector< TCategoriesMap::iterator > m_aCategoryIndex;
diff --git a/reportdesign/source/ui/inc/toolboxcontroller.hxx b/reportdesign/source/ui/inc/toolboxcontroller.hxx
index b58aea237dec..da962468ad7a 100644
--- a/reportdesign/source/ui/inc/toolboxcontroller.hxx
+++ b/reportdesign/source/ui/inc/toolboxcontroller.hxx
@@ -19,8 +19,11 @@
#ifndef RPTUI_TOOLBOXCONTROLLER_HXX
#define RPTUI_TOOLBOXCONTROLLER_HXX
+#include <sal/config.h>
+
+#include <map>
+
#include <svtools/toolboxcontroller.hxx>
-#include <comphelper/stl_types.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/XSubToolbarController.hpp>
@@ -37,7 +40,7 @@ namespace rptui
class OToolboxController : public ::svt::ToolboxController
,public TToolboxController_BASE
{
- DECLARE_STL_USTRINGACCESS_MAP(sal_Bool,TCommandState);
+ typedef std::map<OUString, sal_Bool> TCommandState;
TCommandState m_aStates;
TToolbarHelper m_pToolbarController;
sal_uInt16 m_nToolBoxId;
diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx b/reportdesign/source/ui/report/ReportControllerObserver.cxx
index cc9890eecb9c..a9688e45073f 100644
--- a/reportdesign/source/ui/report/ReportControllerObserver.cxx
+++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <map>
#include <ReportControllerObserver.hxx>
#include <ReportController.hxx>
@@ -39,7 +42,7 @@ namespace rptui
using namespace ::com::sun::star;
-DECLARE_STL_USTRINGACCESS_MAP(bool, AllProperties);
+typedef std::map<OUString, bool> AllProperties;
DECLARE_STL_STDKEY_MAP(uno::Reference< beans::XPropertySet >, AllProperties, PropertySetInfoCache);
class OXReportControllerObserverImpl