summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-07-29 14:16:05 +0300
committerStephan Bergmann <sbergman@redhat.com>2013-07-29 16:07:49 +0000
commit409d83a2fee9e170c5604707900d1d005ba9d513 (patch)
tree8de2652cb8b485aa264c74ca05ded2b351198837
parent2f2b3fff8997f9da14d64053afd19aa971e7829c (diff)
Avoid an unnecessary static initialisation
(cherry picked from commit 70f56860e4a9ee2a25abf64142a7f0ed4d446bfb) Change-Id: I204158ef6965cc9aa19c458f514e265ede8587f4 Reviewed-on: https://gerrit.libreoffice.org/5169 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--vcl/aqua/source/dtrans/DataFlavorMapping.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
index 7b5787149844..4d0718593cb0 100644
--- a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
+++ b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
@@ -47,8 +47,6 @@ using namespace std;
namespace // private
{
- const Type CPPUTYPE_SEQINT8 = getCppuType((Sequence<sal_Int8>*)0);
-
/* Determine whether or not a DataFlavor is valid.
*/
bool isValidFlavor(const DataFlavor& aFlavor)
@@ -546,7 +544,7 @@ DataFlavor DataFlavorMapper::systemToOpenOfficeFlavor(NSString* systemDataFlavor
{
oOOFlavor.MimeType = aTryFlavor;
oOOFlavor.HumanPresentableName = OUString();
- oOOFlavor.DataType = CPPUTYPE_SEQINT8;
+ oOOFlavor.DataType = getCppuType((Sequence<sal_Int8>*)0);
}
return oOOFlavor;