summaryrefslogtreecommitdiffstats
path: root/sc/inc/unitconv.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /sc/inc/unitconv.hxx
parentTypo in comment in resmgr.hxx (diff)
downloadcore-1946794ae09ba732022fe6a74ea45e304ab70b84.tar.gz
core-1946794ae09ba732022fe6a74ea45e304ab70b84.zip
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'sc/inc/unitconv.hxx')
-rw-r--r--sc/inc/unitconv.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/unitconv.hxx b/sc/inc/unitconv.hxx
index 6409f32eb292..56394cb82dbc 100644
--- a/sc/inc/unitconv.hxx
+++ b/sc/inc/unitconv.hxx
@@ -25,28 +25,28 @@
class ScUnitConverterData
{
- rtl::OUString maIndexString;
+ OUString maIndexString;
double mfValue;
// not implemented
ScUnitConverterData& operator=( const ScUnitConverterData& );
public:
- ScUnitConverterData( const rtl::OUString& rFromUnit,
- const rtl::OUString& rToUnit, double fValue = 1.0 );
+ ScUnitConverterData( const OUString& rFromUnit,
+ const OUString& rToUnit, double fValue = 1.0 );
ScUnitConverterData( const ScUnitConverterData& );
~ScUnitConverterData();
double GetValue() const;
- const rtl::OUString& GetIndexString() const;
+ const OUString& GetIndexString() const;
- static rtl::OUString BuildIndexString(
- const rtl::OUString& rFromUnit, const rtl::OUString& rToUnit );
+ static OUString BuildIndexString(
+ const OUString& rFromUnit, const OUString& rToUnit );
};
class ScUnitConverter : public boost::noncopyable
{
- typedef boost::ptr_map<rtl::OUString, ScUnitConverterData> MapType;
+ typedef boost::ptr_map<OUString, ScUnitConverterData> MapType;
MapType maData;
public:
@@ -54,7 +54,7 @@ public:
~ScUnitConverter();
bool GetValue(
- double& fValue, const rtl::OUString& rFromUnit, const rtl::OUString& rToUnit ) const;
+ double& fValue, const OUString& rFromUnit, const OUString& rToUnit ) const;
};