Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9f2217fd
Kaydet (Commit)
9f2217fd
authored
May 14, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:passsequencebyref
Change-Id: I3a6656117b2d2aa9d9cdcadc53a804e963f805a7
üst
d459c364
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
printaccessoryview.mm
vcl/osx/printaccessoryview.mm
+8
-9
No files found.
vcl/osx/printaccessoryview.mm
Dosyayı görüntüle @
9f2217fd
...
@@ -446,12 +446,12 @@ class ControllerProperties
...
@@ -446,12 +446,12 @@ class ControllerProperties
}
}
};
};
static
void filterAccelerator( rtl::OUString& io_
rText )
static
OUString filterAccelerator( rtl::OUString const &
rText )
{
{
rtl::OUStringBuffer aBuf(
io_
rText.getLength() );
rtl::OUStringBuffer aBuf( rText.getLength() );
for( sal_Int32 nIndex = 0; nIndex != -1; )
for( sal_Int32 nIndex = 0; nIndex != -1; )
aBuf.append(
io_
rText.getToken( 0, '~', nIndex ) );
aBuf.append( rText.getToken( 0, '~', nIndex ) );
io_rText =
aBuf.makeStringAndClear();
return
aBuf.makeStringAndClear();
}
}
@implementation ControlTarget
@implementation ControlTarget
...
@@ -823,7 +823,7 @@ static void addBool( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
...
@@ -823,7 +823,7 @@ static void addBool( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
static void addRadio( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachOffset,
static void addRadio( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachOffset,
const rtl::OUString& rText,
const rtl::OUString& rText,
const rtl::OUString& rProperty, Sequence<
rtl::OUString >
rChoices, sal_Int32 nSelectValue,
const rtl::OUString& rProperty, Sequence<
rtl::OUString> const &
rChoices, sal_Int32 nSelectValue,
std::vector<ColumnItem >& rLeftColumn,
std::vector<ColumnItem >& rLeftColumn,
std::vector<ColumnItem >& rRightColumn,
std::vector<ColumnItem >& rRightColumn,
ControllerProperties* pControllerProperties,
ControllerProperties* pControllerProperties,
...
@@ -868,8 +868,7 @@ static void addRadio( NSView* pCurParent, long& rCurX, long& rCurY, long nAttach
...
@@ -868,8 +868,7 @@ static void addRadio( NSView* pCurParent, long& rCurX, long& rCurY, long nAttach
for( sal_Int32 m = 0; m < rChoices.getLength(); m++ )
for( sal_Int32 m = 0; m < rChoices.getLength(); m++ )
{
{
NSCell* pCell = [pCells objectAtIndex: m];
NSCell* pCell = [pCells objectAtIndex: m];
filterAccelerator( rChoices[m] );
linebreakCell( pCell, filterAccelerator( rChoices[m] ) );
linebreakCell( pCell, rChoices[m] );
// connect target and action
// connect target and action
[pCell setTarget: pCtrlTarget];
[pCell setTarget: pCtrlTarget];
[pCell setAction: @selector(triggered:)];
[pCell setAction: @selector(triggered:)];
...
@@ -898,7 +897,7 @@ static void addRadio( NSView* pCurParent, long& rCurX, long& rCurY, long nAttach
...
@@ -898,7 +897,7 @@ static void addRadio( NSView* pCurParent, long& rCurX, long& rCurY, long nAttach
static void addList( NSView* pCurParent, long& rCurX, long& rCurY, long /*nAttachOffset*/,
static void addList( NSView* pCurParent, long& rCurX, long& rCurY, long /*nAttachOffset*/,
const rtl::OUString& rText,
const rtl::OUString& rText,
const rtl::OUString& rProperty,
const Sequence< rtl::OUString >
rChoices, sal_Int32 nSelectValue,
const rtl::OUString& rProperty,
Sequence<rtl::OUString> const &
rChoices, sal_Int32 nSelectValue,
std::vector<ColumnItem >& rLeftColumn,
std::vector<ColumnItem >& rLeftColumn,
std::vector<ColumnItem >& rRightColumn,
std::vector<ColumnItem >& rRightColumn,
ControllerProperties* pControllerProperties,
ControllerProperties* pControllerProperties,
...
@@ -1184,7 +1183,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
...
@@ -1184,7 +1183,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Text")) )
if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Text")) )
{
{
rEntry.Value >>= aText;
rEntry.Value >>= aText;
filterAccelerator( aText );
aText =
filterAccelerator( aText );
}
}
else if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ControlType")) )
else if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ControlType")) )
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment