LibreOffice Module fpicker (master) 1
Functions | Variables
WinImplHelper.cxx File Reference
#include "WinImplHelper.hxx"
#include <vector>
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/uno/Sequence.hxx>
Include dependency graph for WinImplHelper.cxx:

Go to the source code of this file.

Functions

static void Replace (const OUString &aLabel, sal_Unicode OldChar, sal_Unicode NewChar, OUStringBuffer &aBuffer)
 
OUString SOfficeToWindowsLabel (const OUString &aSOLabel)
 
OUString WindowsToSOfficeLabel (const OUString &aWinLabel)
 

Variables

const sal_Unicode TILDE_SIGN = L'~'
 
const sal_Unicode AMPERSAND_SIGN = L'&'
 

Function Documentation

◆ Replace()

static void Replace ( const OUString &  aLabel,
sal_Unicode  OldChar,
sal_Unicode  NewChar,
OUStringBuffer &  aBuffer 
)
static

Definition at line 43 of file WinImplHelper.cxx.

References aBuffer, aLabel, and i.

Referenced by SOfficeToWindowsLabel(), and WindowsToSOfficeLabel().

◆ SOfficeToWindowsLabel()

OUString SOfficeToWindowsLabel ( const OUString &  aSOLabel)

Definition at line 104 of file WinImplHelper.cxx.

References aBuffer, AMPERSAND_SIGN, Replace(), and TILDE_SIGN.

Referenced by fpicker::win32::vista::setLabelToControl().

◆ WindowsToSOfficeLabel()

OUString WindowsToSOfficeLabel ( const OUString &  aWinLabel)

Definition at line 133 of file WinImplHelper.cxx.

References aBuffer, AMPERSAND_SIGN, Replace(), and TILDE_SIGN.

Variable Documentation

◆ AMPERSAND_SIGN

const sal_Unicode AMPERSAND_SIGN = L'&'

Definition at line 28 of file WinImplHelper.cxx.

Referenced by SOfficeToWindowsLabel(), and WindowsToSOfficeLabel().

◆ TILDE_SIGN

const sal_Unicode TILDE_SIGN = L'~'

Definition at line 27 of file WinImplHelper.cxx.

Referenced by SOfficeToWindowsLabel(), and WindowsToSOfficeLabel().