summaryrefslogtreecommitdiff
path: root/vcl/aqua/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-23 18:22:55 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-04-24 12:22:27 +0300
commit129f91c334c14f6e2337a638a780af1194becd1b (patch)
tree82ad19314d7959f42eb89cf44099b7a26ee846ae /vcl/aqua/source
parent2c0731adc872a3ab73de929afcb5ee9c13417ca1 (diff)
WaE: unused functions
Diffstat (limited to 'vcl/aqua/source')
-rw-r--r--vcl/aqua/source/dtrans/DataFlavorMapping.cxx22
-rw-r--r--vcl/aqua/source/dtrans/DropTarget.cxx5
2 files changed, 0 insertions, 27 deletions
diff --git a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
index d0146f8be3f9..1f8595d1eea1 100644
--- a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
+++ b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
@@ -72,23 +72,6 @@ namespace // private
typedef vector<sal_Unicode> UnicodeBuffer;
- OUString NSStringToOUString(NSString* cfString)
- {
- BOOST_ASSERT(cfString && "Invalid parameter");
-
- const char* utf8Str = [cfString UTF8String];
- unsigned int len = rtl_str_getLength(utf8Str);
-
- return OUString(utf8Str, len, RTL_TEXTENCODING_UTF8);
- }
-
- NSString* OUStringToNSString(const OUString& ustring)
- {
- OString utf8Str = OUStringToOString(ustring, RTL_TEXTENCODING_UTF8);
- return [NSString stringWithCString: utf8Str.getStr() encoding: NSUTF8StringEncoding];
- }
-
-
NSString* PBTYPE_SODX = @"application/x-openoffice-objectdescriptor-xml;windows_formatname=\"Star Object Descriptor (XML)\"";
NSString* PBTYPE_SESX = @"application/x-openoffice-embed-source-xml;windows_formatname=\"Star Embed Source (XML)\"";
NSString* PBTYPE_SLSDX = @"application/x-openoffice-linksrcdescriptor-xml;windows_formatname=\"Star Link Source Descriptor (XML)\"";
@@ -170,11 +153,6 @@ namespace // private
return (theType == CPPUTYPE_SEQINT8);
}
- inline bool isOUStringType(const Type& theType)
- {
- return (theType == CPPUTYPE_OUSTRING);
- }
-
} // namespace private
diff --git a/vcl/aqua/source/dtrans/DropTarget.cxx b/vcl/aqua/source/dtrans/DropTarget.cxx
index 1a25ab75849b..bb46e21d6a83 100644
--- a/vcl/aqua/source/dtrans/DropTarget.cxx
+++ b/vcl/aqua/source/dtrans/DropTarget.cxx
@@ -85,11 +85,6 @@ namespace /* private */
{
rPoint.y = bounds.size.height - rPoint.y;
}
-
- inline void CocoaToVCL(NSRect& rRect, const NSRect& bounds)
- {
- rRect.origin.y = bounds.size.height - (rRect.origin.y + rRect.size.height);
- }
}