summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-30 08:41:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-30 09:26:00 +0200
commit889de665ec9d2ac25a9dccd4830cb97ed0c7c56e (patch)
treef98ed6e8215a39287248189841411e0edb0439c3 /chart2
parent291dcae246de9e32d9ca5926be463ad910c5bd1e (diff)
Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
Diffstat (limited to 'chart2')
-rw-r--r--chart2/Library_charttools.mk2
-rw-r--r--chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx2
-rw-r--r--chart2/source/controller/main/UndoCommandDispatch.cxx2
-rw-r--r--chart2/source/inc/ResourceManager.hxx (renamed from chart2/source/inc/RessourceManager.hxx)14
-rw-r--r--chart2/source/tools/ResId.cxx4
-rw-r--r--chart2/source/tools/ResourceManager.cxx (renamed from chart2/source/tools/RessourceManager.cxx)14
6 files changed, 19 insertions, 19 deletions
diff --git a/chart2/Library_charttools.mk b/chart2/Library_charttools.mk
index d38804d512ed..2e4eb6b6336f 100644
--- a/chart2/Library_charttools.mk
+++ b/chart2/Library_charttools.mk
@@ -105,7 +105,7 @@ $(eval $(call gb_Library_add_exception_objects,charttools,\
chart2/source/tools/RelativePositionHelper \
chart2/source/tools/RelativeSizeHelper \
chart2/source/tools/ResId \
- chart2/source/tools/RessourceManager \
+ chart2/source/tools/ResourceManager \
chart2/source/tools/Scaling \
chart2/source/tools/SceneProperties \
chart2/source/tools/_serviceregistration_tools \
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index e54339cbf880..e3c44018d4bb 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -1490,7 +1490,7 @@ void SAL_CALL ChartDocumentWrapper::setDelegator(
}
else
{
- // this is a sort of dispose() from the new model,so release ressources here
+ // this is a sort of dispose() from the new model,so release resources here
try
{
this->dispose();
diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx
index 6f0728ffd45e..24cfb507e9c2 100644
--- a/chart2/source/controller/main/UndoCommandDispatch.cxx
+++ b/chart2/source/controller/main/UndoCommandDispatch.cxx
@@ -29,7 +29,7 @@
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
-// for ressource strings STR_UNDO and STR_REDO
+// for resource strings STR_UNDO and STR_REDO
#include <svtools/svtools.hrc>
#include <svtools/svtresid.hxx>
diff --git a/chart2/source/inc/RessourceManager.hxx b/chart2/source/inc/ResourceManager.hxx
index 07a3bdfa8642..165946148c04 100644
--- a/chart2/source/inc/RessourceManager.hxx
+++ b/chart2/source/inc/ResourceManager.hxx
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef CHART2_RESSOURCEMANAGER_HXX
-#define CHART2_RESSOURCEMANAGER_HXX
+#ifndef CHART2_RESOURCEMANAGER_HXX
+#define CHART2_RESOURCEMANAGER_HXX
#include "charttoolsdllapi.hxx"
@@ -27,21 +27,21 @@ class ResMgr;
namespace chart
{
-class RessourceManager
+class ResourceManager
{
public:
- static ::ResMgr & getRessourceManager();
+ static ::ResMgr & getResourceManager();
private:
// not implemented -- avoid instantiation
- RessourceManager();
+ ResourceManager();
- static ::ResMgr * m_pRessourceManager;
+ static ::ResMgr * m_pResourceManager;
};
} // namespace chart
-// CHART2_RESSOURCEMANAGER_HXX
+// CHART2_RESOURCEMANAGER_HXX
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ResId.cxx b/chart2/source/tools/ResId.cxx
index be273d6a0f07..ed4c80e41c8f 100644
--- a/chart2/source/tools/ResId.cxx
+++ b/chart2/source/tools/ResId.cxx
@@ -19,14 +19,14 @@
#include "ResId.hxx"
-#include "RessourceManager.hxx"
+#include "ResourceManager.hxx"
#include <tools/string.hxx>
namespace chart
{
SchResId::SchResId( sal_Int16 nId )
- : ResId( nId, RessourceManager::getRessourceManager() )
+ : ResId( nId, ResourceManager::getResourceManager() )
{
}
diff --git a/chart2/source/tools/RessourceManager.cxx b/chart2/source/tools/ResourceManager.cxx
index 29a68ee96ccd..db7ea9d18dda 100644
--- a/chart2/source/tools/RessourceManager.cxx
+++ b/chart2/source/tools/ResourceManager.cxx
@@ -18,22 +18,22 @@
*/
-#include "RessourceManager.hxx"
+#include "ResourceManager.hxx"
#include <tools/resmgr.hxx>
namespace chart
{
-ResMgr * RessourceManager::m_pRessourceManager = 0;
+ResMgr * ResourceManager::m_pResourceManager = 0;
-ResMgr & RessourceManager::getRessourceManager()
+ResMgr & ResourceManager::getResourceManager()
{
// not threadsafe
- if( ! m_pRessourceManager )
- m_pRessourceManager = ResMgr::CreateResMgr("chartcontroller");
- OSL_ASSERT( m_pRessourceManager );
- return *m_pRessourceManager;
+ if( ! m_pResourceManager )
+ m_pResourceManager = ResMgr::CreateResMgr("chartcontroller");
+ OSL_ASSERT( m_pResourceManager );
+ return *m_pResourceManager;
}
} // namespace chart