atkaction.cxx (9f62ea84) atkaction.cxx (24c56ab9)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 35 unchanged lines hidden (view full) ---

44static G_CONST_RETURN gchar *
45getAsConst( const rtl::OString& rString )
46{
47 static const int nMax = 10;
48 static rtl::OString aUgly[nMax];
49 static int nIdx = 0;
50 nIdx = (nIdx + 1) % nMax;
51 aUgly[nIdx] = rString;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 35 unchanged lines hidden (view full) ---

44static G_CONST_RETURN gchar *
45getAsConst( const rtl::OString& rString )
46{
47 static const int nMax = 10;
48 static rtl::OString aUgly[nMax];
49 static int nIdx = 0;
50 nIdx = (nIdx + 1) % nMax;
51 aUgly[nIdx] = rString;
52 return aUgly[ nIdx ];
52 return aUgly[ nIdx ].getStr();
53}
54
55static accessibility::XAccessibleAction*
56 getAction( AtkAction *action ) throw (uno::RuntimeException)
57{
58 AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( action );
59
60 if( pWrap )

--- 214 unchanged lines hidden ---
53}
54
55static accessibility::XAccessibleAction*
56 getAction( AtkAction *action ) throw (uno::RuntimeException)
57{
58 AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( action );
59
60 if( pWrap )

--- 214 unchanged lines hidden ---