summaryrefslogtreecommitdiff
path: root/chart2/source/tools/MediaDescriptorHelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:21:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:23 +0100
commitacb7ca428382b8db42d7afcd79d72682aae0df8d (patch)
tree1a9c188c5bc6bc8043ccbb80ec906f6e3631add7 /chart2/source/tools/MediaDescriptorHelper.cxx
parent39ddeb53c04f7a8410a5146e2ce7b4acf204ad2b (diff)
chart2: Use appropriate OUString functions on string constants
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
Diffstat (limited to 'chart2/source/tools/MediaDescriptorHelper.cxx')
-rw-r--r--chart2/source/tools/MediaDescriptorHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/MediaDescriptorHelper.cxx b/chart2/source/tools/MediaDescriptorHelper.cxx
index 4ecf9bb83588..062c5f466164 100644
--- a/chart2/source/tools/MediaDescriptorHelper.cxx
+++ b/chart2/source/tools/MediaDescriptorHelper.cxx
@@ -28,7 +28,7 @@ const short FLAG_DEPRECATED =1;
const short FLAG_MODEL =2;
#define WRITE_PROPERTY( MediaName, nFlags ) \
-if(rProp.Name.equals(#MediaName)) \
+if(rProp.Name == #MediaName) \
{ \
if( rProp.Value >>= MediaName ) \
ISSET_##MediaName = true; \